pisa.stages.cont_sys package
Submodules
pisa.stages.cont_sys.snowstorm_hist module
PISA stage to apply detector systematics to snowstorm simulation by splitting and histogramming the simulation set. The method is based on this paper: https://arxiv.org/pdf/1909.01530
- class pisa.stages.cont_sys.snowstorm_hist.snowstorm_hist(systematics, simulation_dists, simulation_dists_params, additional_params=None, **std_kwargs)[source]
Bases:
StageService to apply detector systematics through splitting and histogramming of snowstorm simulation.
- Expected container keys are:
“weights” All detector systematics that should be used
- Parameters:
systematics (list of str) – List of the systematic parameters.
simulation_dists (list of str) – The distribution of the systematic parameter in the snowstorm simulation. Has to be either ‘gauss’ or ‘uniform’.
simulation_dists_params (list of tuples of floats) – Parameters of the simulation distributions. (mean, std) for ‘gauss’ and (min, max) for ‘uniform’.
additional_params (list of str) – Parameters that are no detector systematics but if changed require a re-calculation of the gradients (e.g. osc params).
params (ParamSet) – Note that the params required to be in params are those listed in systematics plus those listed in additional_params.
- central_values
Central values of the systematic parameters in the snowstorm set.
- grads
Place to store gradients to save computing time.