Skip to content

Commit

Permalink
last pep8 issues fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
mlefkir committed Sep 2, 2024
1 parent 29ab236 commit ce34d01
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion stingray/modeling/gpmodeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def run_prior_checks(
approximate_with="SHO",
):
"""Check the approximation of the power spectrum density.
This function will plot various diagnostics on the residuals and the ratio
This function will plot various diagnostics on the residuals and the ratio
of the PSD and the approximate PSD.
Parameters
Expand Down
29 changes: 15 additions & 14 deletions stingray/modeling/tests/test_gpmodeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
import numpy as np
import matplotlib.pyplot as plt

from stingray.modeling.gpmodeling import (
get_kernel,
get_mean,
get_gp_params,
_psd_model,
get_psd_and_approx,
run_prior_checks,
_get_coefficients_approximation,
get_prior,
get_log_likelihood,
GPResult,
get_priors_samples,
)
from stingray import Lightcurve

try:
import jax
import jax.numpy as jnp
Expand All @@ -22,20 +37,6 @@
except ImportError:
_HAS_TINYGP = False

from stingray.modeling.gpmodeling import (
get_kernel,
get_mean,
get_gp_params,
_psd_model,
get_psd_and_approx,
run_prior_checks,
_get_coefficients_approximation,
get_prior,
get_log_likelihood,
GPResult,
get_priors_samples,
)
from stingray import Lightcurve

try:
import tensorflow_probability.substrates.jax as tfp
Expand Down

0 comments on commit ce34d01

Please sign in to comment.