Feature #912
Updated by Martin Pierrick over 11 years ago
The context of this task is the extension of the gammalib to allow the analysis of data from Cherenkov telescopes in a way currently adopted by the HESS/VERITAS/MAGIC collaborations: the ON and OFF technique, which can be used in different ways. As a first step, we focus on the spectral analysis of a source observed in wobble mode, with the reflected region background evaluation method (see Berge et al. 2007).
As part of this effort, a code structure was proposed in which a background maker class prepares the ON and OFF data that are then used by a fitter class to produce the final results. There is an abstract interface for the fitter, and derived classes for each kind of analysis (such as spectral, morphological,...etc). The arithmetics and/or fit funtion specific to each analysis is/are defined in the fitter class, but the fit is done by calling a general external optimizer.
Draft headers for a GOnOffFitter abstract interface and for a GOnOffFitterSpectrum derived object are provided. They are very likely perfectible and the immediate objective is to refine the interface and fill in their functionalities during the coding sprint to be held in Toulouse on 24-28 June 2013.
The philosophy is explained in the comment section of each class header, which also contains a list of points to be clarified/discussed.
Note: a related wiki with some documentation is [[CTA_on-off_fitting]]
As part of this effort, a code structure was proposed in which a background maker class prepares the ON and OFF data that are then used by a fitter class to produce the final results. There is an abstract interface for the fitter, and derived classes for each kind of analysis (such as spectral, morphological,...etc). The arithmetics and/or fit funtion specific to each analysis is/are defined in the fitter class, but the fit is done by calling a general external optimizer.
Draft headers for a GOnOffFitter abstract interface and for a GOnOffFitterSpectrum derived object are provided. They are very likely perfectible and the immediate objective is to refine the interface and fill in their functionalities during the coding sprint to be held in Toulouse on 24-28 June 2013.
The philosophy is explained in the comment section of each class header, which also contains a list of points to be clarified/discussed.
Note: a related wiki with some documentation is [[CTA_on-off_fitting]]