Changeset 39699
- Timestamp:
- Sep 15, 2016, 3:14:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/psastro/src/psastroMosaicAstrom.c
r39686 r39699 44 44 if (!status) psAbort ("missing config value"); 45 45 46 // XXX if projection is not TAN, fit the measured projection here and combine toTPA/fromTPA functions 46 // if projection is not TAN, fit the measured projection here and combine toTPA/fromTPA functions 47 bool fitMosaicDistortion = true; 47 48 if ((fpa->toSky->type != PS_PROJ_TAN) && (fpa->toSky->type != PS_PROJ_DIS)) { 48 49 if (!psastroProjectionRefit (fpa, recipe)) psAbort ("failed to refit distortion"); 50 fitMosaicDistortion = false; 49 51 } 50 52 51 53 // this should be in a loop with nIter = 52 for (int iter = 0; iter < nIter; iter++) {54 for (int iter = 0; fitMosaicDistortion && (iter < nIter); iter++) { 53 55 if (!psastroMosaicFit (fpa, recipe, outroot, iter)) return false; 54 56 }
Note:
See TracChangeset
for help on using the changeset viewer.
