Changeset 35449 for branches/eam_branches/ipp-20130419
- Timestamp:
- Apr 27, 2013, 1:11:37 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130419/pswarp
- Files:
-
- 5 edited
-
doc/notes.20130406.txt (modified) (1 diff)
-
src/pswarp.h (modified) (1 diff)
-
src/pswarpLoadAstrometry.c (modified) (3 diffs)
-
src/pswarpLoopSkycell.c (modified) (1 diff)
-
src/pswarpParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/doc/notes.20130406.txt
r35434 r35449 1 1 2 examin ging pswarp to handle inverse transformations or more general transformations:2 examining pswarp to handle inverse transformations or more general transformations: 3 3 4 4 pswarp: -
branches/eam_branches/ipp-20130419/pswarp/src/pswarp.h
r35434 r35449 94 94 bool pswarpDefineBackground (pmConfig *config); 95 95 bool pswarpLoop (pmConfig *config, psMetadata *stats); 96 bool pswarpLoopSkycell (pmConfig *config, psMetadata *stats); 96 97 bool pswarpLoopBackground (pmConfig *config, psMetadata *stats); 97 98 psExit pswarpExitCode(psExit exitValue); -
branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoadAstrometry.c
r35434 r35449 98 98 } 99 99 // for pswarpLocalFrame, I need transformations and HDUs on a single fpa (so set on astrom as well as target) 100 target->fpa->toTPA = psMemIncrRefCounter (astrom->fpa->toTPA);101 target->fpa->fromTPA = psMemIncrRefCounter (astrom->fpa->fromTPA);102 target->fpa->toSky = psMemIncrRefCounter (astrom->fpa->toSky);100 // target->fpa->toTPA = psMemIncrRefCounter (astrom->fpa->toTPA); 101 // target->fpa->fromTPA = psMemIncrRefCounter (astrom->fpa->fromTPA); 102 // target->fpa->toSky = psMemIncrRefCounter (astrom->fpa->toSky); 103 103 104 104 while ((chip = pmFPAviewNextChip (view, astrom->fpa, 1)) != NULL) { … … 126 126 } else { 127 127 // we use a default FPA pixel scale of 1.0 128 if (!pmAstromReadWCS( target->fpa, chip, hdu->header, 1.0)) {128 if (!pmAstromReadWCS(astrom->fpa, chip, hdu->header, 1.0)) { 129 129 psError(psErrorCodeLast(), false, "Unable to read WCS astrometry for skycell."); 130 130 psFree(view); … … 136 136 } 137 137 138 // for pswarpLocalFrame, I need transformations and HDUs on a single fpa (so set on astrom as well as target) 139 target->fpa->toTPA = psMemIncrRefCounter (astrom->fpa->toTPA); 140 target->fpa->fromTPA = psMemIncrRefCounter (astrom->fpa->fromTPA); 141 target->fpa->toSky = psMemIncrRefCounter (astrom->fpa->toSky); 142 138 143 // reset the type to the original value 139 144 astrom->type = saveType; -
branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoopSkycell.c
r35434 r35449 18 18 19 19 // Loop over the inputs, warp them to the output skycell and then write out the output. 20 bool pswarpLoop (pmConfig *config, psMetadata *stats)20 bool pswarpLoopSkycell(pmConfig *config, psMetadata *stats) 21 21 { 22 22 bool status; -
branches/eam_branches/ipp-20130419/pswarp/src/pswarpParseCamera.c
r35434 r35449 78 78 } 79 79 } 80 if ( (astrom->type != PM_FPA_FILE_CMF) && (astrom->type != PM_FPA_FILE_WCS)) {80 if (astrom && (astrom->type != PM_FPA_FILE_CMF) && (astrom->type != PM_FPA_FILE_WCS)) { 81 81 psLogMsg("pswarp", PS_LOG_INFO, "%s is neither CMF nor WCS", "PSWARP.ASTROM"); 82 82 }
Note:
See TracChangeset
for help on using the changeset viewer.
