- Timestamp:
- Jun 11, 2013, 9:23:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSource.c
r34403 r35646 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.
