SkyModels

class gammapy.modeling.models.SkyModels(skymodels)[source]

Bases: object

Collection of SkyModel

Parameters:
skymodels : list of SkyModel

Sky models

Attributes Summary

frame
names Sky model names
parameters
skymodels

Methods Summary

evaluate(self, lon, lat, energy)
from_yaml(filename) Write to YAML file.
to_yaml(self, filename) Write to YAML file.

Attributes Documentation

frame = None
names

Sky model names

parameters
skymodels

Methods Documentation

evaluate(self, lon, lat, energy)[source]
classmethod from_yaml(filename)[source]

Write to YAML file.

to_yaml(self, filename)[source]

Write to YAML file.