IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25663


Ignore:
Timestamp:
Sep 29, 2009, 10:10:54 AM (17 years ago)
Author:
eugene
Message:

drop commented code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotRadiusChecks.c

    r25646 r25663  
    152152escape:
    153153    return NAN;
    154     // bool result = psphotCheckRadiusEXT_old (readout, source, model, markVal);
     154    // bool result = psphotCheckRadiusEXT (readout, source, model, markVal);
    155155    // return result;
    156156}
    157157
    158 // call this function whenever you (re)-define the EXT model
     158// alternative EXT radius based on model guess (for use without footprints)
    159159bool psphotCheckRadiusEXT (pmReadout *readout, pmSource *source, pmModel *model, psImageMaskType markVal) {
    160160
     
    172172    if (isnan(model->fitRadius)) psAbort("error in radius");
    173173
    174     // XXX this make the psf photometry for extended sources inconsistent with the other psf sources
    175     // XXX for now, use the same radius for aperture and fit
    176     // XXX to use different radii, we will need to set the apRadius mask with a call to
    177     // psImageKeepCircle in the function psphotMagnitudes_Threaded
    178 
    179174    // redefine the pixels if needed
    180175    bool status = pmSourceRedefinePixels (source, readout, PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], model->fitRadius);
Note: See TracChangeset for help on using the changeset viewer.