estimate_line_parameters

specutils.fitting.estimate_line_parameters(spectrum, model)[source]

The input model parameters will be estimated from the input spectrum. The model can be specified with default parameters, for example Gaussian1D().

Parameters
spectrumSpectrum1D

The spectrum object from which we will estimate the model parameters.

modelModel

Model for which we want to estimate parameters from the spectrum.

Returns
modelModel

Model with parameters estimated.