dessn.framework package
Submodules
dessn.framework.analytic_verification module
dessn.framework.bias_test module
-
dessn.framework.bias_test.
fit_colour_error
(names)[source]
-
dessn.framework.bias_test.
investigate_color
(sim_names)[source]
dessn.framework.fitter module
-
class
dessn.framework.fitter.
Fitter
(temp_dir)[source]
Bases: object
-
fit
(file)[source]
-
get_indexes_from_index
(index)[source]
-
get_num_jobs
()[source]
-
get_result_from_chain
(chain, simulation_index, model_index, cosmo_index, convert_names=True, max_deviation=2.5)[source]
-
is_laptop
()[source]
-
load
(split_models=True, split_sims=True, split_cosmo=False, convert_names=True, max_deviation=2.5, squeeze=True)[source]
-
load_file
(filename)[source]
-
run_fit
(model_index, simulation_index, cosmo_index, walker_index, num_cores=1)[source]
-
set_max_steps
(max_steps)[source]
-
set_models
(*models)[source]
-
set_num_cosmologies
(num_cosmologies)[source]
-
set_num_cpu
(num_cpu=None)[source]
-
set_num_walkers
(num_walkers)[source]
-
set_simulations
(*simulations)[source]
dessn.framework.simulation module
-
class
dessn.framework.simulation.
Simulation
[source]
Bases: abc.ABC
-
get_all_supernova
(n_sne, cosmology_index=0)[source]
-
get_approximate_correction
()[source]
-
get_name
()[source]
-
get_passed_supernova
(n_sne, cosmology_index=0)[source]
-
get_systematic_names
()[source]
-
get_truth_values
()[source]
-
get_truth_values_dict
()[source]