Changeset 18435 for trunk/ppStack/src/ppStackReadout.c
- Timestamp:
- Jul 8, 2008, 9:51:39 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackReadout.c
r17633 r18435 9 9 10 10 #include "ppStack.h" 11 12 #define WCS_TOLERANCE 0.001 // Tolerance for WCS13 11 14 12 //#define REJECTION_FILES // Write rejection mask? … … 185 183 } 186 184 totExposure += exposure; // Total exposure time 187 188 #if 0189 if (i == 0) {190 // Copy astrometry over191 pmHDU *hdu = fpa->hdu; // Template HDU192 pmHDU *outHDU = outFPA->hdu; // Output HDU193 if (!outHDU || !hdu) {194 psWarning("Unable to find HDU at FPA level to copy astrometry.");195 } else {196 if (!pmAstromReadWCS(outFPA, outChip, hdu->header, 1.0)) {197 psErrorClear();198 psWarning("Unable to read WCS astrometry from input FPA.");199 } else {200 if (!outHDU->header) {201 outHDU->header = psMetadataAlloc();202 }203 if (!pmAstromWriteWCS(outHDU->header, outFPA, outChip, WCS_TOLERANCE)) {204 psErrorClear();205 psWarning("Unable to write WCS astrometry to output FPA.");206 }207 }208 }209 }210 #endif211 185 212 186 // Ensure there is a mask, or pmStackCombine will complain
Note:
See TracChangeset
for help on using the changeset viewer.
