CompoundSkyModel¶
-
class
gammapy.cube.models.CompoundSkyModel(model1, model2, operator)[source]¶ Bases:
gammapy.cube.models.SkyModelBaseRepresents the algebraic combination of two
SkyModelParameters: - model1, model2 :
SkyModel Two sky models
- operator : callable
Binary operator to combine the models
Attributes Summary
parametersParameters ( Parameters)Methods Summary
__call__(lon, lat, energy)Call self as a function. copy()A deep copy. evaluate(lon, lat, energy)Evaluate the compound model at given points. Attributes Documentation
-
parameters¶ Parameters (
Parameters)
Methods Documentation
-
__call__(lon, lat, energy)¶ Call self as a function.
-
copy()¶ A deep copy.
- model1, model2 :