Box1D

class synphot.models.Box1D(amplitude=1, x_0=0, width=1, **kwargs)[source]

Bases: astropy.modeling.functional_models.Box1D

Same as astropy.modeling.functional_models.Box1D, except with sampleset defined.

Methods Summary

integrate(*args)

sampleset([step, minimal])

Return x array that samples the feature.

Methods Documentation

integrate(*args)[source]
sampleset(step=0.01, minimal=False)[source]

Return x array that samples the feature.

Parameters
stepfloat

Distance of first and last points w.r.t. bounding box.

minimalbool

Only return the minimal points needed to define the box; i.e., box edges and a point outside on each side.