- Timestamp:
- Nov 17, 2009, 7:59:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091113/psastro/src/psastroOneChipFit.c
r26167 r26168 28 28 REQUIRED_RECIPE_VALUE (int nIter, "PSASTRO.MATCH.FIT.NITER", S32); 29 29 30 // for iterations >= uniqIter, require a single match per reference 31 REQUIRED_RECIPE_VALUE (int uniqIter, "PSASTRO.MATCH.UNIQ.ITER", S32); 32 30 33 // correct radius to FP units (physical pixel scale in microns per pixel) 31 34 REQUIRED_RECIPE_VALUE (double pixelScale, "PSASTRO.PIXEL.SCALE", F32); … … 61 64 return false; 62 65 } 66 67 if (iter >= uniqIter) { 68 if (!pmAstromRadiusMatchUniq (rawstars, refstars, match)) { 69 psLogMsg ("psastro", 3, "failed to generate a uniq find radius-matched sources\n"); 70 return false; 71 } 72 } 63 73 64 74 // modify the order to correspond to the actual number of matched stars: … … 101 111 } 102 112 103 // XXX allow stati tic to be set by the user113 // XXX allow statistic to be set by the user 104 114 // fitStats = psStatsAlloc (PS_STAT_CLIPPED_MEAN | PS_STAT_CLIPPED_STDEV); 105 115 fitStats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);
Note:
See TracChangeset
for help on using the changeset viewer.
