IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 11, 2010, 3:32:38 PM (16 years ago)
Author:
Paul Price
Message:

Adding moderate PSF limits: neither lax nor strict. The idea is to allow slightly bad PSFs to go into the stack PSF envelope calculation.

File:
1 edited

Legend:

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

    r25763 r26916  
    4949static float paramsMinLax[] = { -1.0e3, 1.0e-2, -100, -100, 0.05, 0.05, -1.0, 0.05 };
    5050static float paramsMaxLax[] = { 1.0e5, 1.0e8, 1.0e4, 1.0e4, 100, 100, 1.0, 4.0 };
     51
     52// Moderate parameter limits
     53static float *paramsMinModerate = paramsMinLax;
     54static float *paramsMaxModerate = paramsMaxLax;
    5155
    5256// Strict parameter limits
     
    429433        limitsApply = true;
    430434        break;
     435      case PM_MODEL_LIMITS_MODERATE:
     436        paramsMinUse = paramsMinModerate;
     437        paramsMaxUse = paramsMaxModerate;
     438        limitsApply = true;
     439        break;
    431440      case PM_MODEL_LIMITS_STRICT:
    432441        paramsMinUse = paramsMinStrict;
Note: See TracChangeset for help on using the changeset viewer.