IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 2, 2008, 9:05:09 AM (18 years ago)
Author:
eugene
Message:

fit vs raw FP coordinate

File:
1 edited

Legend:

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

    r15591 r19305  
    77*  @author EAM, IfA
    88*
    9 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2007-11-12 21:58:17 $
     9*  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2008-09-02 19:05:09 $
    1111*
    1212*  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    9898                pmAstromObj *ref = refstars->data[match->ref];
    9999
    100                 L->data.F32[Npts] = ref->FP->x;
    101                 M->data.F32[Npts] = ref->FP->y;
     100                L->data.F32[Npts] = raw->FP->x;
     101                M->data.F32[Npts] = raw->FP->y;
    102102
    103103                // P,Q = L,M + terms of order epsilon.
     
    126126            grad = pmAstromGradientAlloc ();
    127127
     128            // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 7);
     129
    128130            // fit the collection of positions and offsets with a local 1st order gradient
    129131            // apply 3hi/3lo sigma clipping to the fitted data values
     
    135137            grad->dTPdL.x = local->coeff[1][0];
    136138            grad->dTPdM.x = local->coeff[0][1];
     139
     140            // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 0);
    137141
    138142            // fit the collection of positions and offsets with a local 1st order gradient
Note: See TracChangeset for help on using the changeset viewer.