IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13134


Ignore:
Timestamp:
May 2, 2007, 2:10:29 PM (19 years ago)
Author:
magnier
Message:

testing robust fit for clipped stats (needs more work)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryObjects.c

    r12838 r13134  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2007-04-17 19:39:04 $
     10*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2007-05-03 00:10:29 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    241241    // fit chip-to-FPA transformation
    242242    // we run 'clipIter' cycles clipping in each of x and y, with only one iteration each
     243    // need to use the stats lookups functions to get the width and center
    243244    for (int i = 0; i < stats->clipIter; i++) {
    244245        psVectorClipFitPolynomial2D (map->x, results->xStats, mask, 0xff, x, wt, X, Y);
     246        // psTrace ("psModules.astrom", 3, "x resid: %f +/- %f (%ld of %ld)\n", results->xStats->robustMedian, results->xStats->robustStdev, results->xStats->clippedNvalues, x->n);
    245247        psTrace ("psModules.astrom", 3, "x resid: %f +/- %f (%ld of %ld)\n", results->xStats->clippedMean, results->xStats->clippedStdev, results->xStats->clippedNvalues, x->n);
    246248
    247249        psVectorClipFitPolynomial2D (map->y, results->yStats, mask, 0xff, y, wt, X, Y);
     250        // psTrace ("psModules.astrom", 3, "y resid: %f +/- %f (%ld of %ld)\n", results->yStats->robustMedian, results->yStats->robustStdev, results->yStats->clippedNvalues, y->n);
    248251        psTrace ("psModules.astrom", 3, "y resid: %f +/- %f (%ld of %ld)\n", results->yStats->clippedMean, results->yStats->clippedStdev, results->yStats->clippedNvalues, y->n);
    249252    }
Note: See TracChangeset for help on using the changeset viewer.