Changeset 1001 for trunk/src/series


Ignore:
Timestamp:
Feb 27, 2017, 9:28:27 AM (7 years ago)
Author:
sommeria
Message:

tubcorrelation added, compilation improved to accept tranform fct

Location:
trunk/src/series
Files:
2 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/time_series.m

    r984 r1001  
    6767    ParamOut.VelType='two';% menu for selecting the velocity type (options 'off'/'one'/'two',  'off' by default)
    6868    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
    7175    ParamOut.ProjObject='on';%can use projection object(option 'off'/'on',
    7276    ParamOut.Mask='off';%can use mask option   (option 'off'/'on', 'off' by default)
     
    217221transform_fct=[];%default
    218222if isfield(Param,'FieldTransform')&&~isempty(Param.FieldTransform.TransformName)
    219     addpath(Param.FieldTransform.TransformPath)
     223    %addpath(Param.FieldTransform.TransformPath)
    220224    transform_fct=str2func(Param.FieldTransform.TransformName);
    221     rmpath(Param.FieldTransform.TransformPath)
     225    %rmpath(Param.FieldTransform.TransformPath)
    222226    if isfield(Param,'TransformInput')
    223227        XmlData{1}.TransformInput=Param.TransformInput;
Note: See TracChangeset for help on using the changeset viewer.