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_PS1_V1.c

    r25754 r26916  
    4949static float paramsMinLax[] = { -1.0e3, 1.0e-2, -100, -100, 0.5, 0.5, -1.0, -1.0 };
    5050static float paramsMaxLax[] = { 1.0e5, 1.0e8, 1.0e4, 1.0e4, 100, 100, 1.0, 20.0 };
     51
     52// Moderate parameter limits
     53// Tolerate a small divot (k < 0)
     54static float paramsMinModerate[] = { -1.0e3, 1.0e-2, -100, -100, 0.5, 0.5, -1.0, -0.05 };
     55static float paramsMaxModerate[] = { 1.0e5, 1.0e8, 1.0e4, 1.0e4, 100, 100, 1.0, 20.0 };
    5156
    5257// Strict parameter limits
     
    454459        limitsApply = true;
    455460        break;
     461      case PM_MODEL_LIMITS_MODERATE:
     462        paramsMinUse = paramsMinModerate;
     463        paramsMaxUse = paramsMaxModerate;
     464        limitsApply = true;
     465        break;
    456466      case PM_MODEL_LIMITS_STRICT:
    457467        paramsMinUse = paramsMinStrict;
Note: See TracChangeset for help on using the changeset viewer.