[AstroPy] astropy.modeling.fitting.LevMarLSQFitter
Eric L. N. Jensen
ejensen1 at swarthmore.edu
Thu Nov 1 11:55:04 EDT 2018
Hi Jon,
> On Nov 1, 2018, at 11:24 AM, Jonathan Loveday <j.loveday at sussex.ac.uk> wrote:
>
>
> 2. Is there an easy away to obtain the fitted chi^2, other than calculating it oneself from the returned fitting function? Presumably it must be calculated internally.
This requires one more step to compute the chi^2, but it gets you pretty close from what the returned info is providing:
https://stackoverflow.com/questions/14854339/in-scipy-how-and-why-does-curve-fit-calculate-the-covariance-of-the-parameter-es/17508924#17508924
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2354 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/astropy/attachments/20181101/3c3b17f4/attachment.bin>
More information about the AstroPy
mailing list