Changeset 23719 for branches/pap/ppSub/src/ppSubReadoutSubtract.c
- Timestamp:
- Apr 6, 2009, 6:52:51 PM (17 years ago)
- Location:
- branches/pap/ppSub/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSubReadoutSubtract.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppSub/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppSubKernel 12 ppSubErrorCodes.h 13 ppSubErrorCodes.c
-
- Property svn:ignore
-
branches/pap/ppSub/src/ppSubReadoutSubtract.c
r23642 r23719 23 23 #define WCS_TOLERANCE 0.001 // Tolerance for WCS 24 24 25 bool ppSubReadoutSubtract(pmConfig *config , const pmFPAview *view)25 bool ppSubReadoutSubtract(pmConfig *config) 26 26 { 27 27 psAssert(config, "Require configuration"); 28 psAssert(view, "Require view");29 30 28 31 29 // Look up recipe values … … 35 33 36 34 bool reverse = psMetadataLookupBool(&mdok, config->arguments, "REVERSE"); // Reverse sense of subtraction? 35 36 pmFPAview *view = ppSubViewReadout(); // View to readout 37 37 38 38 // Subtraction is: minuend - subtrahend … … 91 91 psError(PS_ERR_UNKNOWN, false, "Unable to copy concepts from input to output."); 92 92 psFree(outRO); 93 psFree(view); 93 94 return false; 94 95 } … … 99 100 pmHDU *outHDU = outFPA->hdu; // Output HDU 100 101 pmChip *outChip = pmFPAfileThisChip(config->files, view, "PPSUB.OUTPUT"); // Output chip 102 psFree(view); 101 103 if (!outHDU || !inHDU) { 102 104 psError(PS_ERR_UNKNOWN, false, "Unable to find HDU at FPA level to copy astrometry.");
Note:
See TracChangeset
for help on using the changeset viewer.
