IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 7, 2012, 10:06:48 AM (14 years ago)
Author:
eugene
Message:

when growing the CR mask, copy the values into the existing readout->mask array, otherwise we lose the association to source->maskView; mask a small region for sources that have already been detected (the exclusion radius is curretnly set to 4 pixels, and is not user-specified; deactivate some test code; saturate linear fit fluxes to min valid flux (probably superfluous); calls to psphotFitSourcesLinear in psphotReadout should skip negative fluxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120905/psphot/src/psphotFindDetections.c

    r34404 r34415  
    4545    psImageMaskType maskVal = psMetadataLookupImageMask(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels
    4646    psAssert (maskVal, "missing mask value?");
     47
     48    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
     49    psImageMaskType markVal = psMetadataLookupImageMask(&status, recipe, "MARK.PSPHOT"); // Mask value for bad pixels
     50    psAssert (markVal, "missing mark value?");
     51
     52    maskVal |= markVal;
    4753
    4854    // Use the new pmFootprints approach?
Note: See TracChangeset for help on using the changeset viewer.