1D Models#
Operations#
These models perform simple mathematical operations.
Const1Dmodel returns the constant replicated by the number of input x values.Multiplymodel multiples the input x values by a factor and propagates units if the factor is aQuantity.RedshiftScaleFactormodel multiples the input x values by a (1 + z) factor.Scalemodel multiples by a factor without changing the units of the result.Shiftmodel adds a constant to the input x values.
Shapes#
These models provide shapes, often used to model general x, y data.
Linear1Dmodel provides a line parameterizied by the slope and y-interceptSine1Dmodel provides a sine parameterized by an amplitude, frequency, and phase.Cosine1Dmodel provides a cosine parameterized by an amplitude, frequency, and phase.
Profiles#
These models provide profiles, often used for lines in spectra.
Box1Dmodel computes a box function with an amplitude centered at x_0 with the specified width.Gaussian1Dmodel computes a Gaussian with an amplitude centered at x_0 with the specified width.KingProjectedAnalytic1Dmodel computes the analytic form of the a King model with an amplitude and core and tidal radii.Lorentz1Dmodel computes a Lorentzian with an amplitude centered at x_0 with the specified width.RickerWavelet1Dmodel computes a RickerWavelet function with an amplitude centered at x_0 with the specified width.Moffat1Dmodel computes a Moffat function with an amplitude centered at x_0 with the specified width.Sersic1Dmodel computes a Sersic model with an amplitude with an effective radius and the specified sersic index.Trapezoid1Dmodel computes a box with sloping sides with an amplitude centered at x_0 with the specified width and sides with the specified slope.Voigt1Dmodel computes a Voigt function with an amplitude centered at x_0 with the specified Lorentzian and Gaussian widths.