Changeset 35560 for trunk/psModules/src/objects/pmPSF.c
- Timestamp:
- May 9, 2013, 12:19:21 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSF.c
r35455 r35560 350 350 shape.sx = modelPar[PM_PAR_SXX]; 351 351 shape.sy = modelPar[PM_PAR_SYY]; 352 shape.sxy = modelPar[PM_PAR_SXY]; // This is potentially wrong? 352 shape.sxy = modelPar[PM_PAR_SXY] / 2.0; 353 // XXX I *think* dividing by 2.0 is the right direction, but this 354 // needs to be checked with a real test 353 355 } else { 354 356 shape.sx = modelPar[PM_PAR_SXX] / M_SQRT2; … … 392 394 modelPar[PM_PAR_SXX] = shape.sx; 393 395 modelPar[PM_PAR_SYY] = shape.sy; 394 modelPar[PM_PAR_SXY] = shape.sxy ; // This is potentially wrong?396 modelPar[PM_PAR_SXY] = shape.sxy * 2.0; // XXX NEED factor of 2 here for correct angle conversion 395 397 } else { 396 398 modelPar[PM_PAR_SXX] = shape.sx * M_SQRT2;
Note:
See TracChangeset
for help on using the changeset viewer.
