Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-786

DifferentialDetectorMap produces OutOfRangeError instead of NaN

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2DDRP-2021 A3

      Description

      rhl reports:

      detMap = DetectorMap.readFits("/projects/HSC/PFS/Subaru/CALIB-SuNSS/DETECTORMAP/pfsDetectorMap-046270-b1.fits")
      detMap.findPoint(3, 683.138)
      

      raises:

      OutOfRangeError: 
        File "src/GlobalDetectorModel.cc", line 209, in lsst::geom::Point2D pfs::drp::stella::GlobalDetectorModel::operator()(const Point2D&, std::size_t, bool) const
          xi,eta=(17.983522,2414.269953) fiberId,wavelength=((3, 683.138)) is out of range of Box2D(Point2D(11.3896, -2192.4), Extent2D(4079.86, 4384.8)) {0}
      lsst::pex::exceptions::OutOfRangeError: 'xi,eta=(17.983522,2414.269953) fiberId,wavelength=((3, 683.138)) is out of range of Box2D(Point2D(11.3896, -2192.4), Extent2D(4079.86, 4384.8))'
      

      The expected result is (NaN, NaN).

        Attachments

          Activity

            People

            • Assignee:
              price price
              Reporter:
              price price
              Reviewers:
              hassan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: