Delta2D¶
-
class
sherpa.models.basic.Delta2D(name='delta2d')[source]¶ Bases:
sherpa.models.model.ArithmeticModelTwo-dimensional delta function.
The model is only defined at a single point (or bin for integrated grids).
-
xpos¶ The coordinate of the signal on the x0 axis.
-
ypos¶ The coordinate of the signal on the x1 axis.
-
ampl¶ The amplitude.
Notes
The functional form of the model for points is:
f(x0, x1) = ampl if x0 == xpos and x1 == ypos = 0 otherwise
and for an integrated grid it is:
f(x0lo, x1lo, x0hi, x1hi) = ampl if x0lo <= xpos <= x0hi x1lo <= ypos <= x1hi = 0 otherwise
This behavior is different to how the amplitude is handled in other models, such as
Const2D.Attributes Summary
thawedparhardmaxesthawedparhardminsthawedparmaxesthawedparminsthawedparsMethods Summary
apply(outer, \*otherargs, \*\*otherkwargs)calc(\*args, \*\*kwargs)get_center()guess(dep, \*args, \*\*kwargs)reset()set_center(xpos, ypos, \*args, \*\*kwargs)startup()teardown()Attributes Documentation
-
thawedparhardmaxes¶
-
thawedparhardmins¶
-
thawedparmaxes¶
-
thawedparmins¶
-
thawedpars¶
Methods Documentation
-
apply(outer, *otherargs, **otherkwargs)¶
-
reset()¶
-
startup()¶
-
teardown()¶
-