Changeset 15246
- Timestamp:
- Oct 8, 2007, 8:53:46 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroMosaicAstrom.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroMosaicAstrom.c
r12806 r15246 80 80 if (psTraceGetLevel("psastro.dump") > 0) { psastroDumpMatches (fpa, "match.5.dat"); } 81 81 82 // do a third pass on the distortion with improved chip positions and rotations 83 // first, re-perform the match with a slightly tighter circle 84 if (!psastroMosaicSetMatch (fpa, recipe, 2)) { 85 psError(PSASTRO_ERR_UNKNOWN, false, "failed to match raw and ref stars for mosaic (3rd pass)"); 86 return false; 87 } 88 if (!psastroMosaicCommonScale (fpa, recipe)) { 89 psError(PSASTRO_ERR_UNKNOWN, false, "failed to set a common scale for the chips (3rd pass)"); 90 return false; 91 } 92 if (!psastroMosaicGradients (fpa, recipe)) { 93 psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure mosaic gradients (3rd pass)"); 94 return false; 95 } 96 if (psTraceGetLevel("psastro.dump") > 0) { psastroDumpMatches (fpa, "match.6.dat"); } 97 98 if (!psastroMosaicChipAstrom (fpa, recipe, 0)) { 99 psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure chip astrometry in mosaic mode (3rd pass)"); 100 return false; 101 } 102 if (psTraceGetLevel("psastro.dump") > 0) { psastroDumpMatches (fpa, "match.7.dat"); } 103 82 104 // now fit the chips under the common distortion with higher-order terms 83 105 // first, re-perform the match with a slightly tighter circle … … 90 112 return false; 91 113 } 92 if (psTraceGetLevel("psastro.dump") > 0) { psastroDumpMatches (fpa, "match. 6.dat"); }114 if (psTraceGetLevel("psastro.dump") > 0) { psastroDumpMatches (fpa, "match.8.dat"); } 93 115 94 116 // save WCS and analysis metadata in update header.
Note:
See TracChangeset
for help on using the changeset viewer.
