Changeset 605 for trunk/src/series/time_series.m
- Timestamp:
- Apr 5, 2013, 1:17:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/time_series.m
r599 r605 44 44 %% set the input elements needed on the GUI series when the action is selected in the menu ActionName 45 45 if isstruct(Param) && isequal(Param.Action.RUN,0) 46 ParamOut.AllowInputSort='off';...% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default) 47 ParamOut.WholeIndexRange='off';...% prescribes the file index ranges from min to max (options 'off'/'on', 'off' by default) 48 ParamOut.NbSlice='on'; ...%nbre of slices ('off' by default) 49 ParamOut.VelType='two';...% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 50 ParamOut.FieldName='two';...% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) 51 ParamOut.FieldTransform = 'on';...%can use a transform function 52 ParamOut.ProjObject='on';...%can use projection object(option 'off'/'on', 53 ParamOut.Mask='off';...%can use mask option (option 'off'/'on', 'off' by default) 54 ParamOut.OutputDirExt='.tseries';%set the output dir extension 46 ParamOut.AllowInputSort='off';% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default) 47 ParamOut.WholeIndexRange='off';% prescribes the file index ranges from min to max (options 'off'/'on', 'off' by default) 48 ParamOut.NbSlice='on'; %nbre of slices ('off' by default) 49 ParamOut.VelType='two';% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 50 ParamOut.FieldName='two';% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) 51 ParamOut.FieldTransform = 'on';%can use a transform function 52 ParamOut.ProjObject='on';%can use projection object(option 'off'/'on', 53 ParamOut.Mask='off';%can use mask option (option 'off'/'on', 'off' by default) 54 ParamOut.OutputDirExt='.tseries';%set the output dir extension 55 ParamOut.OutputFileMode='NbSlice';% '=NbInput': 1 output file per input file index, '=NbInput_i': 1 file per input file index i, '=NbSlice': 1 file per slice 56 filecell=get_file_series(Param);%check existence of the first input file 57 if ~exist(filecell{1,1},'file') 58 msgbox_uvmat('WARNING','the first input file does not exist') 59 elseif isequal(size(Param.InputTable,1),1) && ~isfield(Param,'ProjObject') 60 msgbox_uvmat('WARNING','a projection object needs to be introduced for time_series') 61 end 55 62 return 56 63 end
Note: See TracChangeset
for help on using the changeset viewer.