[AstroPy] Modelling with weights

Thomas Marsh t.r.marsh at warwick.ac.uk
Fri Sep 8 05:54:28 EDT 2017


Hello,


I am interested in using astropy.modeling. Am I right in thinking that in
the case of least squares, the usual inverse variance weights for chi**2
minimisation would be obtained by setting weights = 1/(standard deviation)
rather than 1/(variance)? (I deduced this from the code for LevMarLSQFitter
and my understanding of scipy.optimize.leastsq)


Cheers,


Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20170908/cbdc3fc2/attachment.html>


More information about the AstroPy mailing list