IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25565


Ignore:
Timestamp:
Sep 24, 2009, 4:12:50 PM (17 years ago)
Author:
Paul Price
Message:

pmModelFromPSFforXY involves using limits, so we need to ignore all
limits first, and then set the limits to 'strict'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/psModules/src/imcombine/pmPSFEnvelope.c

    r25561 r25565  
    110110        }
    111111    }
    112 
    113     pmModelClassSetLimits(PM_MODEL_LIMITS_STRICT);
    114112
    115113    // Generate fake images with each PSF, and take the envelope
     
    154152        {
    155153            bool goodPSF = true;                                                                // Good PSF?
     154            pmModelClassSetLimits(PM_MODEL_LIMITS_IGNORE);
    156155            pmModel *model = pmModelFromPSFforXY(psf, numCols / 2.0, numRows / 2.0, PEAK_FLUX); // Test model
     156            model->modelSetLimits(PM_MODEL_LIMITS_STRICT);
    157157            for (int j = 0; j < model->params->n && goodPSF; j++) {
    158158                if (!model->modelLimits(PS_MINIMIZE_PARAM_MIN, j, model->params->data.F32, NULL) ||
Note: See TracChangeset for help on using the changeset viewer.