IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2010, 3:16:58 PM (16 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20100823

File:
1 edited

Legend:

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

    r28013 r29548  
    3838    // which extended source analyses should we perform?
    3939    bool doPetrosian    = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN");
    40     bool doIsophotal    = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL");
    4140    bool doAnnuli       = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI");
    42     bool doKron         = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON");
    4341
    4442    // number of images used to define sources
     
    117115
    118116            // if we request any of these measurements, we require the radial profile
    119             if (doPetrosian || doIsophotal || doAnnuli || doKron) {
     117            if (doPetrosian || doAnnuli) {
    120118                if (!psphotRadialProfile (source, recipe, skynoise, maskVal)) {
    121119                    // all measurements below require the radial profile; skip them all
    122120                    // re-subtract the object, leave local sky
    123                     psTrace ("psphot", 5, "failed to extract radial profile for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My);
     121                    psTrace ("psphot", 5, "FAILED radial profile for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My);
    124122                    pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
    125123                    continue;
     124                } else {
     125                    psTrace ("psphot", 5, "measured radial profile for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My);
     126                    Nannuli ++;
     127                    source->mode |= PM_SOURCE_MODE_RADIAL_FLUX;
    126128                }
    127                 source->mode |= PM_SOURCE_MODE_RADIAL_FLUX;
    128129            }
    129130
     
    138139                }
    139140            }
    140 
    141141
    142142            // re-subtract the object, leave local sky
Note: See TracChangeset for help on using the changeset viewer.