- Timestamp:
- Feb 28, 2011, 11:30:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/phys.m
r209 r211 282 282 test_refraction=0; 283 283 if exist('Zindex','var')&& isequal(Zindex,round(Zindex))&& Zindex>0 && isfield(Calib,'SliceCoord')&&length(Calib.SliceCoord)>=Zindex 284 if isfield(Calib, 'SliceAngle') && ~isequal(Calib.SliceAngle, 0)284 if isfield(Calib, 'SliceAngle') && ~isequal(Calib.SliceAngle,[0 0 0]) 285 285 testangle=1; 286 286 om=norm(Calib.SliceAngle(Zindex,:));%norm of rotation angle in radians
Note: See TracChangeset
for help on using the changeset viewer.