- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ppSub/src
- Property svn:ignore
-
old new 13 13 ppSubErrorCodes.c 14 14 ppSubVersionDefinitions.h 15 ppSubConvolve
-
- Property svn:ignore
-
branches/simtest_nebulous_branches/ppSub/src/ppSubReadoutInverse.c
r24255 r27840 20 20 invRO->variance = psMemIncrRefCounter(outRO->variance); 21 21 invRO->covariance = psMemIncrRefCounter(outRO->covariance); 22 invRO->analysis = psMetadataCopy(invRO->analysis, outRO->analysis); 22 23 23 24 invRO->data_exists = invRO->parent->data_exists = invRO->parent->parent->data_exists = true; … … 34 35 pmHDU *invHDU = invFPA->hdu; // Inverse HDU 35 36 if (!pmAstromWriteWCS(invHDU->header, outFPA, outChip, WCS_TOLERANCE)) { 36 psError( PS_ERR_UNKNOWN, false, "Unable to write WCS astrometry to PPSUB.INVERSE.");37 psError(psErrorCodeLast(), false, "Unable to write WCS astrometry to PPSUB.INVERSE."); 37 38 return false; 38 39 } 39 40 // Read from newly written astrometry so that it exists in the "inverse" FPA (for sources) 40 41 if (!pmAstromReadWCS(invFPA, invChip, invHDU->header, 1.0)) { 41 psError( PS_ERR_UNKNOWN, false, "Unable to read WCS astrometry.");42 psError(psErrorCodeLast(), false, "Unable to read WCS astrometry."); 42 43 return false; 43 44 }
Note:
See TracChangeset
for help on using the changeset viewer.
