Changeset 10257 for trunk/psModules/src/detrend/pmShutterCorrection.c
- Timestamp:
- Nov 28, 2006, 4:36:07 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmShutterCorrection.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmShutterCorrection.c
r9997 r10257 301 301 302 302 // XXX for the moment, don't set any constraints 303 // psMinConstrain *constrain = psMinConstrainAlloc(); 304 // constrain->paramDelta = psVectorAlloc (3, PS_TYPE_F32); 305 // constrain->paramMin = psVectorAlloc (3, PS_TYPE_F32); 306 // constrain->paramMax = psVectorAlloc (3, PS_TYPE_F32); 307 // constrain->paramMask = NULL; 308 psMinConstrain *constrain = NULL; // Constraints on the minimization 303 // psMinConstraint *constraint = psMinConstraintAlloc(); 304 // constrain->checkLimits = pmShutterParamLimits; 305 // constrain->paramMask = NULL; 306 psMinConstraint *constraint = NULL; // Constraints on the minimization 309 307 310 308 // XXX ignore covariance matrix for the moment … … 321 319 } 322 320 323 if (!psMinimizeLMChi2(minInfo, covar, params, constrain , x, counts, cntError, pmShutterCorrectionModel)) {321 if (!psMinimizeLMChi2(minInfo, covar, params, constraint, x, counts, cntError, pmShutterCorrectionModel)) { 324 322 psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to fit for shutter correction.\n"); 325 323 psFree(x);
Note:
See TracChangeset
for help on using the changeset viewer.
