Changeset 31026
- Timestamp:
- Mar 23, 2011, 12:04:42 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213
- Files:
-
- 5 edited
-
psModules/src/objects/pmPeaks.c (modified) (1 diff)
-
psModules/src/objects/pmSourceIO_SMPDATA.c (modified) (1 diff)
-
psphot/src/psphotLoadSRCTEXT.c (modified) (1 diff)
-
psphot/src/psphotMergeSources.c (modified) (1 diff)
-
psphot/src/psphotSourceMatch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psModules/src/objects/pmPeaks.c
r30974 r31026 151 151 tmp->y = y; 152 152 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 154 154 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 156 156 tmp->smoothFluxStdev = NAN; 157 157 // tmp->SN = 0; -
branches/eam_branches/ipp-20110213/psModules/src/objects/pmSourceIO_SMPDATA.c
r30974 r31026 205 205 206 206 source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE); 207 source->peak->rawFlux = peakFlux;208 207 209 208 sources->data[i] = source; -
branches/eam_branches/ipp-20110213/psphot/src/psphotLoadSRCTEXT.c
r30975 r31026 78 78 79 79 source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE); 80 source->peak->rawFlux = peakFlux;81 source->peak->smoothFlux = peakFlux;82 80 source->peak->dx = dPAR[PM_PAR_XPOS]; 83 81 source->peak->dy = dPAR[PM_PAR_YPOS]; -
branches/eam_branches/ipp-20110213/psphot/src/psphotMergeSources.c
r30975 r31026 337 337 peak->xf = xpos; 338 338 peak->yf = ypos; 339 peak->rawFlux = flux; // this are being set wrong, but does it matter?340 peak->smoothFlux = flux; // this are being set wrong, but does it matter?341 339 342 340 psArrayAdd (detections->peaks, 100, peak); -
branches/eam_branches/ipp-20110213/psphot/src/psphotSourceMatch.c
r30975 r31026 229 229 int col0 = readout->image->col0; 230 230 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 233 232 float peakFlux = readout->image->data.F32[(int)(obj->y-row0-0.5)][(int)(obj->x-col0-0.5)]; 234 233 pmPeak *peak = pmPeakAlloc(obj->x, obj->y, peakFlux, PM_PEAK_LONE); 235 peak->rawFlux = peakFlux;236 peak->smoothFlux = peakFlux;237 234 peak->xf = obj->x; 238 235 peak->yf = obj->y;
Note:
See TracChangeset
for help on using the changeset viewer.
