Changeset 39784 for branches/czw_branch/20160809/psastro
- Timestamp:
- Oct 20, 2016, 5:47:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/psastro/src/psastroMosaicAstrom.c
r39755 r39784 56 56 } 57 57 58 // now fit the chips under the common distortion with higher-order terms 59 // first, re-perform the match with a slightly tighter circle 60 if (!psastroMosaicSetMatch (fpa, recipe, nIter)) { 61 psError(PSASTRO_ERR_UNKNOWN, false, "failed to match raw and ref stars for mosaic (4th pass)"); 62 return false; 63 } 64 if (!psastroMosaicChipAstrom (fpa, recipe, nIter)) { 65 psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure chip astrometry in mosaic mode (4th pass)"); 66 return false; 67 } 68 69 if (psTraceGetLevel("psastro.dump") > 0) { 58 59 for (int iter = 0; (iter < nIter); iter++) { 60 // now fit the chips under the common distortion with higher-order terms 61 // first, re-perform the match with a slightly tighter circle 62 if (!psastroMosaicSetMatch (fpa, recipe, iter)) { 63 psError(PSASTRO_ERR_UNKNOWN, false, "failed to match raw and ref stars for mosaic (4th pass %d)", iter); 64 return false; 65 } 66 if (!psastroMosaicChipAstrom (fpa, recipe, iter)) { 67 psError(PSASTRO_ERR_UNKNOWN, false, "failed to measure chip astrometry in mosaic mode (pass %d)", iter); 68 return false; 69 } 70 71 if (psTraceGetLevel("psastro.dump") > 0) { 70 72 // the last filename (see filenames in psastroMosaicFit) 71 73 char filename[256]; 72 74 snprintf (filename, 256, "%s.%d.dat", outroot, 2*nIter + 2); 73 75 psastroDumpMatches (fpa, filename); 74 } 75 76 } 77 } 78 76 79 // save WCS and analysis metadata in update header. 77 80 // (pull or create local view to entry on readout->analysis)
Note:
See TracChangeset
for help on using the changeset viewer.
