Changeset 15102
- Timestamp:
- Sep 28, 2007, 4:28:04 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryObjects.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryObjects.c
r15051 r15102 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-09-2 8 00:37:59$10 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-09-29 02:28:04 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 236 236 *results->xStats = *stats; 237 237 *results->yStats = *stats; 238 239 int nIter = stats->clipIter; 240 238 241 results->xStats->clipIter = 1; 239 242 results->yStats->clipIter = 1; … … 242 245 // we run 'clipIter' cycles clipping in each of x and y, with only one iteration each 243 246 // need to use the stats lookups functions to get the width and center 244 for (int i = 0; i < stats->clipIter; i++) {247 for (int i = 0; i < nIter; i++) { 245 248 psVectorClipFitPolynomial2D (map->x, results->xStats, mask, 0xff, x, wt, X, Y); 246 249 // psTrace ("psModules.astrom", 3, "x resid: %f +/- %f (%ld of %ld)\n", results->xStats->robustMedian, results->xStats->robustStdev, results->xStats->clippedNvalues, x->n); … … 583 586 584 587 # if 0 585 586 588 char line[16]; 587 589 psFits *fits = psFitsOpen ("grid.image.fits", "w");
Note:
See TracChangeset
for help on using the changeset viewer.
