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/psphotEnsemblePSF.c

    r6753 r6862  
    44// 2006.02.07 : no leaks!
    55// fit all reasonable sources with the linear PSF model
    6 bool psphotEnsemblePSF (pmReadout *readout, psArray *sources, psMetadata *config, pmPSF *psf, bool final) {
     6bool psphotEnsemblePSF (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf, bool final) {
    77
    88    bool  status;
     
    2121    // radius for source moments if star is saturated
    2222    // XXX we already do this in psphotSourceStats, is it still needed?
    23     float INNER_RADIUS     = psMetadataLookupF32 (&status, config, "SKY_INNER_RADIUS");
     23    float INNER_RADIUS     = psMetadataLookupF32 (&status, recipe, "SKY_INNER_RADIUS");
    2424
    2525    // setup the PSF fit details
    26     psphotInitRadiusPSF (config, psf->type);
     26    psphotInitRadiusPSF (recipe, psf->type);
    2727
    2828    // pre-calculate all model pixels
     
    3333
    3434    // option to limit analysis to a specific region
    35     char *region = psMetadataLookupStr (&status, config, "ANALYSIS_REGION");
     35    char *region = psMetadataLookupStr (&status, recipe, "ANALYSIS_REGION");
    3636    psRegion AnalysisRegion = psRegionFromString (region);
    3737    AnalysisRegion = psRegionForImage (readout->image, AnalysisRegion);
Note: See TracChangeset for help on using the changeset viewer.