Changeset 745 for trunk/src/phys_XYZ.m
- Timestamp:
- Apr 18, 2014, 7:26:31 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/phys_XYZ.m
r242 r745 12 12 test_refraction=0; 13 13 if exist('Zindex','var')&& isequal(Zindex,round(Zindex))&& Zindex>0 && isfield(Calib,'SliceCoord')&&length(Calib.SliceCoord)>=Zindex 14 if isfield(Calib, 'SliceAngle') && ~isequal(Calib.SliceAngle,[0 0 0]) 14 if isfield(Calib, 'SliceAngle') && ~isequal(Calib.SliceAngle,[0 0 0]) && ~isequal(Calib.SliceAngle(Zindex,:),[0 0 0]) 15 15 testangle=1; 16 16 om=norm(Calib.SliceAngle(Zindex,:));%norm of rotation angle in radians
Note: See TracChangeset
for help on using the changeset viewer.