Changeset 1059 for trunk/src/phys_XYZ.m
- Timestamp:
- Nov 29, 2018, 5:44:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/phys_XYZ.m
r1027 r1059 30 30 testangle=0; 31 31 test_refraction=0; 32 if exist('Zindex','var')&& isequal(Zindex,round(Zindex))&& Zindex>0 && isfield(Calib,'SliceCoord')&& length(Calib.SliceCoord)>=Zindex32 if exist('Zindex','var')&& isequal(Zindex,round(Zindex))&& Zindex>0 && isfield(Calib,'SliceCoord')&&size(Calib.SliceCoord,1)>=Zindex 33 33 if isfield(Calib, 'SliceAngle') && ~isequal(Calib.SliceAngle,[0 0 0]) && ~isequal(Calib.SliceAngle(Zindex,:),[0 0 0]) 34 34 testangle=1; … … 43 43 % Z0=norm_plane*Calib.SliceCoord(Zindex,:)'/norm_plane(3); 44 44 end 45 45 Z0=Calib.SliceCoord(Zindex,3);%horizontal plane z=cte 46 46 % end 47 47 Z0virt=Z0;
Note: See TracChangeset
for help on using the changeset viewer.