Const2D

class sherpa.models.basic.Const2D(name='const2d')[source]

Bases: sherpa.models.basic.Const1D

A constant model for two-dimensional data.

c0

The amplitude of the model.

Notes

The functional form of the model for points is:

f(x0, x1) = ampl

and for an integrated grid it is:

f(x0lo, x1lo, x0hi, x1hi = ampl * (x0hi - x0lo)
                                * (x1hi - x1lo)

Attributes Summary

thawedparhardmaxes
thawedparhardmins
thawedparmaxes
thawedparmins
thawedpars

Methods Summary

apply(outer, \*otherargs, \*\*otherkwargs)
calc(\*args, \*\*kwargs)
get_center()
guess(dep, \*args, \*\*kwargs)
reset()
set_center(\*args, \*\*kwargs)
startup()
teardown()

Attributes Documentation

thawedparhardmaxes
thawedparhardmins
thawedparmaxes
thawedparmins
thawedpars

Methods Documentation

apply(outer, *otherargs, **otherkwargs)
calc(*args, **kwargs)[source]
get_center()
guess(dep, *args, **kwargs)
reset()
set_center(*args, **kwargs)
startup()
teardown()