- Timestamp:
- Sep 27, 2021, 8:16:29 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-dev-20210817/psastro/src/psastroMosaicOneChip.c
r39926 r41814 134 134 int astNstar = results->yStats->clippedNvalues; 135 135 136 // astStdev is the average 1D stdev of median residuals in arcsec ('results' are in FPA units = microns) 137 // the median residuals are calculated in a grid of N x N bins 138 float astStdev = 0.5*(results->xStdev + results->yStdev) * plateScale; 139 136 140 // if we clip away too many stars, the order may be invalid 137 141 if (order == 3) { minNstar = PS_MAX (15, minNstar); } … … 142 146 143 147 // XXX should these result in errors or be handled another way? 144 psLogMsg ("psastro", PS_LOG_INFO, "astrometry solution: error: %f arcsec, Nstars: %d", astError, astNstar); 148 // psLogMsg ("psastro", PS_LOG_INFO, "astrometry solution: error: %f arcsec, Nstars: %d", astError, astNstar); 149 psLogMsg ("psastro", PS_LOG_INFO, "astrometry solution: error: %f arcsec, Nstars: %d, stdev: %f arcsec", astError, astNstar, astStdev); 145 150 if ((maxError > 0) && (astError > maxError)) { 146 151 psLogMsg("psastro", PS_LOG_INFO, "residual error is too large, failed to find a solution: %f > %f", astError, maxError); … … 155 160 psMetadataAddF32 (updates, PS_LIST_TAIL, "PERROR", PS_META_REPLACE, "astrometry error (pixels)", pixError); 156 161 psMetadataAddF32 (updates, PS_LIST_TAIL, "CERROR", PS_META_REPLACE, "astrometry error (arcsec)", astError); 162 psMetadataAddF32 (updates, PS_LIST_TAIL, "CERSTD", PS_META_REPLACE, "astrometry stdev (arcsec)", astStdev); 157 163 if (validSolution) { 158 164 psMetadataAddF32 (updates, PS_LIST_TAIL, "CPRECISE", PS_META_REPLACE, "astrometry precision (arcsec)", astError/sqrt(astNstar));
Note:
See TracChangeset
for help on using the changeset viewer.
