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

    r6851 r6862  
    22
    33// XXX I don't like this name
    4 bool psphotBlendFit (pmReadout *readout, psArray *sources, psMetadata *config, pmPSF *psf) {
     4bool psphotBlendFit (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf) {
    55
    66    int Nfit = 0;
     
    1313   
    1414    // S/N limit to perform full non-linear fits
    15     float FIT_SN_LIM = psMetadataLookupF32 (&status, config, "FULL_FIT_SN_LIM");
     15    float FIT_SN_LIM = psMetadataLookupF32 (&status, recipe, "FULL_FIT_SN_LIM");
    1616
    17     psphotInitLimitsPSF (config);
    18     psphotInitLimitsEXT (config);
    19     psphotInitRadiusPSF (config, psf->type);
     17    psphotInitLimitsPSF (recipe);
     18    psphotInitLimitsEXT (recipe);
     19    psphotInitRadiusPSF (recipe, psf->type);
    2020
    2121    // option to limit analysis to a specific region
    22     char *region = psMetadataLookupStr (&status, config, "ANALYSIS_REGION");
     22    char *region = psMetadataLookupStr (&status, recipe, "ANALYSIS_REGION");
    2323    psRegion AnalysisRegion = psRegionForImage (readout->image, psRegionFromString (region));
    2424    if (psRegionIsNaN (AnalysisRegion)) psAbort ("psphot", "analysis region mis-defined");
Note: See TracChangeset for help on using the changeset viewer.