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

    r6753 r6862  
    66static pmModelRadius modelRadiusPSF;
    77
    8 bool psphotInitRadiusPSF (psMetadata *config, pmModelType type) {
     8bool psphotInitRadiusPSF (psMetadata *recipe, pmModelType type) {
    99
    1010    bool status;
    1111
    12     PSF_FIT_NSIGMA   = psMetadataLookupF32 (&status, config, "PSF_FIT_NSIGMA");
    13     PSF_FIT_PADDING  = psMetadataLookupF32 (&status, config, "PSF_FIT_PADDING");
     12    PSF_FIT_NSIGMA   = psMetadataLookupF32 (&status, recipe, "PSF_FIT_NSIGMA");
     13    PSF_FIT_PADDING  = psMetadataLookupF32 (&status, recipe, "PSF_FIT_PADDING");
    1414
    1515    // this function specifies the radius at this the model hits the given flux
     
    5656static pmModelRadius modelRadiusEXT;
    5757
    58 bool psphotInitRadiusEXT (psMetadata *config, pmModelType type) {
     58bool psphotInitRadiusEXT (psMetadata *recipe, pmModelType type) {
    5959
    6060    bool status;
    6161
    62     EXT_FIT_NSIGMA   = psMetadataLookupF32 (&status, config, "EXT_FIT_NSIGMA");
    63     EXT_FIT_PADDING  = psMetadataLookupF32 (&status, config, "EXT_FIT_PADDING");
     62    EXT_FIT_NSIGMA   = psMetadataLookupF32 (&status, recipe, "EXT_FIT_NSIGMA");
     63    EXT_FIT_PADDING  = psMetadataLookupF32 (&status, recipe, "EXT_FIT_PADDING");
    6464
    6565    // this function specifies the radius at this the model hits the given flux
Note: See TracChangeset for help on using the changeset viewer.