IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 29, 2008, 2:16:50 PM (18 years ago)
Author:
eugene
Message:

moved peaks and footprints into detections; moving mask selections into recipe and called functions; dropping unused MODE flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080229/psphot/src/psphotApResid.c

    r15143 r16760  
    33# define SKIPSTAR(MSG) { psTrace ("psphot", 3, "invalid : %s", MSG); continue; }
    44// measure the aperture residual statistics and 2D variations
    5 bool psphotApResid (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf, psMaskType maskVal, psMaskType mark)
     5
     6bool psphotApResid (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf)
    67{
    78    int Nfail = 0;
     
    1920
    2021    psTimerStart ("psphot");
     22
     23    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
     24    psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels
     25    assert (maskVal);
     26
     27    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
     28    psMaskType mark = psMetadataLookupU8(&status, recipe, "MASK.MARK"); // Mask value for bad pixels
     29    assert (mark);
    2130
    2231    // S/N limit to perform full non-linear fits
Note: See TracChangeset for help on using the changeset viewer.