Changeset 25027 for branches/pap/ppSub/src/ppSubReadoutSubtract.c
- Timestamp:
- Aug 7, 2009, 4:08:25 PM (17 years ago)
- Location:
- branches/pap
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/ppSub
- Property svn:mergeinfo deleted
-
branches/pap/ppSub/src/ppSubReadoutSubtract.c
r23740 r25027 20 20 21 21 #include "ppSub.h" 22 23 #define WCS_TOLERANCE 0.001 // Tolerance for WCS24 22 25 23 bool ppSubReadoutSubtract(pmConfig *config) … … 46 44 subtrahend = pmFPAfileThisReadout(config->files, view, "PPSUB.REF.CONV"); 47 45 } 48 49 // XXX this should be replaced by SAVE options to the inConv and refConf pmFPAfiles50 #ifdef TESTING51 {52 pmReadoutMaskApply(minuend, maskVal);53 psFits *fits = psFitsOpen("minuend.fits", "w");54 psFitsWriteImage(fits, NULL, minuend->image, 0, NULL);55 psFitsClose(fits);56 }57 {58 pmReadoutMaskApply(subtrahend, maskVal);59 psFits *fits = psFitsOpen("subtrahend.fits", "w");60 psFitsWriteImage(fits, NULL, subtrahend->image, 0, NULL);61 psFitsClose(fits);62 }63 #endif64 46 65 47 // Do the actual subtraction
Note:
See TracChangeset
for help on using the changeset viewer.
