SpectrumAnalysisIACT¶
-
class
gammapy.scripts.SpectrumAnalysisIACT(observations, config)[source]¶ Bases:
objectHigh-level analysis class to perform a full 1D IACT spectral analysis.
Observation selection must have happened before.
Config options:
- outdir :
pathlib.Path, str Output folder, None means no output
- outdir :
- background : dict
Forwarded to
ReflectedRegionsBackgroundEstimator
- extraction : dict
Forwarded to
SpectrumExtraction
- fp_binning :
Quantity Flux points binning
- fp_binning :
Parameters: - observations :
Observations Observations to analyse
- config : dict
Config dict
Attributes Summary
spectrum_resultFluxPointsDatasetMethods Summary
run(self[, optimize_opts])Run all steps. run_extraction(self)Run all steps for the spectrum extraction. run_fit(self[, optimize_opts])Run all step for the spectrum fit. write(self, filename[, mode])Write to YAML file. Attributes Documentation
-
spectrum_result¶
Methods Documentation