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.html

Config options:

Parameters:

observations : ObservationList

Observations to analyse

config : dict

Config dict

Attributes Summary

spectrum_result SpectrumResult

Methods Summary

run([optimize_opts]) Run all steps.
run_extraction() Run all steps for the spectrum extraction.
run_fit([optimize_opts]) Run all step for the spectrum fit.

Attributes Documentation

spectrum_result

SpectrumResult

Methods Documentation

run(optimize_opts=None)[source]

Run all steps.

run_extraction()[source]

Run all steps for the spectrum extraction.

run_fit(optimize_opts=None)[source]

Run all step for the spectrum fit.