Changeset 35768 for trunk/psModules/src/objects/pmSource.c
- Timestamp:
- Jul 3, 2013, 2:37:22 PM (13 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmSource.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20130509/psModules (added) merged: 35594,35613,35628,35638-35639,35643-35648,35653,35657,35662,35750
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/pmSource.c
r34403 r35768 1145 1145 bool status; 1146 1146 psEllipseShape oldshape; 1147 psEllipseShape newshape;1148 1147 psEllipseAxes axes; 1149 1148 … … 1166 1165 if (!isfinite(oldI0)) return false; 1167 1166 1167 bool useReff = pmModelUseReff (model->type); 1168 pmModelParamsToAxes (&axes, PAR[PM_PAR_SXX], PAR[PM_PAR_SXY], PAR[PM_PAR_SYY], useReff); 1169 1168 1170 // increase size and height of source 1169 axes = psEllipseShapeToAxes (oldshape, 20.0);1170 1171 axes.major *= SIZE; 1171 1172 axes.minor *= SIZE; 1172 newshape = psEllipseAxesToShape (axes); 1173 1174 pmModelAxesToParams (&PAR[PM_PAR_SXX], &PAR[PM_PAR_SXY], &PAR[PM_PAR_SYY], axes, useReff); 1173 1175 PAR[PM_PAR_I0] = FACTOR*oldI0; 1174 PAR[PM_PAR_SXX] = newshape.sx;1175 PAR[PM_PAR_SYY] = newshape.sy;1176 PAR[PM_PAR_SXY] = newshape.sxy;1177 1176 1178 1177 psImage *target = source->variance;
Note:
See TracChangeset
for help on using the changeset viewer.
