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

Possible wrong call for numpy percentiles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_monocam
    • Labels:
      None
    • 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

          Issue Links

            Activity

            Hide
            swinbank John Swinbank added a comment -

            Setting team to "External" since we are not supporting Monocam within DM.

            Show
            swinbank John Swinbank added a comment - Setting team to "External" since we are not supporting Monocam within DM.
            Hide
            swinbank John Swinbank added a comment -

            And “Won't Fix”, because obs_monocam is long obsolete.

            Show
            swinbank John Swinbank added a comment - And “Won't Fix”, because obs_monocam is long obsolete.

              People

              Assignee:
              Unassigned 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:
                Resolved:

                  Jenkins

                  No builds found.