Changeset 13424
- Timestamp:
- May 18, 2007, 4:04:30 AM (19 years ago)
- Location:
- trunk/psModules/src/objects/models
- Files:
-
- 3 edited
-
pmModel_GAUSS.c (modified) (1 diff)
-
pmModel_PGAUSS.c (modified) (1 diff)
-
pmModel_QGAUSS.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/models/pmModel_GAUSS.c
r13064 r13424 273 273 // convert to shape terms (SXX,SYY,SXY) 274 274 // XXX user-defined value for limit? 275 pmPSF_FitToModel (out, 0.1); 275 if (!pmPSF_FitToModel (out, 0.1)) { 276 psError(PM_ERR_PSF, false, "Failed to fit object at (r,c) = (%.1f,%.1f)", 277 in[PM_PAR_YPOS], in[PM_PAR_XPOS]); 278 return false; 279 } 276 280 277 281 // apply the model limits here: this truncates excessive extrapolation -
trunk/psModules/src/objects/models/pmModel_PGAUSS.c
r13064 r13424 293 293 // the 2D PSF model fits polarization terms (E0,E1,E2) 294 294 // convert to shape terms (SXX,SYY,SXY) 295 pmPSF_FitToModel (out, 0.1); 295 if (!pmPSF_FitToModel (out, 0.1)) { 296 psError(PM_ERR_PSF, false, "Failed to fit object at (r,c) = (%.1f,%.1f)", 297 in[PM_PAR_YPOS], in[PM_PAR_XPOS]); 298 return false; 299 } 296 300 297 301 // apply the model limits here: this truncates excessive extrapolation -
trunk/psModules/src/objects/models/pmModel_QGAUSS.c
r13064 r13424 350 350 // the 2D PSF model fits polarization terms (E0,E1,E2) 351 351 // convert to shape terms (SXX,SYY,SXY) 352 pmPSF_FitToModel (out, 0.1); 352 if (!pmPSF_FitToModel (out, 0.1)) { 353 psError(PM_ERR_PSF, false, "Failed to fit object at (r,c) = (%.1f,%.1f)", 354 in[PM_PAR_YPOS], in[PM_PAR_XPOS]); 355 return false; 356 } 353 357 354 358 // apply the model limits here: this truncates excessive extrapolation
Note:
See TracChangeset
for help on using the changeset viewer.
