Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
test_rng.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_rng
 

Functions

 test_rng.generate_correlated (R, n_samples, rng)
 
 test_rng.summarize_case (name, R, n_samples=50000)
 
 test_rng.equicorrelation (n, rho)
 

Variables

 test_rng.rng = np.random.default_rng(42)
 
list test_rng.cases
 
list test_rng.all_summaries = []
 
dict test_rng.results = {}
 
 test_rng.y = data["y"]
 
 test_rng.L
 
 test_rng.sample_corr = data["sample_corr"]
 
 test_rng.err
 
 test_rng.means
 
 test_rng.stds
 
 test_rng.summary
 
 test_rng.name
 
 test_rng.R = data["R"]
 
 test_rng.n_samples
 
 test_rng.summary_df = pd.DataFrame(all_summaries).set_index("case")
 
 test_rng.df_corr = pd.DataFrame(results[name]["sample_corr"])
 
 test_rng.df_err = pd.DataFrame(results[name]["err"])
 
 test_rng.vmin
 
 test_rng.vmax
 
 test_rng.subset = y[:5000, :]
 
 test_rng.s
 
 test_rng.vals = y[:, 0]
 
 test_rng.bins
 
 test_rng.density
 
 test_rng.xs = np.linspace(vals.min(), vals.max(), 400)
 
tuple test_rng.pdf = (1.0 / sqrt(2 * pi)) * np.exp(-0.5 * xs * xs)