Uploaded image for project: '1D Redmine '
  1. 1D Redmine
  2. REDMINE1D-851

[RM-9549] redshift accuracy: add a warning when the Gaussian fit on the peak of the zPDF is failling

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Normal
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Created on 2025-02-28 09:22:26 by Didier Vibert. % Done: 0

      to derive the redshift accuracy we fit a Gaussian on the Pdf around the local maxima. In fact we fit the second derivative of the log Pdf which can then be converted to the sigma of the Gaussian.

      The interval used to compute this fit starts with a fixed number of samples on the logPdf and we iterate by dividing the sample number by 2 if the estimated second derivative has a bad sign, due to the shape of the peak. After a maximum of 2 iterations, if the problem persists, the estimated delta_z is forced to be 1E-3 without any warning.

      We should issue a dedicated warning in this case.

        Attachments

          Activity

            People

            • Assignee:
              r2j.migrate Redmine-Jira Migtation
              Reporter:
              r2j.migrate Redmine-Jira Migtation
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: