IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2010, 3:54:46 PM (16 years ago)
Author:
eugene
Message:

re-org so we can do radial apertures and extended sources by object, not image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/psphot.20100506/src/psphotStackReadout.c

    r27932 r27939  
    150150    // linear PSF fit to source peaks, subtract the models from the image (in PSF mask)
    151151    psphotFitSourcesLinearStack (config, objects, FALSE);
    152     psFree (objects);
    153152
    154153    // identify CRs and extended sources
     
    157156    // measure aperture photometry corrections
    158157    if (!psphotApResid (config, view, STACK_OUT)) {
     158        psFree (objects);
    159159        psLogMsg ("psphot", 3, "failed on psphotApResid");
    160160        return psphotReadoutCleanup (config, view, STACK_OUT);
    161161    }
    162162
    163     psphotRadialApertures (config, view, STACK_OUT);
    164     psphotExtendedSourceAnalysis (config, view, STACK_OUT); // pass 1 (detections->allSources)
     163    psphotRadialAperturesByObject (config, objects, view, STACK_OUT);
     164    psphotExtendedSourceAnalysisByObject (config, objects, view, STACK_OUT); // pass 1 (detections->allSources)
    165165    psphotExtendedSourceFits (config, view, STACK_OUT); // pass 1 (detections->allSources)
    166166
     
    186186    psphotStackRemoveChisqFromInputs(config, STACK_RAW);
    187187
     188    psFree (objects);
     189
    188190    // create the exported-metadata and free local data
    189191    return psphotReadoutCleanup (config, view, STACK_OUT);
Note: See TracChangeset for help on using the changeset viewer.