Changeset 592 for trunk/src/series/check_peaklock.m
- Timestamp:
- Mar 25, 2013, 6:34:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/check_peaklock.m
r590 r592 192 192 break 193 193 end 194 if ~isempty(NbSlice_calib)195 Data{iview}.ZIndex=mod(i1_series{iview}(index)-1,NbSlice_calib{iview})+1;%Zindex for phys transform196 end197 194 end 198 195 if isempty(errormsg) … … 209 206 end 210 207 end 211 nbfile=nbfile+1;212 208 213 209 % initiate the time series at the first iteration 214 if nbfile==1210 if index==1 215 211 % stop program if the first field reading is in error 216 212 if ~isempty(errormsg) … … 287 283 end 288 284 end 289 290 % record the time: 291 if isempty(time)% time not set by xml filer(s) 292 if isfield(Data{1},'Time') 293 DataOut.Time(nbfile,1)=Field.Time; 294 else 295 DataOut.Time(nbfile,1)=index;%default 296 end 297 else % time from ImaDoc prevails TODO: correct 298 DataOut.Time(nbfile,1)=time(index);% 299 end 300 301 % record the number of missing input fields 302 if ~isempty(errormsg) 303 nbmissing=nbmissing+1; 304 display(['index=' num2str(index) ':' errormsg]) 305 end 285 306 286 end 307 287 end
Note: See TracChangeset
for help on using the changeset viewer.