IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3027


Ignore:
Timestamp:
Jan 17, 2005, 1:25:10 PM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.c

    r3000 r3027  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-01-14 23:27:55 $
     10 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-01-17 23:25:09 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    567567        }
    568568    }
    569     printf("Hmmm, returning NULL\n");
     569
     570    // XXX: Print warning here?
    570571    return (NULL);
    571572}
  • trunk/psLib/src/dataManip/psFunctions.c

    r3026 r3027  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.82 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-17 22:17:29 $
     9 *  @version $Revision: 1.83 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-01-17 23:25:09 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    344344    for (i=0;i<myPoly->n;i++) {
    345345        tmp+= (myPoly->coeff[i] * psPolynomial1DEval(x, chebPolys[i]));
    346         //            printf("HMMM: psPolynomial1DEval(%f, chebPolys[%d]) is %f\n", x, i, psPolynomial1DEval(x, chebPolys[i]));
    347346    }
    348347    tmp-= (myPoly->coeff[0]/2.0);
  • trunk/psLib/src/dataManip/psMinimize.c

    r3026 r3027  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-17 22:17:29 $
     11 *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-01-17 23:25:09 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    280280    // If x==NULL, create an x32 vector with x values set to (0:n).
    281281    if (x == NULL) {
    282 
    283282        PS_VECTOR_GEN_X_INDEX_STATIC_F32(x32Static, y->n);
    284283        x32 = x32Static;
     
    294293        This can not be implemented until SDR states what order spline should be
    295294        created.
    296 
     295        Should we error if mySpline is not NULL?
    297296        Should we error if mySPline is not NULL?
    298297    */
     
    302301    PS_PTR_CHECK_NULL(mySpline, NULL);
    303302    PS_INT_CHECK_NON_NEGATIVE(mySpline->n, NULL);
    304 
    305303
    306304    if (y32->n != (1 + mySpline->n)) {
  • trunk/psLib/src/image/psImageStats.c

    r2807 r3027  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.62 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-23 19:14:15 $
     11 *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-01-17 23:25:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    300300/*****************************************************************************
    301301psImageFitPolynomial(): This routine takes as input a 2-D image and produces
    302 as output the coefficients of the Chebyshev polynomials which match that
    303 input image.
     302as output the coefficients of the Chebyshev polynomials which match that input
     303image.  This is a TEST version of the code.  It is not used by anything.
    304304  Input:
    305305  Output:
     
    359359            //            nodes->data.F64[x][y] = psImagePixelInterpolate(input, yNode, xNode, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR);
    360360            //            nodes->data.F64[x][y] = psImagePixelInterpolate(input, yTmp, xTmp, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR);
    361             printf("HMMMM: (xOrig, yOrig) is (%f, %f)\n", xOrig, yOrig);
    362361            nodes->data.F64[x][y] = psImagePixelInterpolate(input, yOrig, xOrig, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR);
    363             printf("HMMMM: interpolated pixel [%d][%d] is %f, should be %f\n", x, y, nodes->data.F64[x][y], input->data.F32[x][y]);
    364362        }
    365363    }
  • trunk/psLib/src/imageops/psImageStats.c

    r2807 r3027  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.62 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-23 19:14:15 $
     11 *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-01-17 23:25:10 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    300300/*****************************************************************************
    301301psImageFitPolynomial(): This routine takes as input a 2-D image and produces
    302 as output the coefficients of the Chebyshev polynomials which match that
    303 input image.
     302as output the coefficients of the Chebyshev polynomials which match that input
     303image.  This is a TEST version of the code.  It is not used by anything.
    304304  Input:
    305305  Output:
     
    359359            //            nodes->data.F64[x][y] = psImagePixelInterpolate(input, yNode, xNode, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR);
    360360            //            nodes->data.F64[x][y] = psImagePixelInterpolate(input, yTmp, xTmp, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR);
    361             printf("HMMMM: (xOrig, yOrig) is (%f, %f)\n", xOrig, yOrig);
    362361            nodes->data.F64[x][y] = psImagePixelInterpolate(input, yOrig, xOrig, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR);
    363             printf("HMMMM: interpolated pixel [%d][%d] is %f, should be %f\n", x, y, nodes->data.F64[x][y], input->data.F32[x][y]);
    364362        }
    365363    }
  • trunk/psLib/src/math/psMinimize.c

    r3026 r3027  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-17 22:17:29 $
     11 *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-01-17 23:25:09 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    280280    // If x==NULL, create an x32 vector with x values set to (0:n).
    281281    if (x == NULL) {
    282 
    283282        PS_VECTOR_GEN_X_INDEX_STATIC_F32(x32Static, y->n);
    284283        x32 = x32Static;
     
    294293        This can not be implemented until SDR states what order spline should be
    295294        created.
    296 
     295        Should we error if mySpline is not NULL?
    297296        Should we error if mySPline is not NULL?
    298297    */
     
    302301    PS_PTR_CHECK_NULL(mySpline, NULL);
    303302    PS_INT_CHECK_NON_NEGATIVE(mySpline->n, NULL);
    304 
    305303
    306304    if (y32->n != (1 + mySpline->n)) {
  • trunk/psLib/src/math/psPolynomial.c

    r3026 r3027  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.82 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-17 22:17:29 $
     9 *  @version $Revision: 1.83 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-01-17 23:25:09 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    344344    for (i=0;i<myPoly->n;i++) {
    345345        tmp+= (myPoly->coeff[i] * psPolynomial1DEval(x, chebPolys[i]));
    346         //            printf("HMMM: psPolynomial1DEval(%f, chebPolys[%d]) is %f\n", x, i, psPolynomial1DEval(x, chebPolys[i]));
    347346    }
    348347    tmp-= (myPoly->coeff[0]/2.0);
  • trunk/psLib/src/math/psSpline.c

    r3026 r3027  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.82 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-17 22:17:29 $
     9 *  @version $Revision: 1.83 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-01-17 23:25:09 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    344344    for (i=0;i<myPoly->n;i++) {
    345345        tmp+= (myPoly->coeff[i] * psPolynomial1DEval(x, chebPolys[i]));
    346         //            printf("HMMM: psPolynomial1DEval(%f, chebPolys[%d]) is %f\n", x, i, psPolynomial1DEval(x, chebPolys[i]));
    347346    }
    348347    tmp-= (myPoly->coeff[0]/2.0);
Note: See TracChangeset for help on using the changeset viewer.