IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2006, 4:49:07 PM (20 years ago)
Author:
magnier
Message:

changed polynomials to work with pslib.0.10.0 defs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/objects/pmPSFtry.c

    r6378 r6440  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.3.4.4 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-02-08 06:13:39 $
     7 *  @version $Revision: 1.3.4.5 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-02-17 02:49:07 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    210210    // fit ApTrend only to r2rflux, ignore x,y,flux variations for now
    211211    // linear clipped fit of ApResid to r2rflux
    212     psPolynomial1D *poly = psPolynomial1DAlloc (1, PS_POLYNOMIAL_ORD);
     212    psPolynomial1D *poly = psPolynomial1DAlloc (PS_POLYNOMIAL_ORD, 1);
    213213    poly = psVectorClipFitPolynomial1D (poly, stats, psfTry->mask, PSFTRY_MASK_ALL, psfTry->metric, NULL, r2rflux);
    214214    psLogMsg ("pmPSFtryMetric", 4, "fit stats: %f +/- %f\n", stats->sampleMedian, stats->sampleStdev);
Note: See TracChangeset for help on using the changeset viewer.