Changeset 31671 for trunk/psModules/src/astrom/pmAstrometryObjects.c
- Timestamp:
- Jun 22, 2011, 12:50:35 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryObjects.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryObjects.c
r31153 r31671 996 996 newStat->center = center; 997 997 998 if (isfinite(newStat->minMetric) && (newStat->minMetric > 0.0) && (newStat-> minMetric < minStat->minMetric)) {998 if (isfinite(newStat->minMetric) && (newStat->minMetric > 0.0) && (newStat->nSigma >= minSigma) && (newStat->minMetric < minStat->minMetric)) { 999 999 *minStat = *newStat; 1000 1000 psLogMsg ("psModule.astrom", 4, "grid test - offset: %7.2f,%7.2f @ %6.1f deg x %7.3f (%4d pts, %5.1f sig, %5.1f var, %6.3f log metric) *", … … 1080 1080 psVector *xHistNew = psVectorSmooth(NULL, xHist, tweakSmooth, tweakNsigma); 1081 1081 psVector *yHistNew = psVectorSmooth(NULL, yHist, tweakSmooth, tweakNsigma); 1082 1083 // if we failed to smooth, just use the original vector (probably too narrow a range) 1084 if (!xHistNew) xHistNew = psMemIncrRefCounter (xHist); 1085 if (!yHistNew) yHistNew = psMemIncrRefCounter (yHist); 1082 1086 1083 1087 // select peak in x and in y
Note:
See TracChangeset
for help on using the changeset viewer.
