Changeset 605 for trunk/src/series/sub_background.m
- Timestamp:
- Apr 5, 2013, 1:17:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/sub_background.m
r599 r605 56 56 %% input preparation mode (no RUN) 57 57 if isstruct(Param) && isequal(Param.Action.RUN,0) 58 ParamOut.AllowInputSort='off'; ...% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default)59 ParamOut.WholeIndexRange='on'; ...% prescribes the file index ranges from min to max (options 'off'/'on', 'off' by default)60 ParamOut.NbSlice='on'; ...%nbre of slices ('off' by default)61 ParamOut.VelType='off'; ...% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default)62 ParamOut.FieldName='off'; ...% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default)63 ParamOut.FieldTransform = 'off'; ...%can use a transform function64 ParamOut.ProjObject='off'; ...%can use projection object(option 'off'/'on',65 ParamOut.Mask='off'; ...%can use mask option (option 'off'/'on', 'off' by default)58 ParamOut.AllowInputSort='off';% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default) 59 ParamOut.WholeIndexRange='on';% prescribes the file index ranges from min to max (options 'off'/'on', 'off' by default) 60 ParamOut.NbSlice='on'; %nbre of slices ('off' by default) 61 ParamOut.VelType='off';% menu for selecting the velocity type (options 'off'/'one'/'two', 'off' by default) 62 ParamOut.FieldName='off';% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default) 63 ParamOut.FieldTransform = 'off';%can use a transform function 64 ParamOut.ProjObject='off';%can use projection object(option 'off'/'on', 65 ParamOut.Mask='off';%can use mask option (option 'off'/'on', 'off' by default) 66 66 ParamOut.OutputDirExt='.sback';%set the output dir extension 67 67 ParamOut.OutputFileMode='NbInput';% '=NbInput': 1 output file per input file index, '=NbInput_i': 1 file per input file index i, '=NbSlice': 1 file per slice 68 filecell=get_file_series(Param);%check existence of the first input file 68 69 %%%%%%%%%%%% STANDARD PART (DO NOT EDIT) %%%%%%%%%%%% 69 70 70 71 %% root input file(s) and type 71 % RootPath=Param.InputTable(:,1);72 % RootFile=Param.InputTable(:,3);73 % SubDir=Param.InputTable(:,2);74 % NomType=Param.InputTable(:,4);75 % FileExt=Param.InputTable(:,5);76 72 [filecell,i1_series,i2_series,j1_series,j2_series]=get_file_series(Param); 73 if ~exist(filecell{1,1},'file') 74 msgbox_uvmat('WARNING','the first input file does not exist') 75 return 76 end 77 77 %%%%%%%%%%%% 78 78 % The cell array filecell is the list of input file names, while
Note: See TracChangeset
for help on using the changeset viewer.