|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Classes | |
| class | DistSpec |
Functions | |
| LikelihoodMarginalConfig | make_likelihood_cfg () |
| float | _safe_float (x) |
| np.ndarray | _grid_from_ppf (dist, lo=0.001, hi=0.999, n=600) |
| np.ndarray | _pdf (dist, np.ndarray xs) |
| np.ndarray | _cdf (dist, np.ndarray xs) |
| Tuple[np.ndarray, np.ndarray] | _ecdf (np.ndarray samples) |
| None | plot_pdf_vs_samples (str name, dist, np.ndarray xs, np.ndarray samples, Optional[str] outpath=None) |
| None | plot_cdf_theory_vs_empirical (str name, dist, np.ndarray xs, np.ndarray samples, Optional[str] outpath=None) |
| None | plot_global_cdf_ppf_consistency (List[DistSpec] specs, int seed, Optional[str] outpath=None) |
| None | main (bool show=True, Optional[str] outdir="marginal_plots", int seed=123, int n_samples=3500) |
Variables | |
| show | |
| True | |
| outdir | |
| seed | |
| n_samples | |
|
protected |
Definition at line 61 of file example_plot_marginal.py.
|
protected |
Definition at line 65 of file example_plot_marginal.py.
|
protected |
Grille x basée sur des quantiles (robuste et adapté à la distrib).
Definition at line 43 of file example_plot_marginal.py.
|
protected |
Definition at line 56 of file example_plot_marginal.py.
|
protected |
Definition at line 36 of file example_plot_marginal.py.
| None example_plot_marginal.main | ( | bool | show = True, |
| Optional[str] | outdir = "marginal_plots", |
||
| int | seed = 123, |
||
| int | n_samples = 3500 |
||
| ) |
Definition at line 173 of file example_plot_marginal.py.
| LikelihoodMarginalConfig example_plot_marginal.make_likelihood_cfg | ( | ) |
Likelihood synthétique (mélange de 2 gaussiennes) sur une grille.
Definition at line 21 of file example_plot_marginal.py.
| None example_plot_marginal.plot_cdf_theory_vs_empirical | ( | str | name, |
| dist, | |||
| np.ndarray | xs, | ||
| np.ndarray | samples, | ||
| Optional[str] | outpath = None |
||
| ) |
Definition at line 109 of file example_plot_marginal.py.
| None example_plot_marginal.plot_global_cdf_ppf_consistency | ( | List[DistSpec] | specs, |
| int | seed, | ||
| Optional[str] | outpath = None |
||
| ) |
Definition at line 141 of file example_plot_marginal.py.
| None example_plot_marginal.plot_pdf_vs_samples | ( | str | name, |
| dist, | |||
| np.ndarray | xs, | ||
| np.ndarray | samples, | ||
| Optional[str] | outpath = None |
||
| ) |
Definition at line 71 of file example_plot_marginal.py.
| example_plot_marginal.n_samples |
Definition at line 214 of file example_plot_marginal.py.
| example_plot_marginal.outdir |
Definition at line 214 of file example_plot_marginal.py.
| example_plot_marginal.seed |
Definition at line 214 of file example_plot_marginal.py.
| example_plot_marginal.show |
Definition at line 214 of file example_plot_marginal.py.
| example_plot_marginal.True |
Definition at line 214 of file example_plot_marginal.py.