- Timestamp:
- Nov 7, 2025, 12:55:50 PM (4 weeks ago)
- File:
-
- 1 edited
-
trunk/src/phys_XYZ.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/phys_XYZ.m
r1184 r1186 44 44 Zphys=0; %default output 45 45 46 if isempty(Slice)47 Slice=Calib;%old convention < 202248 elseif ~isfield(Slice,'SliceCoord')% bad input49 Xphys=[];50 Yphys=[];% bad input51 return52 end46 % if isempty(Slice) 47 % Slice=Calib;%old convention < 2022 48 % elseif ~isfield(Slice,'SliceCoord')% bad input 49 % Xphys=[]; 50 % Yphys=[];% bad input 51 % return 52 % end 53 53 if exist('Zindex','var')&& isequal(Zindex,round(Zindex))&& Zindex>0 && isfield(Slice,'SliceCoord')&&size(Slice.SliceCoord,1)>=Zindex 54 54 if isfield(Slice, 'SliceAngle') && size(Slice.SliceAngle,1)>=Zindex && ~isequal(Slice.SliceAngle(Zindex,:),[0 0 0])
Note: See TracChangeset
for help on using the changeset viewer.
