Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

SourceLibrary

class gammapy.utils.modeling.SourceLibrary(source_list)[source]

Bases: object

Methods Summary

from_list_of_dict(data)
from_xml(xml)
read(filename)
to_xml([title, header])

Methods Documentation

classmethod from_list_of_dict(data)[source]
classmethod from_xml(xml)[source]
classmethod read(filename)[source]
to_xml(title='sources', header='\n')[source]