estimate_line_parameters¶
- specutils.fitting.estimate_line_parameters(spectrum, model, region=None)[source]¶
The input
model
parameters will be estimated from the inputspectrum
. Themodel
can be specified with default parameters, for exampleGaussian1D()
.- Parameters:
- spectrum
Spectrum1D
The spectrum object from which we will estimate the model parameters.
- model
Model
Model for which we want to estimate parameters from the spectrum.
- spectrum
- Returns:
- model
Model
Model with parameters estimated.
- model