IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 13, 2006, 8:24:10 PM (21 years ago)
Author:
eugene
Message:

substantial work on the aperture residuals

File:
1 edited

Legend:

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

    r5837 r5980  
    5858    sources = psArraySort (sources, psphotSortByY);
    5959
    60     float OUTER_RADIUS     = psMetadataLookupF32 (&status, config, "SKY_OUTER_RADIUS");
    6160    float INNER_RADIUS     = psMetadataLookupF32 (&status, config, "SKY_INNER_RADIUS");
    6261    float PSF_FIT_NSIGMA   = psMetadataLookupF32 (&status, config, "PSF_FIT_NSIGMA");
     
    104103        // really saturated stars should be re-measured for a better centroid
    105104        // XXX EAM : move this to a 'clear satstar function'
    106         // XXX EAM : extend size of fit box around SATSTAR
    107105        if (inSource->mode &  PM_SOURCE_SATSTAR) {
    108106            status = pmSourceMoments (inSource, INNER_RADIUS);
     
    143141        y = model->params->data.F32[3];
    144142
    145         // get function which specifies the radius at this the model hits the given flux
     143        // get function which specifies the radius at which the model hits the given flux
    146144        pmModelRadius modelRadius = pmModelRadius_GetFunction (psf->type);
    147145
     
    151149
    152150        // if needed, ask for more object pixels
    153         if (model->radius > OUTER_RADIUS) {
    154             psphotDefinePixels (inSource, imdata, x, y, model->radius);
    155         }
     151        psphotRedefinePixels (inSource, imdata, x, y, model->radius);
    156152
    157153        // make temporary copies of the image pixels and mask
Note: See TracChangeset for help on using the changeset viewer.