IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 23, 2011, 12:04:42 PM (15 years ago)
Author:
eugene
Message:

set peak->rawFlux and peak->smoothFlux to the peak pixel value by default

File:
1 edited

Legend:

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

    r30975 r31026  
    229229            int col0 = readout->image->col0;
    230230
    231             // XXX the peak type is not really used in psphot
    232             // PM_PEAK_LONE is certainly not true, but irrelevant
     231            // The peak type is not used in psphot. PM_PEAK_LONE may be wrong, but irrelevant
    233232            float peakFlux = readout->image->data.F32[(int)(obj->y-row0-0.5)][(int)(obj->x-col0-0.5)];
    234233            pmPeak *peak = pmPeakAlloc(obj->x, obj->y, peakFlux, PM_PEAK_LONE);
    235             peak->rawFlux = peakFlux;
    236             peak->smoothFlux = peakFlux;
    237234            peak->xf = obj->x;
    238235            peak->yf = obj->y;
Note: See TracChangeset for help on using the changeset viewer.