Changeset 23740 for trunk/ppSub/src/ppSubReadoutSubtract.c
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap merged: 23690,23704,23711,23719,23723,23730-23735
- Property svn:mergeinfo changed
-
trunk/ppSub
- Property svn:mergeinfo changed
/branches/pap/ppSub merged: 23704,23711,23719,23723,23730,23732-23734
- Property svn:mergeinfo changed
-
trunk/ppSub/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppSubKernel 12 ppSubErrorCodes.h 13 ppSubErrorCodes.c
-
- Property svn:ignore
-
trunk/ppSub/src/ppSubReadoutSubtract.c
r23642 r23740 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.
