Skip to content

Update curve_fit example in the quick tour for correct covariance #14

Open

Description

@taldcroft

The scipy curve_fit sigma parameter is not what astronomers think, and internally it is always normalized to a mean of 1.0 before computing the covariance. There is a way to rescale the covariance to get the actual parameter uncertainty estimates as shown here:

scipy/scipy#448

Activity

  1. astrofrog commented on Jun 16, 2013

    @astrofrog
    Member

    Thanks :) I should have directly opened an issue, but was too much in </rant>mode earlier... I can submit a fix later this week unless someone beats me to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions