IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4999


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

....

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/verified/tst_psMinimize04.stderr

    r4862 r4999  
    1 <HOST>|I|t03
    2     Following should generate an error for null input polynomial.
    3 <HOST>|E|psVectorFitPolynomial1D (FILE:LINENO)
     1<HOST>|E|psVectorFitPolynomial2D (FILE:LINENO)
    42    Unallowable operation: polynomial poly or its coeffs is NULL.
  • trunk/psLib/test/math/verified/tst_psMinimize04.stdout

    r4547 r4999  
    11/***************************** TESTPOINT ******************************************\
    22*             TestFile: tst_psMinimize04.c                                         *
    3 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal difference in variable yE *
     3*            TestPoint: psMinimize functions{psVectorFitPolynomial2D(): equal difference in variable fE *
    44*             TestType: Positive                                                   *
    55\**********************************************************************************/
    66
     7TEST: calling psVectorFitPolynomial2D() with f, fErr, y, x as F32 vectors.
     8Running test with fErr set to NULL.
     9Running test with x, y set to NULL.  Should generate error.
    710
    8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal differences in variable yErr} | tst_psMinimize04.c)
     11---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial2D(): equal differences in variable fErr} | tst_psMinimize04.c)
    912
    10 /***************************** TESTPOINT ******************************************\
    11 *             TestFile: tst_psMinimize04.c                                         *
    12 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} *
    13 *             TestType: Positive                                                   *
    14 \**********************************************************************************/
    15 
    16 
    17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04.c)
    18 
    19 /***************************** TESTPOINT ******************************************\
    20 *             TestFile: tst_psMinimize04.c                                         *
    21 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} *
    22 *             TestType: Positive                                                   *
    23 \**********************************************************************************/
    24 
    25 
    26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04.c)
    27 
    28 /***************************** TESTPOINT ******************************************\
    29 *             TestFile: tst_psMinimize04.c                                         *
    30 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} *
    31 *             TestType: Positive                                                   *
    32 \**********************************************************************************/
    33 
    34 
    35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04.c)
    36 
  • trunk/psLib/test/math/verified/tst_psMinimize04_F32.stderr

    r4862 r4999  
    11<HOST>|I|t03
    2     Following should generate an error for null input polynomial.
     2    Following should generate error for null arguments.
    33<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO)
    44    Unallowable operation: polynomial poly or its coeffs is NULL.
  • trunk/psLib/test/math/verified/tst_psMinimize04_F32.stdout

    r4547 r4999  
    11/***************************** TESTPOINT ******************************************\
    2 *             TestFile: tst_psMinimize04.c                                         *
    3 *            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal difference in variable yE *
     2*             TestFile: tst_psMinimize04_F32.c                                     *
     3*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr} *
    44*             TestType: Positive                                                   *
    55\**********************************************************************************/
    66
    77
    8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal differences in variable yErr} | tst_psMinimize04.c)
     8---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): equal errors in yErr} | tst_psMinimize04_F32.c)
    99
    1010/***************************** TESTPOINT ******************************************\
    11 *             TestFile: tst_psMinimize04.c                                         *
     11*             TestFile: tst_psMinimize04_F32.c                                     *
    1212*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} *
    1313*             TestType: Positive                                                   *
     
    1515
    1616
    17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04.c)
     17---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): yErr is NULL} | tst_psMinimize04_F32.c)
    1818
    1919/***************************** TESTPOINT ******************************************\
    20 *             TestFile: tst_psMinimize04.c                                         *
     20*             TestFile: tst_psMinimize04_F32.c                                     *
    2121*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} *
    2222*             TestType: Positive                                                   *
     
    2424
    2525
    26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04.c)
     26---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): x, yErr is NULL} | tst_psMinimize04_F32.c)
    2727
    2828/***************************** TESTPOINT ******************************************\
    29 *             TestFile: tst_psMinimize04.c                                         *
     29*             TestFile: tst_psMinimize04_F32.c                                     *
    3030*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} *
    3131*             TestType: Positive                                                   *
     
    3333
    3434
    35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04.c)
     35---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): all inputs are NULL} | tst_psMinimize04_F32.c)
    3636
  • trunk/psLib/test/math/verified/tst_psMinimize04b_F32.stderr

    r4862 r4999  
    11<HOST>|I|t03
    2     Following should generate an error for null arguments.
     2    Following should generate error for null arguments.
    33<HOST>|E|psVectorFitPolynomial1D (FILE:LINENO)
    44    Unallowable operation: polynomial poly or its coeffs is NULL.
  • trunk/psLib/test/math/verified/tst_psMinimize04b_F32.stdout

    r4547 r4999  
    11/***************************** TESTPOINT ******************************************\
    2 *             TestFile: tst_psMinimize04b.c                                        *
     2*             TestFile: tst_psMinimize04b_F32.c                                    *
    33*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} *
    44*             TestType: Positive                                                   *
     
    66
    77
    8 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b.c)
     8---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, equal errors in yErr} | tst_psMinimize04b_F32.c)
    99
    1010/***************************** TESTPOINT ******************************************\
    11 *             TestFile: tst_psMinimize04b.c                                        *
     11*             TestFile: tst_psMinimize04b_F32.c                                    *
    1212*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} *
    1313*             TestType: Positive                                                   *
     
    1515
    1616
    17 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c)
     17---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b_F32.c)
    1818
    1919/***************************** TESTPOINT ******************************************\
    20 *             TestFile: tst_psMinimize04b.c                                        *
     20*             TestFile: tst_psMinimize04b_F32.c                                    *
    2121*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} *
    2222*             TestType: Positive                                                   *
     
    2424
    2525
    26 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b.c)
     26---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, x, yErr is NULL} | tst_psMinimize04b_F32.c)
    2727
    2828/***************************** TESTPOINT ******************************************\
    29 *             TestFile: tst_psMinimize04b.c                                        *
     29*             TestFile: tst_psMinimize04b_F32.c                                    *
    3030*            TestPoint: psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} *
    3131*             TestType: Positive                                                   *
     
    3333
    3434
    35 ---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b.c)
     35---> TESTPOINT PASSED (psMinimize functions{psVectorFitPolynomial1D(): CHEB, yErr is NULL} | tst_psMinimize04b_F32.c)
    3636
  • trunk/psModules/src/pmMaskBadPixels.c

    r4770 r4999  
    1919 *  @author Ross Harman, MHPCC
    2020 *
    21  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    22  *  @date $Date: 2005-08-16 01:10:34 $
     21 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     22 *  @date $Date: 2005-09-12 20:51:10 $
    2323 *
    2424 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3636#include "pmMaskBadPixelsErrors.h"
    3737
    38 bool pmMaskBadPixels(pmReadout *in, const psImage *mask, unsigned int maskVal, float sat,
    39                      unsigned int growVal, int grow)
     38bool pmMaskBadPixels(
     39    pmReadout *in,
     40    const psImage *mask,
     41    unsigned int maskVal,
     42    float sat,
     43    unsigned int growVal,
     44    int grow)
    4045{
    4146    int i = 0;
  • trunk/psModules/test/Makefile.am

    r4992 r4999  
    1313        tst_pmImageCombine \
    1414        tst_pmObjects01 \
    15         tst_psAstrometry \
    16         tst_psAstrometry01
     15        tst_psAstrometry
    1716
    1817check_PROGRAMS = $(TESTS)
     
    3635tst_pmObjects01_SOURCES = tst_pmObjects01.c
    3736tst_psAstrometry_SOURCES = tst_psAstrometry.c
    38 tst_psAstrometry01_SOURCES = tst_psAstrometry01.c
    3937
    4038test: check
  • trunk/psModules/test/tst_pmImageSubtract.c

    r4579 r4999  
    1010 *  data.  More work need to be done to verify the results.
    1111 *
    12  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-07-19 01:44:48 $
     12 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-09-12 20:51:10 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    115115        }
    116116
    117         if (kernels->p_size != size) {
    118             printf("TEST ERROR: pmSubtractionKernelsAllocPOIS() generated an incorrect ->p_size member (%d).\n", kernels->p_size);
    119             testStatus = true;
    120         }
    121 
    122         if (kernels->p_spatialOrder != SpatialOrder) {
    123             printf("TEST ERROR: pmSubtractionKernelsAllocPOIS() generated an incorrect ->p_spatialOrder member (%d).\n", kernels->p_spatialOrder);
     117        if (kernels->size != size) {
     118            printf("TEST ERROR: pmSubtractionKernelsAllocPOIS() generated an incorrect ->size member (%d).\n", kernels->size);
     119            testStatus = true;
     120        }
     121
     122        if (kernels->spatialOrder != SpatialOrder) {
     123            printf("TEST ERROR: pmSubtractionKernelsAllocPOIS() generated an incorrect ->spatialOrder member (%d).\n", kernels->spatialOrder);
    124124            testStatus = true;
    125125        }
     
    275275        }
    276276
    277         if (kernels->p_size != size) {
    278             printf("TEST ERROR: pmSubtractionKernelsAllocISIS() generated an incorrect ->p_size member (%d).\n", kernels->p_size);
    279             testStatus = true;
    280         }
    281 
    282         if (kernels->p_spatialOrder != SpatialOrder) {
    283             printf("TEST ERROR: pmSubtractionKernelsAllocISIS() generated an incorrect ->p_spatialOrder member (%d).\n", kernels->p_spatialOrder);
     277        if (kernels->size != size) {
     278            printf("TEST ERROR: pmSubtractionKernelsAllocISIS() generated an incorrect ->size member (%d).\n", kernels->size);
     279            testStatus = true;
     280        }
     281
     282        if (kernels->spatialOrder != SpatialOrder) {
     283            printf("TEST ERROR: pmSubtractionKernelsAllocISIS() generated an incorrect ->spatialOrder member (%d).\n", kernels->spatialOrder);
    284284            testStatus = true;
    285285        }
  • trunk/psModules/test/verified/tst_pmFlatField.stderr

    r3623 r4999  
    55\**********************************************************************************/
    66
    7 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     7<HOST>|E|pmFlatField (FILE:LINENO)
    88    Null not allowed for flat readout.
    9 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     9<HOST>|E|pmFlatField (FILE:LINENO)
    1010    Null not allowed for input image.
    11 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     11<HOST>|E|pmFlatField (FILE:LINENO)
    1212    Null not allowed for flat image.
    13 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
     13<HOST>|E|pmFlatField (FILE:LINENO)
    1414    Input image size exceeds that of flat image: (3, 3) vs (2, 2)
    15 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    16     Input image mask size exceeds that of flat image: (4, 4) vs (3, 3)
    17 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    18     Total offset >= flat image size: (50, 50) vs (3, 3)
    19 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    20     Complex types not allowed for input image. Type: 2064
    21 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    22     Complex types not allowed for flat image. Type: 2064
    23 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    24     Input and flat image types differ: (1032 vs 1028)
    25 <DATE><TIME>|<HOST>|E|pmFlatField (FILE:LINENO)
    26     Mask must be PS_TYPE_MASK type. Type: 1028
     15<HOST>|E|pmFlatField (FILE:LINENO)
     16    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
     17<HOST>|E|pmFlatField (FILE:LINENO)
     18    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
     19<HOST>|E|pmFlatField (FILE:LINENO)
     20    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
     21<HOST>|E|pmFlatField (FILE:LINENO)
     22    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
     23<HOST>|E|pmFlatField (FILE:LINENO)
     24    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
     25<HOST>|E|pmFlatField (FILE:LINENO)
     26    Input image mask size exceeds that of flat image: (5, 5) vs (3, 3)
    2727
    2828---> TESTPOINT PASSED (Test Point Driver{pmFlatField} | tst_pmFlatField.c)
  • trunk/psModules/test/verified/tst_pmFlatField.stdout

    r2298 r4999  
    10106.000000 6.000000 6.000000
    1111
     12Input mask:
     130 0 0
     140 0 0
     150 0 0
     16
    1217Flat image:
    13182.000000 2.000000 2.000000
     
    8085
    8186Resulting mask:
    82 8 8 8
    83 8 8 8
    84 0 8 8
     870 0 0
     880 0 0
     890 0 0
    8590
    8691Resulting image:
    87923.000000 3.000000 3.000000
    88933.000000 3.000000 3.000000
    89 1.000000 3.000000 3.000000
     943.000000 3.000000 3.000000
    9095
    9196
  • trunk/psModules/test/verified/tst_pmMaskBadPixels.stderr

    r3623 r4999  
    4141\**********************************************************************************/
    4242
    43 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     43<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    4444    Null not allowed for mask image.
    4545
     
    5252\**********************************************************************************/
    5353
    54 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     54<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    5555    Null not allowed for input image.
    5656
     
    6363\**********************************************************************************/
    6464
    65 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     65<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    6666    Input image size exceeds that of mask image: (60, 60) vs (50, 50)
    6767
     
    7474\**********************************************************************************/
    7575
    76 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     76<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    7777    Input image mask size exceeds that of mask image: (60, 60) vs (50, 50)
    7878
     
    8585\**********************************************************************************/
    8686
    87 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     87<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    8888    Total offset >= mask image: (150, 150) vs (50, 50)
    8989
     
    9696\**********************************************************************************/
    9797
    98 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     98<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    9999    Complex types not allowed for input image. Type: 2064
    100100
     
    107107\**********************************************************************************/
    108108
    109 <DATE><TIME>|<HOST>|E|pmMaskBadPixels (FILE:LINENO)
     109<HOST>|E|pmMaskBadPixels (FILE:LINENO)
    110110    Mask must be PS_TYPE_MASK type. Type: 1032
    111111
Note: See TracChangeset for help on using the changeset viewer.