OverviewΒΆ

The following figure presents an overview over the classes of the model module and their relations.

../../../../_images/uml_model.png

Overview over the model module

The central C++ class of the model module is the abstract base class GModel which defines a model component. Two fundamental model types derive from this class: GModelSky which implements a model of a gamma-ray source, and GModelData which is an abstract base class for models that directly describe the event distribution in the data-space.

In general, models are parametric, and model parameters are implemented by GModelPar which derives from the abstract GOptimizerPar base class.

Model components are combined using the GModels container class.

Furthermore each model contains an association container, implemented by the GModelAssociations container class. Each association is represented by an instance of the GModelAssociation class.