IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 14, 2006, 11:58:44 AM (20 years ago)
Author:
eugene
Message:

renamed config to recipe in lower-level functions, added pixel weights to pmSource, other cleanups

File:
1 edited

Legend:

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

    r6715 r6862  
    22
    33// 2006.02.07 : no leaks
    4 bool psphotBasicDeblend (psArray *sources, psMetadata *config) {
     4bool psphotBasicDeblend (psArray *sources, psMetadata *recipe) {
    55
    66    int N;
     
    1313    psTimerStart ("psphot");
    1414
    15     float FRACTION = psMetadataLookupF32 (&status, config, "DEBLEND_PEAK_FRACTION");
     15    float FRACTION = psMetadataLookupF32 (&status, recipe, "DEBLEND_PEAK_FRACTION");
    1616    if (!status) FRACTION = 0.25;
    1717
    18     float NSIGMA   = psMetadataLookupF32 (&status, config, "DEBLEND_SKY_NSIGMA");
     18    float NSIGMA   = psMetadataLookupF32 (&status, recipe, "DEBLEND_SKY_NSIGMA");
    1919    if (!status) NSIGMA = 5.0;
    2020
     
    129129    psLogMsg ("psphot.deblend", 3, "identified %d blended objects (%f sec)\n", Nblend, psTimerMark ("psphot"));
    130130
    131     char *breakPt = psMetadataLookupStr (&status, config, "BREAK_POINT");
     131    char *breakPt = psMetadataLookupStr (&status, recipe, "BREAK_POINT");
    132132    if (!strcasecmp (breakPt, "DEBLEND")) exit (0);
    133133
Note: See TracChangeset for help on using the changeset viewer.