IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 29, 2005, 5:44:55 PM (21 years ago)
Author:
eugene
Message:

various psphot updates

File:
1 edited

Legend:

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

    r4642 r4901  
    2121    psTimerStart ("psphot");
    2222
    23     // find the peaks in the smoothed image
     23    // set peak threshold
    2424    NSIGMA    = psMetadataLookupF32 (&status, config, "PEAK_NSIGMA");
    2525    threshold = NSIGMA*sky->sampleStdev + sky->sampleMean;
    2626    psLogMsg ("psphot", 3, "threshold: %f DN\n", threshold);
    2727
     28    // find the peaks in the smoothed image
    2829    psArray *peaks = pmFindImagePeaks (smooth, threshold);
    2930    if (peaks == NULL) psAbort ("find peaks", "no peaks found");
     
    3132
    3233    // make this optional
    33     DumpPeaks (peaks, "peaks.dat");
     34    // DumpPeaks (peaks, "peaks.dat");
    3435
    3536    psLogMsg ("psphot", 3, "%d peaks: %f sec\n", peaks->n, psTimerMark ("psphot"));
Note: See TracChangeset for help on using the changeset viewer.