IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2009, 2:39:58 PM (17 years ago)
Author:
Paul Price
Message:

Mask low pixels in the convolved images to avoid holes in subtrahend from creating positive sources in difference image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadoutSubtract.c

    r24155 r24862  
    4444        subtrahend = pmFPAfileThisReadout(config->files, view, "PPSUB.REF.CONV");
    4545    }
    46 
    47 // XXX this should be replaced by SAVE options to the inConv and refConf pmFPAfiles
    48 #ifdef TESTING
    49     {
    50         pmReadoutMaskApply(minuend, maskVal);
    51         psFits *fits = psFitsOpen("minuend.fits", "w");
    52         psFitsWriteImage(fits, NULL, minuend->image, 0, NULL);
    53         psFitsClose(fits);
    54     }
    55     {
    56         pmReadoutMaskApply(subtrahend, maskVal);
    57         psFits *fits = psFitsOpen("subtrahend.fits", "w");
    58         psFitsWriteImage(fits, NULL, subtrahend->image, 0, NULL);
    59             psFitsClose(fits);
    60     }
    61 #endif
    6246
    6347    // Do the actual subtraction
Note: See TracChangeset for help on using the changeset viewer.