ConstantTemporalModel#

class gammapy.modeling.models.ConstantTemporalModel[source]#

Bases: TemporalModel

Constant temporal model.

For more information see Constant temporal model.

Attributes Summary

Methods Summary

evaluate(time)

Evaluate at given times.

integral(t_min, t_max)

Evaluate the integrated flux within the given time intervals.

Attributes Documentation

default_parameters = <gammapy.modeling.parameter.Parameters object>#
tag = ['ConstantTemporalModel', 'const']#

Methods Documentation

static evaluate(time)[source]#

Evaluate at given times.

integral(t_min, t_max)[source]#

Evaluate the integrated flux within the given time intervals.

Parameters:
t_minTime

Start times of observation.

t_maxTime

Stop times of observation.

Returns:
normQuantity

Integrated flux norm on the given time intervals.

__init__(**kwargs)#
classmethod __new__(*args, **kwargs)#