IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2010, 7:04:57 AM (16 years ago)
Author:
eugene
Message:

replace pmReadoutMaskNonfinite with pmReadoutMaskInvalid (only masks unmasked nan pixels); call pmReadoutMaskInvalid before calling pmSubtractionMatchPrecalc (which now does not call pmSubtractionMaskInvalid)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/ppSub/src/ppSubSetMasks.c

    r26982 r29216  
    7777    }
    7878
    79     // Mask the NAN values
    80     if (!pmReadoutMaskNonfinite(inRO, satValue)) {
     79    // Mask the NAN values (USE BLANK instead of SAT?)
     80    if (!pmReadoutMaskInvalid(inRO, maskValue, satValue)) {
    8181        psError(PPSUB_ERR_DATA, false, "Unable to mask non-finite pixels in input.");
    8282        return false;
    8383    }
    84     if (!pmReadoutMaskNonfinite(refRO, satValue)) {
     84    if (!pmReadoutMaskInvalid(refRO, maskValue, satValue)) {
    8585        psError(PPSUB_ERR_DATA, false, "Unable to mask non-finite pixels in reference.");
    8686        return false;
    8787    }
    88 
    8988
    9089#if 0
Note: See TracChangeset for help on using the changeset viewer.