Lorentz1D

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

Bases: astropy.modeling.functional_models.Lorentz1D

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

Attributes Summary

param_names

Methods Summary

sampleset([factor_step]) Return x array that samples the feature.

Attributes Documentation

param_names = ('amplitude', 'x_0', 'fwhm')

Methods Documentation

sampleset(factor_step=0.05, **kwargs)[source]

Return x array that samples the feature.

Parameters:
factor_step : float

Factor for sample step calculation. The step is calculated using factor_step * self.fwhm.

kwargs : dict

Keyword(s) for bounding_box calculation.