SourceModel¶
-
class
gammapy.utils.modeling.SourceModel(source_name, source_type, spatial_model, spectral_model)[source]¶ Bases:
objectTODO: having “source_type” separate, but often inferred from the spatial model is weird. -> how to improve this?
Methods Summary
from_gammacat(source)from_xml_dict(data)to_xml()Methods Documentation