Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9404

Possible wrong call for numpy percentiles

    Details

    • Type: Bug
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: obs_monocam
    • Labels:
      None
    • Templates:
    • Team:
      External

      Description

      Line 95 of monocamIsrTask.py reads

      quartiles = numpy.percentiles(ccdExposure.getMaskedImage().getImage().getArray(), [25.0, 75.0])
      

      Against my current stack, this should be numpy.percentile, i.e. without the plural on percentile. It's not clear whether this was always a bug in obs_monocam that was in code that just didn't fire for some reason (I think this is unlikely), or whether this is a numpy version problem, or some third option.

      Flagging as this is a potential future bug.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mfisherlevine Merlin Fisher-Levine
              Reviewers:
              John Swinbank
              Watchers:
              John Swinbank, Merlin Fisher-Levine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel