EnergyDependentMorphologyEstimator#
- class gammapy.estimators.EnergyDependentMorphologyEstimator(energy_edges, source=0, fit=None)[source]#
Bases:
Estimator
Test if there is any energy-dependent morphology in a map dataset for a given set of energy bins.
- Parameters:
Examples
For a usage example see Morphological energy dependence estimation tutorial.
Attributes Summary
Configuration parameters.
Methods Summary
copy
()Copy estimator.
estimate_energy_dependence
(datasets)Estimate the potential of energy-dependent morphology.
run
(datasets)Run the energy-dependence estimator.
Attributes Documentation
- config_parameters#
Configuration parameters.
- selection_optional#
- tag = 'EnergyDependentMorphologyEstimator'#
Methods Documentation
- copy()#
Copy estimator.
- estimate_energy_dependence(datasets)[source]#
Estimate the potential of energy-dependent morphology.
- Parameters:
- datasets
Datasets
Input datasets to use.
- datasets
- Returns:
- results
dict
Dictionary with results of the energy-dependence test. Entries are:
“delta_ts” : difference in ts between fitting each energy band individually (sliced fit) and the joint fit
“df” : the degrees of freedom between fitting each energy band individually (sliced fit) and the joint fit
“result” : the results for the fitting each energy band individually (sliced fit) and the joint fit
- results