Changeset 596 for trunk/src/series/time_series.m
- Timestamp:
- Mar 30, 2013, 11:34:27 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/time_series.m
r592 r596 6 6 %%%%%%%%%%% GENERAL TO ALL SERIES ACTION FCTS %%%%%%%%%%%%%%%%%%%%%%%%%%% 7 7 % 8 % This function is used in four modes by the GUI series:9 % 1) config GUI: with no input argument, the function determine the suitable GUI configuration10 % 2) interactive input: the function is used to interactively introduce input parameters, and then stops11 % 3) RUN: the function itself runs, when an appropriate input structure Param has been introduced.12 % 4) BATCH: the function itself proceeds in BATCH mode, using an xml file 'Param' as input.13 %14 % This function is used in four modes by the GUI series:15 % 1) config GUI: with no input argument, the function determine the suitable GUI configuration16 % 2) interactive input: the function is used to interactively introduce input parameters, and then stops17 % 3) RUN: the function itself runs, when an appropriate input structure Param has been introduced.18 % 4) BATCH: the function itself proceeds in BATCH mode, using an xml file 'Param' as input.19 %20 8 %OUTPUT 21 % GUI_input=list ofoptions in the GUI series.fig needed for the function9 % ParamOut: sets options in the GUI series.fig needed for the function 22 10 % 23 11 %INPUT: 24 12 % In run mode, the input parameters are given as a Matlab structure Param copied from the GUI series. 25 13 % In batch mode, Param is the name of the corresponding xml file containing the same information 26 % In the absence of input(as activated when the current Action is selected27 % in series), the function ouput GUI_input set the activation of the needed GUI elements14 % when Param.Action.RUN=0 (as activated when the current Action is selected 15 % in series), the function ouput paramOut set the activation of the needed GUI elements 28 16 % 29 % Param contains the elements:(use the menu bar command 'export/GUI config' in series to see the current structure Param) 17 % Param contains the elements:(use the menu bar command 'export/GUI config' in series to 18 % see the current structure Param) 30 19 % .InputTable: cell of input file names, (several lines for multiple input) 31 20 % each line decomposed as {RootPath,SubDir,Rootfile,NomType,Extension} … … 34 23 % .Action: .ActionName: name of the current activated function 35 24 % .ActionPath: path of the current activated function 25 % .ActionExt: fct extension ('.m', Matlab fct, '.sh', compiled Matlab fct 26 % .RUN =0 for GUI input, =1 for function activation 27 % .RunMode='local','background', 'cluster': type of function use 28 % 36 29 % .IndexRange: set the file or frame indices on which the action must be performed 37 30 % .FieldTransform: .TransformName: name of the selected transform function 38 31 % .TransformPath: path of the selected transform function 39 % .TransformHandle: corresponding function handle40 32 % .InputFields: sub structure describing the input fields withfields 41 % .FieldName: name of the field33 % .FieldName: name(s) of the field 42 34 % .VelType: velocity type 43 35 % .FieldName_1: name of the second field in case of two input series 44 36 % .VelType_1: velocity type of the second field in case of two input series 37 % .Coord_y: name of y coordinate variable 38 % .Coord_x: name of x coordinate variable 45 39 % .ProjObject: %sub structure describing a projection object (read from ancillary GUI set_object) 46 40 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 47 % 41 48 42 function ParamOut=time_series(Param) 49 43
Note: See TracChangeset
for help on using the changeset viewer.