- Timestamp:
- Jul 17, 2014, 12:30:45 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-ops-20130712/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/imcombine/pmPSFEnvelope.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ops-20130712/psModules
- Property svn:mergeinfo deleted
-
branches/eam_branches/ipp-ops-20130712/psModules/src/imcombine/pmPSFEnvelope.c
r35455 r37066 20 20 #include "pmMoments.h" 21 21 #include "pmModelFuncs.h" 22 #include "pmModelClass.h" 22 23 #include "pmModel.h" 23 24 #include "pmModelUtils.h" 24 #include "pmModelClass.h"25 25 #include "pmSourceMasks.h" 26 26 #include "pmSourceExtendedPars.h" 27 27 #include "pmSourceDiffStats.h" 28 28 #include "pmSourceSatstar.h" 29 #include "pmSourceLensing.h" 29 30 #include "pmSource.h" 30 31 #include "pmSourceFitModel.h" … … 167 168 continue; 168 169 } 169 model-> modelSetLimits(PM_MODEL_LIMITS_MODERATE);170 model->class->modelSetLimits(PM_MODEL_LIMITS_MODERATE); 170 171 bool limits = true; // Model within limits? 171 172 for (int j = 0; j < model->params->n && limits; j++) { 172 if (!model-> modelLimits(PS_MINIMIZE_PARAM_MIN, j, model->params->data.F32, NULL) ||173 !model-> modelLimits(PS_MINIMIZE_PARAM_MAX, j, model->params->data.F32, NULL)) {173 if (!model->class->modelLimits(PS_MINIMIZE_PARAM_MIN, j, model->params->data.F32, NULL) || 174 !model->class->modelLimits(PS_MINIMIZE_PARAM_MAX, j, model->params->data.F32, NULL)) { 174 175 limits = false; 175 176 } … … 245 246 continue; 246 247 } 247 float srcRadius = model-> modelRadius(model->params, PS_SQR(VARIANCE_VAL)); // Radius for source248 float srcRadius = model->class->modelRadius(model->params, PS_SQR(VARIANCE_VAL)); // Radius for source 248 249 psFree(model); 249 250 if (srcRadius == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
