Changeset 24862
- Timestamp:
- Jul 20, 2009, 2:39:58 PM (17 years ago)
- Location:
- trunk/ppSub/src
- Files:
-
- 1 added
- 1 deleted
- 5 edited
-
Makefile.am (modified) (1 diff)
-
ppSub.h (modified) (1 diff)
-
ppSubLoop.c (modified) (1 diff)
-
ppSubMatchPSFs.c (modified) (1 diff)
-
ppSubReadout.c (deleted)
-
ppSubReadoutSubtract.c (modified) (1 diff)
-
ppSubThreshold.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/Makefile.am
r24672 r24862 45 45 ppSubReadoutStats.c \ 46 46 ppSubReadoutSubtract.c \ 47 ppSubSetMasks.c 47 ppSubSetMasks.c \ 48 ppSubThreshold.c 48 49 49 50 ppSubKernel_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(PPSUB_CFLAGS) -
trunk/ppSub/src/ppSub.h
r24672 r24862 76 76 /// looking up the parameters in the recipe and supplying them to the function pmSubtractionMatch() 77 77 bool ppSubMatchPSFs(ppSubData *data ///< Processing data 78 ); 79 80 /// Threshold low pixels in image 81 bool ppSubLowThreshold(ppSubData *data ///< Processing data 78 82 ); 79 83 -
trunk/ppSub/src/ppSubLoop.c
r24672 r24862 62 62 if (!ppSubFilesIterateUp(config, PPSUB_FILES_INPUT)) { 63 63 psError(PPSUB_ERR_IO, false, "Unable to close input files."); 64 return false; 65 } 66 67 if (!ppSubLowThreshold(data)) { 68 psError(PS_ERR_UNKNOWN, false, "Unable to threshold images."); 64 69 return false; 65 70 } -
trunk/ppSub/src/ppSubMatchPSFs.c
r24833 r24862 18 18 #include <pslib.h> 19 19 #include <psmodules.h> 20 #include <psphot.h>21 20 22 21 #include "ppSub.h" -
trunk/ppSub/src/ppSubReadoutSubtract.c
r24155 r24862 44 44 subtrahend = pmFPAfileThisReadout(config->files, view, "PPSUB.REF.CONV"); 45 45 } 46 47 // XXX this should be replaced by SAVE options to the inConv and refConf pmFPAfiles48 #ifdef TESTING49 {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 #endif62 46 63 47 // Do the actual subtraction
Note:
See TracChangeset
for help on using the changeset viewer.
