IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15962


Ignore:
Timestamp:
Dec 30, 2007, 5:03:52 PM (18 years ago)
Author:
eugene
Message:

effArea on first pass can be very wrong; be a bit conservative

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotFindPeaks.c

    r14757 r15962  
    9494        effArea = 1;                    // never less than a pixel
    9595    }
     96    if (pass == 1) {
     97        effArea = 4.0*M_PI; // XXX better than nothing but still fairly poor
     98    }
     99
    96100    float threshold = PS_SQR(NSIGMA_PEAK) / effArea;
    97101
Note: See TracChangeset for help on using the changeset viewer.