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

make FiberTrace::extractFromProfile complain about NaNs or to deal with them

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Won't Fix (View Workflow)
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2

      Description

      Currently FiberTrace::extractFromProfile crashes with the message CFits::GCF: ERROR: a too large, ITMAX too small in GCF if NaN s are present in the image, as can happen after the ISR task if the pixels are saturated (maybe Cosmics, too?). Please make the error message more telling, check for Nan s before running the procedure, and make it complain about or fix the problem. Originally the procedure ignored pixels which were masked as 0 while 1 meant a good pixel. I'm not sure how much of that is left.
      CFits:: is definitely a remnant from old times and should be replaced with the actual namespace . In general all the debug messages
      {{ #ifdef _DEBUG_EXTRACTFROMPROFILE__
      cout << "message << endl;
      #endif }}
      should be replaced with LSST::log messages, but this also part of ticket PIPE2D-165.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aritter aritter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: