IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 15, 2014, 5:00:32 PM (12 years ago)
Author:
bills
Message:

clamp number of subpixels to 31 instead of 121 for performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/models/pmModel_SERSIC.c

    r36623 r36752  
    126126        psEllipseAxes axes = pmPSF_ModelToAxes(PAR, pmModelClassGetType ("PS_MODEL_SERSIC"));
    127127        int Nsub = 2 * ((int)(6.0*Sindex / axes.minor)) + 1;
    128         Nsub = PS_MIN (Nsub, 121);
     128        // Nsub = PS_MIN (Nsub, 121);
     129        Nsub = PS_MIN (Nsub, 31);
    129130        Nsub = PS_MAX (Nsub, 11);
    130131        f0 = pmModelCP_SersicSubpix (X, Y, PAR[PM_PAR_SXX], PAR[PM_PAR_SXY], PAR[PM_PAR_SYY], Sindex, Nsub);
Note: See TracChangeset for help on using the changeset viewer.