CompoundSkyModel¶
-
class
gammapy.cube.models.
CompoundSkyModel
(model1, model2, operator)[source]¶ Bases:
gammapy.cube.models.SkyModelBase
Represents the algebraic combination of two
SkyModel
Parameters: - model1, model2 :
SkyModel
Two sky models
- operator : callable
Binary operator to combine the models
Attributes Summary
parameters
Parameters ( 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 :