Ignore:
Timestamp:
Oct 19, 2012, 5:26:57 PM (11 years ago)
Author:
sommeria
Message:

functions updated to fit with new conventions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/phys.m

    r545 r557  
    2525%            'D_i' if '.Role='vector_x,...',
    2626%              'scalar', else (thenno change except scale factor)
    27 %% set GUI config
     27%% set GUI config if DataIn='*'
    2828DataOut=[];
    2929DataOut_1=[]; %default second  output field
    3030if strcmp(DataIn,'*')
    3131    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
    3333    end
    3434    return
Note: See TracChangeset for help on using the changeset viewer.