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:

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

SpectrumResult

Methods Documentation

run()[source]

Run all steps.

run_extraction()[source]

Run all steps for the spectrum extraction.

run_fit()[source]

Run all step for the spectrum fit.