dessn.framework.simulations package

Submodules

dessn.framework.simulations.dispersion module

dessn.framework.simulations.dispersion.get_data(des=True, model='G10')[source]

dessn.framework.simulations.selection_effects module

dessn.framework.simulations.selection_effects.des_sel(cov_scale=1.0, shift=None, type='G10', kappa=0, zlim=None, version=None)[source]
dessn.framework.simulations.selection_effects.get_data(base, zlim=None)[source]
dessn.framework.simulations.selection_effects.get_ratio(base_folder, cut_mag=19.75, delta=0, zlim=None)[source]
dessn.framework.simulations.selection_effects.get_selection_effects_cdf(dump_npy, plot=False, cut_mag=19, kappa=0, zlim=None)[source]
dessn.framework.simulations.selection_effects.get_selection_effects_skewnorm(dump_npy, plot=False, cut_mag=10, kappa=0, zlim=None)[source]
dessn.framework.simulations.selection_effects.lowz_sel(cov_scale=1.0, shift=None, type='G10', kappa=0, zlim=None, version=None)[source]
dessn.framework.simulations.selection_effects.test_colour_contribution()[source]

dessn.framework.simulations.simple module

class dessn.framework.simulations.simple.SimpleSimulation(num_supernova, dscale=0.08, alpha_c=2, mass=True, num_nodes=4, lowz=False, min_prob_ia=0.9999999, disable_selection=False, kappa0=0.03, kappa1=0.03)[source]

Bases: dessn.framework.simulation.Simulation

get_all_supernova(n_sne, cosmology_index=0)[source]
get_approximate_correction()[source]
get_name()[source]
get_systematic_labels()[source]
get_systematic_names()[source]
get_truth_values()[source]

dessn.framework.simulations.snana module

class dessn.framework.simulations.snana.SNANASimulation(num_supernova, sim_name, num_nodes=4, use_sim=False, cov_scale=1.0, global_calib=13, shift=None, type='G10', kappa=0.0, bias_cor=True, zlim=None, add_pecv=True, add_disp=False)[source]

Bases: dessn.framework.simulation.Simulation

get_all_supernova(n_sne, cosmology_index=0)[source]
get_approximate_correction()[source]
get_bias_cor(des=True)[source]
get_correction(cov_scale=1.0)[source]
get_disp(des=True)[source]
get_name()[source]
get_passed_supernova(n_sne, cosmology_index=0)[source]
get_systematic_names()[source]
get_truth_values()[source]