IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9833


Ignore:
Timestamp:
Nov 3, 2006, 5:04:50 AM (20 years ago)
Author:
eugene
Message:

require growth curve to include min radius

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotApResid.c

    r9807 r9833  
    2525    // S/N limit to perform full non-linear fits
    2626    float MAX_AP_OFFSET = psMetadataLookupF32 (&status, recipe, "MAX_AP_OFFSET");
     27
     28    // this is the smallest radius allowed: need to at least extend growth curve down to this...
     29    float PSF_FIT_PAD   = psMetadataLookupF32 (&status, recipe, "PSF_FIT_PADDING");
    2730    bool  IGNORE_GROWTH = psMetadataLookupBool (&status, recipe, "IGNORE_GROWTH");
    2831
     
    3235    // measure the aperture loss as a function of radius for PSF
    3336    float REF_RADIUS = psMetadataLookupF32 (&status, recipe, "PSF_REF_RADIUS");
    34     psf->growth = pmGrowthCurveAlloc (3.0, 100.0, REF_RADIUS);
     37    psf->growth = pmGrowthCurveAlloc (PSF_FIT_PAD, 100.0, REF_RADIUS);
    3538
    3639    psphotGrowthCurve (readout, psf, IGNORE_GROWTH);
Note: See TracChangeset for help on using the changeset viewer.