Changeset 1144 for trunk/src/series.m
- Timestamp:
- May 13, 2024, 9:49:09 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r1141 r1144 645 645 else %scan the input folder 646 646 InputTable{iview,3}=regexprep(InputTable{iview,3},'^/','');%suppress '/' at the beginning of the input name 647 i1=str2num(get(handles.num_first_i,'String')); 648 j1=str2num(get(handles.num_first_j,'String')); 649 InputFile=fullfile_uvmat('','',InputTable{iview,3},InputTable{iview,5},InputTable{iview,4},i1,[],j1,[]); 650 [RootPath,~,RootFile,i1_series,i2_series,j1_series,j2_series,tild,FileInfo,MovieObject]=... 647 i1=str2double(get(handles.num_first_i,'String')); 648 j1=str2double(get(handles.num_first_j,'String')); 649 j2=[];%default 650 PairString=get(handles.PairString,'Data'); 651 if numel(PairString)>=iview 652 checkpair=strfind(PairString{iview},'j='); 653 if checkpair 654 j1=str2double(PairString{iview}(4)); 655 j2=str2double(PairString{iview}(6)); 656 end 657 end 658 InputFile=fullfile_uvmat('','',InputTable{iview,3},InputTable{iview,5},InputTable{iview,4},i1,[],j1,j2); 659 [RootPath,~,RootFile,i1_series,i2_series,j1_series,j2_series,tild,FileInfo,MovieObject]=... 651 660 find_file_series(fullfile(InputTable{iview,1},InputTable{iview,2}),InputFile); 652 661 end … … 1311 1320 function num_last_j_Callback(hObject, eventdata, handles) 1312 1321 %------------------------------------------------------------------------ 1313 % first_j=str2num(get(handles.num_first_j,'String'));1314 % last_j=str2num(get(handles.num_last_j,'String'));1315 % ref_j=ceil((first_j+last_j)/2);1316 % set(handles.num_ref_j,'String', num2str(ref_j))1317 % num_ref_j_Callback(hObject, eventdata, handles)1318 1322 SeriesData=get(handles.series,'UserData'); 1319 1323 if ~isfield(SeriesData,'Time') … … 1346 1350 %Pairs=get(handles.PairString,'Data'); 1347 1351 for iview=1:size(TimeTable,1) 1348 if size(SeriesData.Time,1)<iview1352 if numel(SeriesData.Time)<iview 1349 1353 break 1350 1354 end … … 2689 2693 2690 2694 %% NbSlice visibility 2691 if isfield(ParamOut,'OutputFileMode')&& strcmp(ParamOut.OutputFileMode,'NbSlice')2692 ParamOut.NbSlice='on';2693 end2695 % if isfield(ParamOut,'OutputFileMode')&& strcmp(ParamOut.OutputFileMode,'NbSlice') 2696 % ParamOut.NbSlice='on'; 2697 % end 2694 2698 if isfield(ParamOut,'NbSlice') && (strcmp(ParamOut.NbSlice,'on')||isnumeric(ParamOut.NbSlice)) 2695 2699 set(handles.num_NbSlice,'Visible','on') 2696 2700 set(handles.NbSlice_title,'Visible','on') 2701 if isnumeric(ParamOut.NbSlice) 2702 set(handles.num_NbSlice,'String',num2str(ParamOut.NbSlice)) 2703 end 2697 2704 else 2698 2705 set(handles.num_NbSlice,'Visible','off')
Note: See TracChangeset
for help on using the changeset viewer.