SpectrumAnalysisIACT¶
-
class
gammapy.scripts.
SpectrumAnalysisIACT
(observations, config)[source]¶ Bases:
object
High-level analysis class to perform a full 1D IACT spectral analysis.
Observation selection must have happened before.
For a usage example see spectrum_pipe.ipynb.
Config options:
- outdir :
Path
, str Output folder, None means no output
- outdir :
- background : dict
Forwarded to
ReflectedRegionsBackgroundEstimator
- extraction : dict
Forwarded to
SpectrumExtraction
- fit : dict
Forwareded to
SpectrumFit
- fp_binning :
Quantity
Flux points binning
- fp_binning :
Parameters: observations :
ObservationList
Observations to analyse
config : dict
Config dict
Attributes Summary
spectrum_result
SpectrumResult
Methods Summary
run
()Run all steps. run_extraction
()Run all steps for the spectrum extraction. run_fit
()Run all step for the spectrum fit. Attributes Documentation
-
spectrum_result
¶
Methods Documentation