Changeset 25360
- Timestamp:
- Sep 13, 2009, 4:57:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotFindPeaks.c
r25271 r25360 31 31 peak->SN = sqrt(peak->value); 32 32 peak->flux = readout->image->data.F32[peak->y-row0][peak->x-col0]; 33 if (peak->flux / peak->value > 5.0/12.0) {34 psWarning ("odd peak levels (1)");35 }36 if (peak->value / peak->flux > 5*12.0) {37 psWarning ("odd peak levels (2)");38 }33 // if (peak->flux / peak->value > 5.0/12.0) { 34 // psWarning ("odd peak levels (1)"); 35 // } 36 // if (peak->value / peak->flux > 5*12.0) { 37 // psWarning ("odd peak levels (2)"); 38 // } 39 39 if (readout->variance && isfinite (peak->dx)) { 40 40 peak->dx *= sqrt(readout->variance->data.F32[peak->y-row0][peak->x-col0]);
Note:
See TracChangeset
for help on using the changeset viewer.
