IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14340


Ignore:
Timestamp:
Jul 20, 2007, 11:18:50 AM (19 years ago)
Author:
Paul Price
Message:

Should be using the input image as the estimate of the noise for chi2, rather than the reference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r14329 r14340  
    44 *  @author GLG, MHPCC
    55 *
    6  *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-07-20 01:53:41 $
     6 *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-07-20 21:18:50 $
    88 *
    99 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    577577                for (int x = stamp->x - footprint; x <= stamp->x + footprint; x++) {
    578578                    float invNoise2 = 1.0 / (weight ? weight->data.F32[y][x] :
    579                                              reference->data.F32[y][x]); // Inverse square noise
     579                                             input->data.F32[y][x]); // Inverse square noise
    580580
    581581                    // Generate the convolutions
Note: See TracChangeset for help on using the changeset viewer.