IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2011, 3:18:53 AM (15 years ago)
Author:
eugene
Message:

turn off memdumps; make output images optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psphot/src/psphotStackChisqImage.c

    r30624 r30777  
    101101        for (int ix = 0; ix < inImage->numCols; ix++) {
    102102            if (inMask->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix] & maskVal) continue;
    103             chiImage->data.F32[iy][ix] += PS_SQR(inImage->data.F32[iy][ix]) / inVariance->data.F32[iy][ix];
     103            // XXX TEST chiImage->data.F32[iy][ix] += PS_SQR(inImage->data.F32[iy][ix]) / inVariance->data.F32[iy][ix];
     104            chiImage->data.F32[iy][ix] = 0.0;
    104105            chiVariance->data.F32[iy][ix] = 1.0; // ?? what is the right value?  just init to this?
    105             chiMask->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix] = 0x00; // we have valid data so unmask this pixel
     106            // XXX TEST chiMask->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix] = 0x00; // we have valid data so unmask this pixel
     107            chiMask->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix] = 0x01; // we have valid data so unmask this pixel
    106108        }
    107109    }
Note: See TracChangeset for help on using the changeset viewer.