Changeset 1001 for trunk/src/series
- Timestamp:
- Feb 27, 2017, 9:28:27 AM (8 years ago)
- Location:
- trunk/src/series
- Files:
-
- 2 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/time_series.m
r984 r1001 67 67 ParamOut.VelType='two';% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 68 68 ParamOut.FieldName='two';% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) 69 ParamOut.FieldTransform = 'on';%can use a transform function 70 ParamOut.TransformPath=fullfile(fileparts(which('uvmat')),'transform_field');% path to transform functions (needed for compilation only) 69 ParamOut.FieldTransform = {'phys','phys_polar'};%can use a transform function, proposed list (needed for compilation) 70 ParamOut.TransformPath=fullfile(fileparts(which('uvmat')),'transform_field');% path to transform functions (needed for compilation only) 71 if 1==2 % loop used to enforce compilation of transform fct, never entered. 72 phys 73 phys_polar 74 end 71 75 ParamOut.ProjObject='on';%can use projection object(option 'off'/'on', 72 76 ParamOut.Mask='off';%can use mask option (option 'off'/'on', 'off' by default) … … 217 221 transform_fct=[];%default 218 222 if isfield(Param,'FieldTransform')&&~isempty(Param.FieldTransform.TransformName) 219 addpath(Param.FieldTransform.TransformPath)223 %addpath(Param.FieldTransform.TransformPath) 220 224 transform_fct=str2func(Param.FieldTransform.TransformName); 221 rmpath(Param.FieldTransform.TransformPath)225 %rmpath(Param.FieldTransform.TransformPath) 222 226 if isfield(Param,'TransformInput') 223 227 XmlData{1}.TransformInput=Param.TransformInput;
Note: See TracChangeset
for help on using the changeset viewer.