Skip to content

Commit ce34d01

Browse files
committed
last pep8 issues fixed?
1 parent 29ab236 commit ce34d01

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

stingray/modeling/gpmodeling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def run_prior_checks(
288288
approximate_with="SHO",
289289
):
290290
"""Check the approximation of the power spectrum density.
291-
This function will plot various diagnostics on the residuals and the ratio
291+
This function will plot various diagnostics on the residuals and the ratio
292292
of the PSD and the approximate PSD.
293293
294294
Parameters

stingray/modeling/tests/test_gpmodeling.py

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
import numpy as np
44
import matplotlib.pyplot as plt
55

6+
from stingray.modeling.gpmodeling import (
7+
get_kernel,
8+
get_mean,
9+
get_gp_params,
10+
_psd_model,
11+
get_psd_and_approx,
12+
run_prior_checks,
13+
_get_coefficients_approximation,
14+
get_prior,
15+
get_log_likelihood,
16+
GPResult,
17+
get_priors_samples,
18+
)
19+
from stingray import Lightcurve
20+
621
try:
722
import jax
823
import jax.numpy as jnp
@@ -22,20 +37,6 @@
2237
except ImportError:
2338
_HAS_TINYGP = False
2439

25-
from stingray.modeling.gpmodeling import (
26-
get_kernel,
27-
get_mean,
28-
get_gp_params,
29-
_psd_model,
30-
get_psd_and_approx,
31-
run_prior_checks,
32-
_get_coefficients_approximation,
33-
get_prior,
34-
get_log_likelihood,
35-
GPResult,
36-
get_priors_samples,
37-
)
38-
from stingray import Lightcurve
3940

4041
try:
4142
import tensorflow_probability.substrates.jax as tfp

0 commit comments

Comments
 (0)