Changeset 932 for trunk/src/series
- Timestamp:
- Mar 15, 2016, 12:29:15 PM (9 years ago)
- Location:
- trunk/src/series
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_input.m
r924 r932 721 721 numlist_a(index)=numod_a; 722 722 numlist_b(index)=numod_b; 723 if size(time,2)>1 && ~checkframe 723 if size(time,2)>1 && ~checkframe && size(CivInputData.Time,1)>ref_i && size(CivInputData.Time,2)>numod_b 724 724 dt(numod_a,numod_b)=CivInputData.Time(ref_i+1,numod_b+1)-CivInputData.Time(ref_i+1,numod_a+1);%first time interval dt 725 725 displ_dt(index)=dt(numod_a,numod_b); -
trunk/src/series/civ_series.m
r924 r932 890 890 if isempty(errormsg) 891 891 disp([ncfile_out ' written']) 892 [success,msg] = fileattrib(ncfile_out ,'+w','g');% allow writing access for the group of users, recursively in the folder 892 893 else 893 894 disp(errormsg) -
trunk/src/series/extract_rdvision.m
r931 r932 451 451 uid_Dtj=find(t,'ImaDoc/Camera/BurstTiming/Dtj'); 452 452 uid_content=get(t,uid_Dtj,'contents'); 453 Dtj=str2num(get(t,uid_content,'value')); 454 nbfield2=numel(Dtj)+1; 455 timestamp=(reshape(timestamp,nbfield2,[]))'; 456 diff_Dtj=diff(timestamp(1,:))-Dtj; 457 if max(abs(diff_Dtj))>min(Dtj)/1000 458 disp(['Dtj from xml file differs from time stamp by ' num2str(max(abs(diff_Dtj))) ', '])%' 453 Dtjstring=get(t,uid_content,'value'); 454 if isempty(Dtjstring) 455 timestamp=timestamp'; 456 nbfield2=1; 459 457 else 460 disp('Dtj OK'); 461 end 462 458 Dtj=str2num(get(t,uid_content,'value')); 459 nbfield2=numel(Dtj)+1; 460 timestamp=(reshape(timestamp,nbfield2,[]))'; 461 diff_Dtj=diff(timestamp(1,:))-Dtj; 462 if max(abs(diff_Dtj))>min(Dtj)/1000 463 disp(['Dtj from xml file differs from time stamp by ' num2str(max(abs(diff_Dtj))) ', '])%' 464 else 465 disp('Dtj OK'); 466 end 467 end 463 468 %% correct NbDti 464 469 NbDti=size(timestamp,1); %default for series or burst … … 503 508 504 509 save(t,newxml) 505 506 507 508 510 [success,msg] = fileattrib(newxml,'+w','g');% allow writing access for the group of users 511 if success==0 512 msgbox_uvmat('WARNING',{['unable to set group write access to ' newxml ':']; msg1});%error message for directory creation 513 end 514 515 516
Note: See TracChangeset
for help on using the changeset viewer.