Changeset 1170 for trunk/src/series
- Timestamp:
- Jan 17, 2025, 10:47:01 PM (3 weeks ago)
- Location:
- trunk/src/series
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_input.m
r1169 r1170 877 877 ref_j=[]; 878 878 if isequal(mode_selected,'pair j1-j2')%|isequal(mode,'st_pair j1-j2') 879 ref_j=0; 879 ref_j=0; 880 MinIndex_j=str2num(get(handles.MinIndex_j,'String')); 881 MaxIndex_j=str2num(get(handles.MaxIndex_j,'String')); 882 if MaxIndex_j-MinIndex_j>10 883 mode_selected= 'series(Dj)'; 884 ref_j= str2double(get(handles.ref_j,'String')); 885 end 880 886 elseif strcmp(get(handles.ref_j,'Visible'),'on') 881 887 ref_j=str2double(get(handles.ref_j,'String')); … … 935 941 end 936 942 case 'pair j1-j2'%case of pairs 937 MinIndex_j=str2num(get(handles.MinIndex_j,'String')); 938 MaxIndex_j=str2num(get(handles.MaxIndex_j,'String')); 943 % MinIndex_j=str2num(get(handles.MinIndex_j,'String')); 944 % MaxIndex_j=str2num(get(handles.MaxIndex_j,'String')); 945 % if MaxIndex_j-MinIndex_j>10 946 % disp('too many pairs, switch to mode series(Dj)') 947 % return 948 % end 939 949 index_pair=0; 940 950 %get all the Time intervals in bursts -
trunk/src/series/civ_series.m
r1169 r1170 73 73 Data.OutputFileMode='NbInput_i';% one output file expected per value of i index (used for waitbar) 74 74 Data.CheckOverwriteVisible='on'; % manage the overwrite of existing files (default=1) 75 if isfield(Data,'ActionInput') && isfield(Data.ActionInput,'PairIndices') && strcmp(Data.ActionInput.PairIndices.ListPairMode,'pair j1-j2')75 if isfield(Data,'ActionInput') && isfield(Data.ActionInput,'PairIndices') && isequal(Data.ActionInput.PairIndices.ListPairMode,'pair j1-j2') 76 76 Data.IndexRange_j='off';%no j index display in series 77 77 else … … 346 346 [FileInfo_A,VideoObject_A]=get_file_info(ImageName_A); 347 347 FileType_A=FileInfo_A.FileType; 348 if isempty(Time) && ~isempty(find(strcmp(FileType_A,{'mmreader','video','cine_phantom' }), 1))% case of video input349 Time=zeros(FileInfo_A.NumberOfFrames+1,2); 348 if isempty(Time) && ~isempty(find(strcmp(FileType_A,{'mmreader','video','cine_phantom','telopsIR'}), 1))% case of video input 349 Time=zeros(FileInfo_A.NumberOfFrames+1,2); 350 350 Time(:,2)=(0:1/FileInfo_A.FrameRate:(FileInfo_A.NumberOfFrames)/FileInfo_A.FrameRate)'; 351 if ~isempty(j1_series_Civ1) && j1_series_Civ1~=1 352 Time=Time'; 353 end 351 354 end 352 355 if ~isempty(FileType_A) && isempty(Time)% Time = index i +0.001 index j by default
Note: See TracChangeset
for help on using the changeset viewer.