Box1D¶
- class synphot.models.Box1D(*args, **kwargs)[source]¶
Bases:
Box1D
Same as
astropy.modeling.functional_models.Box1D
, except withsampleset
defined.- Parameters:
- stepfloat
Distance of first and last points w.r.t. bounding box. In default units (nominally Angstrom). Defaults to 0.01
Methods Summary
integrate
(*args)sampleset
([step, minimal])Return
x
array that samples the feature.Methods Documentation
- sampleset(step=None, minimal=False)[source]¶
Return
x
array that samples the feature.- Parameters:
- stepfloat, optional
Distance of first and last points w.r.t. bounding box. If None, set to attribute
step
.- minimalbool
Only return the minimal points needed to define the box; i.e., box edges and a point outside on each side.