asgardpy.data.dl4 module¶
Main classes to define High-level Analysis Config and the Analysis Steps.
- class asgardpy.data.dl4.FitAnalysisStep(config, log=None, overwrite=True)[source]¶
Bases:
AnalysisStepBaseUsing the Fitting parameters as defined in the Config, with the given datasets perform the fit of the models to the updated list of datasets.
- tag = 'fit'¶
- pydantic model asgardpy.data.dl4.FitConfig[source]¶
Bases:
BaseConfigConfig section for parameters to use for Fit function.
- Fields:
-
field backend:
BackendEnum= BackendEnum.minuit¶
-
field fit_range:
EnergyRangeConfig= EnergyRangeConfig(min=<Quantity 1. GeV>, max=<Quantity 1. TeV>)¶
- class asgardpy.data.dl4.FluxPointsAnalysisStep(config, log=None, overwrite=True)[source]¶
Bases:
AnalysisStepBaseUsing the Flux Points Estimator parameters in the config, and the given datasets and instrument_spectral_info perform the Flux Points Estimation and store the result in a list of flux points for each dataset.
- tag = 'flux-points'¶
- pydantic model asgardpy.data.dl4.FluxPointsConfig[source]¶
Bases:
BaseConfigConfig section for parameters to use for FluxPointsEstimator function.
- Fields: