BackgroundModels

class gammapy.cube.models.BackgroundModels(models)[source]

Bases: gammapy.utils.fitting.Model

Background models.

Parameters:
models : list of BackgroundModel

List of background models.

Attributes Summary

models
parameters Parameters (Parameters)

Methods Summary

copy(self) A deep copy.
evaluate(self) Evaluate background models.
to_dict(self[, selection])
to_yaml(self, filename[, selection]) Write to yaml file.

Attributes Documentation

models
parameters

Parameters (Parameters)

Methods Documentation

copy(self)

A deep copy.

evaluate(self)[source]

Evaluate background models.

to_dict(self, selection='all')
to_yaml(self, filename, selection='all')[source]

Write to yaml file.