SkyDiffuseCube¶
-
class
gammapy.cube.models.SkyDiffuseCube(map, norm=1, meta=None, interp_kwargs=None)[source]¶ Bases:
gammapy.cube.models.SkyModelBaseCube sky map template model (3D).
This is for a 3D map with an energy axis. Use
SkyDiffuseMapfor 2D maps.Parameters: map :
MapMap template
norm : float
Norm parameter (multiplied with map values)
meta : dict, optional
Meta information, meta[‘filename’] will be used for serialization
interp_kwargs : dict
Interpolation keyword arguments passed to
Map.interp_by_coord(). Default arguments are {‘interp’: ‘linear’, ‘fill_value’: 0}.Methods Summary
__call__(lon, lat, energy)Call self as a function. copy()A shallow copy evaluate(lon, lat, energy)Evaluate model. read(filename, **kwargs)Read map from FITS file. Methods Documentation
-
__call__(lon, lat, energy)¶ Call self as a function.
-