IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28973


Ignore:
Timestamp:
Aug 19, 2010, 4:11:25 PM (16 years ago)
Author:
eugene
Message:

significance image rolls from flux/sqrt(var) to flux at high flux values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/psphot/src/psphotSignificanceImage.c

    r28797 r28973  
    9797                smooth_im->data.F32[j][i] = 0.0;
    9898            } else {
    99                 smooth_im->data.F32[j][i] = factor * PS_SQR(value) / smooth_wt->data.F32[j][i];
     99                float v2 = value + PS_SQR(value/1000.0);
     100                smooth_im->data.F32[j][i] = factor * PS_SQR(v2) / smooth_wt->data.F32[j][i];
    100101            }
    101102        }
Note: See TracChangeset for help on using the changeset viewer.