IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2011, 10:06:53 AM (15 years ago)
Author:
eugene
Message:

limit the number of psf clump regions based on number of available sources; require better sources in the initial assessment of the window for the psf clump (SNLIM*2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psphot/src/psphotMergeSources.c

    r30776 r30883  
    11# include "psphotInternal.h"
    22
     3// Mask to apply for PSF sources : only exclude bad sources -- we will re-test for extendedness
    34#define PSF_SOURCE_MASK (PM_SOURCE_MODE_FAIL | PM_SOURCE_MODE_SATSTAR | PM_SOURCE_MODE_BLEND | \
    45                         PM_SOURCE_MODE_BADPSF | PM_SOURCE_MODE_DEFECT | PM_SOURCE_MODE_SATURATED | \
    5                          PM_SOURCE_MODE_CR_LIMIT | PM_SOURCE_MODE_EXT_LIMIT) // Mask to apply for PSF sources
     6                         PM_SOURCE_MODE_CR_LIMIT)
    67
    78// for now, let's store the detections on the readout->analysis for each readout
     
    347348
    348349    psLogMsg ("psphot", 3, "%ld PSF sources loaded", detections->peaks->n);
     350    psphotVisualShowSources (sources);
     351    psphotVisualShowPeaks (detections);
    349352
    350353    // save detections on the readout->analysis
     
    354357    }
    355358    psFree (detections);
     359
    356360    return true;
    357361}
    358362
    359363// generate the detection structure for the supplied array of sources
     364// XXX this function is currently unused
    360365bool psphotSetSourceParams (pmConfig *config, psArray *sources, pmPSF *psf) {
    361366
Note: See TracChangeset for help on using the changeset viewer.