IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 12, 2015, 12:34:04 PM (12 years ago)
Author:
eugene
Message:

merge changes from trunk (adds galaxy bumpiness/asym parameters; fixes full-force bugs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pv3-20140717-merge/psphot/src/psphotStackReadout.c

    r36630 r37825  
    341341    // measure non-linear extended source models (exponential, deVaucouleur, Sersic) (sources sorted by S/N)
    342342    psphotExtendedSourceFits (config, view, STACK_RAW); // pass 1 (detections->allSources)
     343
     344    // measure some parameters for galxy science
     345    psphotGalaxyParams (config, view, STACK_RAW); // pass 1 (detections->allSources)
    343346
    344347    // create source children for the OUT filerule (for radial aperture photometry and output)
     
    354357        return psphotReadoutCleanup (config, view, STACK_RAW);
    355358    }
     359    // These arrays are no longer needed. The inputs' sources arrays have references to the data
     360    psFree (objects);
     361    psFree (objectsOut);
    356362
    357363    bool radial_apertures = psMetadataLookupBool(NULL, recipe, "RADIAL_APERTURES");
     
    410416    // measure aperture photometry corrections
    411417    if (!psphotApResid (config, view, STACK_RAW)) {
    412         psFree (objects);
    413         psFree (objectsOut);
    414418        psLogMsg ("psphot", 3, "failed on psphotApResid");
    415419        return psphotReadoutCleanup (config, view, STACK_RAW);
     
    432436
    433437    logMemStats("final");
    434 #if (1)
     438#if (0)
    435439    psphotSourceMemory(config, view, STACK_RAW);
    436440    psphotSourceMemory(config, view, STACK_OUT);
     
    448452    psphotStackRemoveChisqFromInputs(config, STACK_RAW);
    449453#endif
    450 
    451     psFree (objects);
    452     psFree (objectsOut);
    453454
    454455    // create the exported-metadata and free local data
Note: See TracChangeset for help on using the changeset viewer.