Changeset 592 for trunk/src/series/check_data_files.m
- Timestamp:
- Mar 25, 2013, 6:34:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/check_data_files.m
r573 r592 34 34 function ParamOut=check_data_files(Param) 35 35 36 %% set the input elements needed on the GUI series when the action is selected in the menu ActionName 37 if ~exist('Param','var') % case with no input parameter 38 ParamOut={'NbViewMax';'';...% max nbre of input file series (default='' , no limitation) 39 'AllowInputSort';'off';...% allow alphabetic sorting of the list of input files (options 'off'/'on', 'off' by default) 40 'NbSlice';'on'; ...%nbre of slices ('off' by default) 41 'VelType';'off';...% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 42 'FieldName';'off';...% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) 43 'FieldTransform'; 'off';...%can use a transform function 44 'ProjObject';'off';...%can use projection object(option 'off'/'on', 45 'Mask';'off';...%can use mask option (option 'off'/'on', 'off' by default) 46 'OutputDirExt';'';...%set the output dir extension 47 ''}; 48 return 36 % %% set the input elements needed on the GUI series when the action is selected in the menu ActionName 37 % if ~exist('Param','var') % case with no input parameter 38 % ParamOut={'NbViewMax';'';...% max nbre of input file series (default='' , no limitation) 39 % 'AllowInputSort';'off';...% allow alphabetic sorting of the list of input files (options 'off'/'on', 'off' by default) 40 % 'NbSlice';'on'; ...%nbre of slices ('off' by default) 41 % 'VelType';'off';...% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 42 % 'FieldName';'off';...% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) 43 % 'FieldTransform'; 'off';...%can use a transform function 44 % 'ProjObject';'off';...%can use projection object(option 'off'/'on', 45 % 'Mask';'off';...%can use mask option (option 'off'/'on', 'off' by default) 46 % 'OutputDirExt';'';...%set the output dir extension 47 % ''}; 48 % return 49 % end 50 %% input preparation mode (no RUN) 51 if isstruct(Param) && isequal(Param.Action.RUN,0) 52 ParamOut.AllowInputSort='off';...% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default) 53 ParamOut.WholeIndexRange='off';...% prescribes the file index ranges from min to max (options 'off'/'on', 'off' by default) 54 ParamOut.NbSlice='on'; ...%nbre of slices ('off' by default) 55 ParamOut.VelType='off';...% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 56 ParamOut.FieldName='off';...% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) 57 ParamOut.FieldTransform = 'off';...%can use a transform function 58 ParamOut.ProjObject='off';...%can use projection object(option 'off'/'on', 59 ParamOut.Mask='off';...%can use mask option (option 'off'/'on', 'off' by default) 60 ParamOut.OutputDirExt='';%set the output dir extension (blank=no output dir) 61 return 49 62 end 50 51 63 %%%%%%%%%%%% STANDARD PART %%%%%%%%%%%% 52 64 %% select different modes, RUN, parameter input, BATCH … … 74 86 FileExt=Param.InputTable(:,5); 75 87 [filecell,i1_series,i2_series,j1_series,j2_series]=get_file_series(Param); 88 if isempty(i1_series) 89 return 90 end 76 91 %%%%%%%%%%%% 77 92 % The cell array filecell is the list of input file names, while
Note: See TracChangeset
for help on using the changeset viewer.