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/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;
Note: See TracChangeset for help on using the changeset viewer.