IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 12, 2005, 10:38:25 AM (21 years ago)
Author:
gusciora
Message:

....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmSubtractBias.c

    r4770 r4997  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-08-16 01:10:34 $
     8 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-09-12 20:38:25 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    187187        myPoly = (psPolynomial1D *) fitSpec;
    188188        PS_ASSERT_POLY_NON_NULL(myPoly, NULL);
    189         myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL);
     189        myPoly = psVectorFitPolynomial1D(myPoly, NULL, 0, overscanVector, NULL, NULL);
    190190        if (myPoly == NULL) {
    191             psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector(): Could not fit a polynomial to the psVector.\n");
     191            psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector()(1): Could not fit a polynomial to the psVector.\n");
    192192            return(NULL);
    193193        }
     
    215215        mySpline = psVectorFitSpline1D(mySpline, NULL, overscanVector, NULL);
    216216        if (mySpline == NULL) {
    217             psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector(): Could not fit a spline to the psVector.\n");
     217            psError(PS_ERR_UNKNOWN, false, "ScaleOverscanVector()(2): Could not fit a spline to the psVector.\n");
    218218            return(NULL);
    219219        }
     
    550550            if (fit == PM_FIT_POLYNOMIAL) {
    551551                myPoly = (psPolynomial1D *) fitSpec;
    552                 myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL);
     552                myPoly = psVectorFitPolynomial1D(myPoly, NULL, 0, overscanVector, NULL, NULL);
    553553                if (myPoly == NULL) {
    554                     psError(PS_ERR_UNKNOWN, false, "Could not fit a polynomial to overscan vector.  Returning in image.\n");
     554                    psError(PS_ERR_UNKNOWN, false, "(3) Could not fit a polynomial to overscan vector.  Returning in image.\n");
    555555                    psFree(overscanVector);
    556556                    return(in);
Note: See TracChangeset for help on using the changeset viewer.