Changeset 478 for trunk/src/series/aver_stat.m
- Timestamp:
- Jun 26, 2012, 8:41:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/aver_stat.m
r474 r478 71 71 % RUN case: parameters introduced as the input structure Param 72 72 else 73 hseries=guidata(Param.hseries);%handles of the GUI series74 WaitbarPos=get(hseries.waitbar_frame,'Position');%position of the waitbar on the GUI series75 73 if isfield(Param,'Specific')&& strcmp(Param.Specific,'?') 76 74 checkrun=1;% will only search interactive input parameters (preparation of BATCH mode) … … 78 76 checkrun=2; % indicate the RUN option is used 79 77 end 78 hseries=guidata(Param.hseries);%handles of the GUI series 80 79 end 81 80 ParamOut=Param; %default output … … 137 136 %% coordinate transform or other user defined transform 138 137 transform_fct='';%default 139 if isfield(Param,'FieldTransform') 138 if isfield(Param,'FieldTransform')&&~isempty(Param.FieldTransform.TransformName) 140 139 addpath(Param.FieldTransform.TransformPath) 141 140 transform_fct=str2func(Param.FieldTransform.TransformName); … … 192 191 for index=index_slice 193 192 if checkrun 194 update_waitbar(hseries. waitbar_frame,WaitbarPos,index/(nbfield))193 update_waitbar(hseries.Waitbar,index/(nbfield)) 195 194 stopstate=get(hseries.RUN,'BusyAction'); 196 195 else … … 229 228 230 229 % field calculation (vort, div...) 231 if strcmp(FileType{1},'civx')||strcmp(FileType{1},'civ ')230 if strcmp(FileType{1},'civx')||strcmp(FileType{1},'civdata') 232 231 Data{1}=calc_field(InputFields{1}.FieldName,Data{1});%calculate field (vort..) 233 232 end
Note: See TracChangeset
for help on using the changeset viewer.