Changeset 13165 for trunk/psastro/src/psastroOneChip.c
- Timestamp:
- May 2, 2007, 3:00:32 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroOneChip.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroOneChip.c
r12806 r13165 88 88 // XXX allow statitic to be set by the user 89 89 psStats *fitStats = psStatsAlloc (PS_STAT_CLIPPED_MEAN | PS_STAT_CLIPPED_STDEV); 90 // psStats *fitStats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV); 90 91 fitStats->clipSigma = psMetadataLookupF32 (&status, recipe, "PSASTRO.CHIP.NSIGMA"); 91 92 fitStats->clipIter = psMetadataLookupS32 (&status, recipe, "PSASTRO.CHIP.NITER"); … … 107 108 // pixError is the average 1D scatter in pixels ('results' are in FPA units = microns) 108 109 float pixError = 0.5*(results->xStats->clippedStdev + results->yStats->clippedStdev) / pixelScale; 110 // float pixError = 0.5*(results->xStats->robustStdev + results->yStats->robustStdev) / pixelScale; 109 111 110 112 // astError is the average 1D scatter in arcsec ('results' are in FPA units = microns) 111 113 float astError = 0.5*(results->xStats->clippedStdev + results->yStats->clippedStdev) * plateScale; 114 // float astError = 0.5*(results->xStats->robustStdev + results->yStats->robustStdev) * plateScale; 112 115 int astNstar = results->yStats->clippedNvalues; 113 116 … … 144 147 psastroDumpRawstars (rawstars, fpa, chip); 145 148 } 149 if (psTraceGetLevel("psastro.dump") > 0) { 150 psastroDumpStars (refstars, "refstars.cal.dat"); 151 } 146 152 147 153 if (psTraceGetLevel("psastro.plot") > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
