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

Location:
branches/eam_branches/ipp-20110213/psModules/src/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/objects/pmPeaks.c

    r30974 r31026  
    151151    tmp->y = y;
    152152    tmp->detValue        = value;
    153     tmp->rawFlux         = NAN;
     153    tmp->rawFlux         = value; // set this by default: it is up to the user to supply a better value
    154154    tmp->rawFluxStdev    = NAN;
    155     tmp->smoothFlux      = NAN;
     155    tmp->smoothFlux      = value; // set this by default: it is up to the user to supply a better value
    156156    tmp->smoothFluxStdev = NAN;
    157157    // tmp->SN = 0;
  • branches/eam_branches/ipp-20110213/psModules/src/objects/pmSourceIO_SMPDATA.c

    r30974 r31026  
    205205
    206206        source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE);
    207         source->peak->rawFlux = peakFlux;
    208207
    209208        sources->data[i] = source;
Note: See TracChangeset for help on using the changeset viewer.