|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Functions | |
| generate_correlated (R, n_samples, rng) | |
| summarize_case (name, R, n_samples=50000) | |
| equicorrelation (n, rho) | |
Variables | |
| rng = np.random.default_rng(42) | |
| list | cases |
| list | all_summaries = [] |
| dict | results = {} |
| y = data["y"] | |
| L | |
| sample_corr = data["sample_corr"] | |
| err | |
| means | |
| stds | |
| summary | |
| name | |
| R = data["R"] | |
| n_samples | |
| summary_df = pd.DataFrame(all_summaries).set_index("case") | |
| df_corr = pd.DataFrame(results[name]["sample_corr"]) | |
| df_err = pd.DataFrame(results[name]["err"]) | |
| vmin | |
| vmax | |
| subset = y[:5000, :] | |
| s | |
| vals = y[:, 0] | |
| bins | |
| density | |
| xs = np.linspace(vals.min(), vals.max(), 400) | |
| tuple | pdf = (1.0 / sqrt(2 * pi)) * np.exp(-0.5 * xs * xs) |
| test_rng.equicorrelation | ( | n, | |
| rho | |||
| ) |
Definition at line 34 of file test_rng.py.
| test_rng.generate_correlated | ( | R, | |
| n_samples, | |||
| rng | |||
| ) |
Definition at line 9 of file test_rng.py.
| test_rng.summarize_case | ( | name, | |
| R, | |||
n_samples = 50000 |
|||
| ) |
Definition at line 16 of file test_rng.py.
| list test_rng.all_summaries = [] |
Definition at line 48 of file test_rng.py.
| test_rng.bins |
Definition at line 100 of file test_rng.py.
| list test_rng.cases |
Definition at line 39 of file test_rng.py.
| test_rng.density |
Definition at line 100 of file test_rng.py.
Definition at line 67 of file test_rng.py.
Definition at line 68 of file test_rng.py.
| test_rng.err |
Definition at line 52 of file test_rng.py.
| test_rng.L |
Definition at line 52 of file test_rng.py.
| test_rng.means |
Definition at line 52 of file test_rng.py.
| test_rng.n_samples |
Definition at line 52 of file test_rng.py.
| test_rng.name |
Definition at line 52 of file test_rng.py.
Definition at line 102 of file test_rng.py.
| test_rng.R = data["R"] |
Definition at line 52 of file test_rng.py.
| dict test_rng.results = {} |
Definition at line 49 of file test_rng.py.
| test_rng.rng = np.random.default_rng(42) |
Definition at line 7 of file test_rng.py.
| test_rng.s |
Definition at line 91 of file test_rng.py.
| test_rng.sample_corr = data["sample_corr"] |
Definition at line 52 of file test_rng.py.
| test_rng.stds |
Definition at line 52 of file test_rng.py.
| test_rng.subset = y[:5000, :] |
Definition at line 89 of file test_rng.py.
| test_rng.summary |
Definition at line 52 of file test_rng.py.
| test_rng.summary_df = pd.DataFrame(all_summaries).set_index("case") |
Definition at line 64 of file test_rng.py.
| test_rng.vals = y[:, 0] |
Definition at line 98 of file test_rng.py.
| test_rng.vmax |
Definition at line 76 of file test_rng.py.
| test_rng.vmin |
Definition at line 76 of file test_rng.py.
| test_rng.xs = np.linspace(vals.min(), vals.max(), 400) |
Definition at line 101 of file test_rng.py.
| test_rng.y = data["y"] |
Definition at line 52 of file test_rng.py.