Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
example_plot_jointdistrib Namespace Reference

Functions

None ensure_dir (str path)
 
Matrix ar1_corr (int d, float rho)
 
Any make_likelihood_cfg ()
 
float _safe_float (x)
 
Tuple[np.ndarray, np.ndarray] ecdf (np.ndarray samples)
 
np.ndarray gaussianize (np.ndarray U)
 
np.ndarray spearman_corr (np.ndarray U)
 
None plot_hist_pdf (np.ndarray samples, dist, str name, str outpath)
 
None plot_cdf_ecdf (np.ndarray samples, dist, str name, str outpath)
 
None plot_uniformity (np.ndarray u, str name, str outpath)
 
None plot_hist2d (np.ndarray u1, np.ndarray u2, str title, str outpath)
 
None plot_heatmap (np.ndarray M, str title, str outpath)
 
None plot_joint_density_2d (jd, np.ndarray X, str title, str outpath, int grid=120)
 
None main (str outdir="joint_plots", int seed=123, int n=15000, str copula_kind="GAUSSIAN", int nu=6, float rho=0.65)
 

Variables

 outdir
 
 seed
 
 n
 
 copula_kind
 
 nu
 
 rho
 

Function Documentation

◆ _safe_float()

float example_plot_jointdistrib._safe_float (   x)
protected

Definition at line 52 of file example_plot_jointdistrib.py.

◆ ar1_corr()

Matrix example_plot_jointdistrib.ar1_corr ( int  d,
float  rho 
)

Definition at line 38 of file example_plot_jointdistrib.py.

◆ ecdf()

Tuple[np.ndarray, np.ndarray] example_plot_jointdistrib.ecdf ( np.ndarray  samples)

Definition at line 59 of file example_plot_jointdistrib.py.

◆ ensure_dir()

None example_plot_jointdistrib.ensure_dir ( str  path)

Definition at line 34 of file example_plot_jointdistrib.py.

◆ gaussianize()

np.ndarray example_plot_jointdistrib.gaussianize ( np.ndarray  U)

Definition at line 65 of file example_plot_jointdistrib.py.

◆ main()

None example_plot_jointdistrib.main ( str   outdir = "joint_plots",
int   seed = 123,
int   n = 15000,
str   copula_kind = "GAUSSIAN",
int   nu = 6,
float   rho = 0.65 
)

Definition at line 222 of file example_plot_jointdistrib.py.

◆ make_likelihood_cfg()

Any example_plot_jointdistrib.make_likelihood_cfg ( )

Definition at line 45 of file example_plot_jointdistrib.py.

◆ plot_cdf_ecdf()

None example_plot_jointdistrib.plot_cdf_ecdf ( np.ndarray  samples,
  dist,
str  name,
str  outpath 
)

Definition at line 109 of file example_plot_jointdistrib.py.

◆ plot_heatmap()

None example_plot_jointdistrib.plot_heatmap ( np.ndarray  M,
str  title,
str  outpath 
)

Definition at line 171 of file example_plot_jointdistrib.py.

◆ plot_hist2d()

None example_plot_jointdistrib.plot_hist2d ( np.ndarray  u1,
np.ndarray  u2,
str  title,
str  outpath 
)

Definition at line 155 of file example_plot_jointdistrib.py.

◆ plot_hist_pdf()

None example_plot_jointdistrib.plot_hist_pdf ( np.ndarray  samples,
  dist,
str  name,
str  outpath 
)

Definition at line 81 of file example_plot_jointdistrib.py.

◆ plot_joint_density_2d()

None example_plot_jointdistrib.plot_joint_density_2d (   jd,
np.ndarray  X,
str  title,
str  outpath,
int   grid = 120 
)

Definition at line 189 of file example_plot_jointdistrib.py.

◆ plot_uniformity()

None example_plot_jointdistrib.plot_uniformity ( np.ndarray  u,
str  name,
str  outpath 
)

Definition at line 138 of file example_plot_jointdistrib.py.

◆ spearman_corr()

np.ndarray example_plot_jointdistrib.spearman_corr ( np.ndarray  U)

Definition at line 73 of file example_plot_jointdistrib.py.

Variable Documentation

◆ copula_kind

example_plot_jointdistrib.copula_kind

Definition at line 329 of file example_plot_jointdistrib.py.

◆ n

example_plot_jointdistrib.n

Definition at line 328 of file example_plot_jointdistrib.py.

◆ nu

example_plot_jointdistrib.nu

Definition at line 330 of file example_plot_jointdistrib.py.

◆ outdir

example_plot_jointdistrib.outdir

Definition at line 326 of file example_plot_jointdistrib.py.

◆ rho

example_plot_jointdistrib.rho

Definition at line 331 of file example_plot_jointdistrib.py.

◆ seed

example_plot_jointdistrib.seed

Definition at line 327 of file example_plot_jointdistrib.py.