|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Functions | |
| np.ndarray | equicorr (int n, float rho) |
| np.ndarray | load_matrix_txt (Path path) |
| str | matrix_to_stdin_payload (np.ndarray R) |
| None | compile_cpp_if_needed (Path bin_path, Path cpp_path) |
| np.ndarray | run_cpp_once (Path bin_path, np.ndarray R, str dist="gaussian", int seed=None) |
| np.ndarray | sample_many (Path bin_path, np.ndarray R, int n_samples, int seed_base, str dist="gaussian") |
| Dict[str, float] | compute_stats (np.ndarray Y, np.ndarray R) |
| plot_case (Path save_dir, str name, np.ndarray Y, np.ndarray R) | |
| List[Tuple[str, np.ndarray]] | build_cases (args) |
| main () | |
| List[Tuple[str, np.ndarray]] test_real_cpp_rng.build_cases | ( | args | ) |
Definition at line 143 of file test_real_cpp_rng.py.
| None test_real_cpp_rng.compile_cpp_if_needed | ( | Path | bin_path, |
| Path | cpp_path | ||
| ) |
Definition at line 40 of file test_real_cpp_rng.py.
| Dict[str, float] test_real_cpp_rng.compute_stats | ( | np.ndarray | Y, |
| np.ndarray | R | ||
| ) |
Definition at line 84 of file test_real_cpp_rng.py.
| np.ndarray test_real_cpp_rng.equicorr | ( | int | n, |
| float | rho | ||
| ) |
Definition at line 16 of file test_real_cpp_rng.py.
| np.ndarray test_real_cpp_rng.load_matrix_txt | ( | Path | path | ) |
Definition at line 22 of file test_real_cpp_rng.py.
| test_real_cpp_rng.main | ( | ) |
Definition at line 171 of file test_real_cpp_rng.py.
| str test_real_cpp_rng.matrix_to_stdin_payload | ( | np.ndarray | R | ) |
Definition at line 31 of file test_real_cpp_rng.py.
| test_real_cpp_rng.plot_case | ( | Path | save_dir, |
| str | name, | ||
| np.ndarray | Y, | ||
| np.ndarray | R | ||
| ) |
Definition at line 99 of file test_real_cpp_rng.py.
| np.ndarray test_real_cpp_rng.run_cpp_once | ( | Path | bin_path, |
| np.ndarray | R, | ||
| str | dist = "gaussian", |
||
| int | seed = None |
||
| ) |
Definition at line 58 of file test_real_cpp_rng.py.
| np.ndarray test_real_cpp_rng.sample_many | ( | Path | bin_path, |
| np.ndarray | R, | ||
| int | n_samples, | ||
| int | seed_base, | ||
| str | dist = "gaussian" |
||
| ) |
Appelle le binaire n_samples fois (seed = seed_base + i) et empile les réalisations.
Definition at line 75 of file test_real_cpp_rng.py.