IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25271


Ignore:
Timestamp:
Sep 4, 2009, 11:07:57 AM (17 years ago)
Author:
eugene
Message:

some test messages -- need to fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotFindPeaks.c

    r21519 r25271  
    3131        peak->SN = sqrt(peak->value);
    3232        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        }
    3339        if (readout->variance && isfinite (peak->dx)) {
    3440            peak->dx *= sqrt(readout->variance->data.F32[peak->y-row0][peak->x-col0]);
Note: See TracChangeset for help on using the changeset viewer.