File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 33import numpy as np
44import 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+
621try :
722 import jax
823 import jax .numpy as jnp
2237except 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
4041try :
4142 import tensorflow_probability .substrates .jax as tfp
You can’t perform that action at this time.
0 commit comments