IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2004, 12:33:28 PM (22 years ago)
Author:
gusciora
Message:

Tests for the SubtractBias module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/tst_pmSubtractBias.c

    r2131 r2132  
    77 *  @author GLG, MHPCC
    88 *
    9  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-10-14 21:49:58 $
     9 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-10-14 22:33:28 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3737    float expect;
    3838    int testStatus = 0;
    39     psImage *myImage = psImageAlloc(numCols, numRows, PS_TYPE_F32);
    40     psReadout *myReadout = psReadoutAlloc(numCols, numRows, myImage);
    41     psImage *myImage = psImageAlloc(numCols, numRows, PS_TYPE_F32);
    42     psReadout *myBias = psReadoutAlloc(numCols, numRows, myImage);
     39    psImage *myImage1 = psImageAlloc(numCols, numRows, PS_TYPE_F32);
     40    psImage *myImage2 = psImageAlloc(numCols, numRows, PS_TYPE_F32);
     41    psReadout *myReadout = psReadoutAlloc(numCols, numRows, myImage1);
     42    psReadout *myBias = psReadoutAlloc(numCols, numRows, myImage2);
    4343
    4444    for (i=0;i<numRows;i++) {
     
    5252
    5353    myReadout = pmSubtractBias(myReadout, NULL, NULL, PM_OVERSCAN_NONE, NULL,
    54                                0, NULL, myBias);
     54                               0, PM_FIT_NONE, myBias);
    5555
    5656    for (i=0;i<numRows;i++) {
     
    7676    int testStatus = 0;
    7777
    78     //    testStatus |= doNonLinearityPolynomialTest(1, 1);
    79     //    testStatus |= doNonLinearityPolynomialTest(NUM_COLS, 1);
    80     //    testStatus |= doNonLinearityPolynomialTest(1, NUM_ROWS);
    81     testStatus |= doNonLinearityPolynomialTest(NUM_COLS, NUM_ROWS);
     78    testStatus |= doSubtractBiasFullFrame(NUM_COLS, NUM_ROWS);
    8279
    8380    return(testStatus);
Note: See TracChangeset for help on using the changeset viewer.