2
$\begingroup$

enter image description here

So I am using Astropy's basic models.Gaussian1D model and a fitter = fitting.LevMarLSQfitter() to fit 3 Gaussian pulses with some added random noise. The fit is good, but when I type

fitter.fit_info, according to documentation here, it should automatically calculate covariance matrix and add it to the fit_info, but it doesn't, fit_info['param_cov'] is simply None. What is going on?

$\endgroup$
  • 1
    $\begingroup$ Does this code shed any light? $\endgroup$ – Mike G Jul 18 '19 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.