- Timestamp:
- Dec 19, 2011, 10:13:39 AM (13 years ago)
- Location:
- trunk/src/series
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/aver_stat.m
r255 r340 134 134 135 135 %% number of slices 136 NbSlice=str2num(get(hseries.NbSlice,'String')); 137 if isempty(NbSlice) 138 NbSlice=1; 139 end 136 NbSlice=Series.IndexRange.NbSlice; 140 137 NbSlice_name=num2str(NbSlice); 141 138 -
trunk/src/series/check_data_files.m
r330 r340 49 49 50 50 % number of slices 51 NbSlice=str2num(get(hseries.NbSlice,'String'));52 if isempty(NbSlice)53 NbSlice=1;54 end 55 NbSlice_name=num2str( NbSlice);51 % NbSlice=str2num(get(hseries.NbSlice,'String')); 52 % if isempty(NbSlice) 53 % NbSlice=1; 54 NbSlice=Series.IndexRange.NbSlice 55 NbSlice_name=num2str(Series.IndexRange.NbSlice); 56 56 if isequal(NbSlice,[]),NbSlice=1; end; %default 57 57 … … 95 95 indselect(:,ifield)=((ifield-1)*NbSlice+(i_slice-1))*nbfield2+[1:nbfield2]';%selected indices on the list of files of a slice 96 96 end 97 filefound={}; 97 98 for index=1:nbfield*nbfield2 98 99 stopstate=get(hseries.RUN,'BusyAction'); 99 100 if isequal(stopstate,'queue')% enable STOP command 100 update_waitbar(hseries.waitbar ,WaitbarPos,index/(nbfield*nbfield2))101 update_waitbar(hseries.waitbar_frame,WaitbarPos,index/(nbfield*nbfield2)) 101 102 ifile=indselect(index); 102 103 file=... … … 137 138 end 138 139 end 139 if isempty(datnum) 140 % if isempty(datnum)||isempty(filefound) 141 if isempty(filefound) 140 142 if NbSlice>1 141 143 message=['no set of ' num2str(NbSlice) ' (NbSlices) files found']; -
trunk/src/series/clean_civ_cmx.m
r171 r340 54 54 hdir=dir(fullfile(Series.RootPath{iview},Series.SubDir{iview}));%list files 55 55 for ilist=1:length(hdir) 56 update_waitbar(hseries.waitbar,WaitbarPos,ilist/length(hdir))56 % update_waitbar(hseries.waitbar,WaitbarPos,ilist/length(hdir)) 57 57 FileName=hdir(ilist).name; 58 58 [dd,ff,Ext]=fileparts(FileName); -
trunk/src/series/time_series.m
r330 r340 98 98 99 99 %% number of slices 100 NbSlice=str2double(get(hseries.NbSlice,'String')); 101 if isnan(NbSlice) 102 NbSlice=1; 103 end 100 NbSlice=Series.NbSlice; 104 101 105 102 %% Field and velocity type (the same for the two views)
Note: See TracChangeset
for help on using the changeset viewer.