IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16689


Ignore:
Timestamp:
Feb 27, 2008, 2:15:03 PM (18 years ago)
Author:
Paul Price
Message:

Overlapping consecutive scans were interfering with each other. Restricted the region of combination. However, there's still a problem: rejection regions that transcend scans aren't being respected.

Location:
trunk/psModules/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPA.c

    r16416 r16689  
    172172    readout->mask = NULL;
    173173    readout->bias = psListAlloc(NULL);
     174
     175    readout->col0 = 0;
     176    readout->row0 = 0;
     177
     178    readout->imageScan = 0;
     179    readout->maskScan = 0;
     180    readout->weightScan = 0;
    174181}
    175182
  • trunk/psModules/src/imcombine/pmStack.c

    r16685 r16689  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2008-02-27 21:16:57 $
     10 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2008-02-28 00:15:03 $
    1212 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
    1313 *
     
    541541    PS_ASSERT_INT_POSITIVE(bad, false);
    542542    PS_ASSERT_INT_NONNEGATIVE(numIter, false);
    543     PS_ASSERT_FLOAT_LARGER_THAN(rej, 0.0, false);
     543    if (isnan(rej)) {
     544        PS_ASSERT_INT_EQUAL(numIter, 0);
     545    } else {
     546        PS_ASSERT_FLOAT_LARGER_THAN(rej, 0.0, false);
     547    }
    544548    if (havePixels) {
    545549        // This is a subsequent combination, so expect that the image and mask already exist
Note: See TracChangeset for help on using the changeset viewer.