Changeset 557 for trunk/src/transform_field/phys.m
- Timestamp:
- Oct 19, 2012, 5:26:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/phys.m
r545 r557 25 25 % 'D_i' if '.Role='vector_x,...', 26 26 % 'scalar', else (thenno change except scale factor) 27 %% set GUI config 27 %% set GUI config if DataIn='*' 28 28 DataOut=[]; 29 29 DataOut_1=[]; %default second output field 30 30 if strcmp(DataIn,'*') 31 31 if isfield(XmlData,'GeometryCalib')&& isfield(XmlData.GeometryCalib,'CoordUnit') 32 DataOut.CoordUnit=XmlData.GeometryCalib.CoordUnit; 32 DataOut.CoordUnit=XmlData.GeometryCalib.CoordUnit;% states that the output is in unit defined by GeometryCalib, then erased all projection objects with different units 33 33 end 34 34 return
Note: See TracChangeset
for help on using the changeset viewer.