Home > cbassSouthFunctions > timingChecks > timingAnalysisLJ.m

timingAnalysisLJ

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 d=read_arcSouthTiming('18-Oct-2013:01:00:00','18-Oct-2013:18:00:00')
0002 close all
0003 
0004 tstart=d.antenna0.roach1.utc(1);
0005 buffresample1=interp(d.antenna0.roach1.buffBacklog,100);
0006 buffresample2=interp(d.antenna0.roach2.buffBacklog,100);
0007 
0008 h(1)=subplot(421)
0009 plot((d.antenna0.roach1.utc-tstart)*86400)
0010 hold
0011 plot((d.antenna0.roach2.utc-tstart)*86400,'r')
0012 title('roach1.utc (blue) roach2.utc (red)')
0013 
0014 h(2)=subplot(423)
0015 plot(buffresample1)
0016 hold
0017 plot(buffresample2,'r')
0018 title('roach1.buffBacklog (blue) roach2.buffBacklog (red)')
0019 
0020 h(3)=subplot(425)
0021 plot(d.antenna0.roach1.roachSeconds)
0022 hold
0023 plot(d.antenna0.roach2.roachSeconds,'r')
0024 title('roach1.roachSeconds (blue) roach2.roachSeconds (red)')
0025 
0026 h(4)=subplot(427)
0027 plot(mean(d.antenna0.roach1.LLfreq,2))
0028 hold
0029 plot(mean(d.antenna0.roach2.LLfreq,2),'r')
0030 title('roach1.LL (blue) roach2.LL (red)')
0031 
0032 h(5)=subplot(422)
0033 plot((d.antenna0.roach1.utc-d.antenna0.roach2.utc)*86400)
0034 title('roach1.utc - roach2.utc (s)')
0035 
0036 h(6)=subplot(424)
0037 plot(buffresample1-buffresample2)
0038 title('roach1.buffBacklog - roach2.buffBacklog')
0039 
0040 h(7)=subplot(426)
0041 plot(d.antenna0.roach1.roachSeconds-d.antenna0.roach2.roachSeconds)
0042 title('roach1.roachSeconds - roach2.roachSeconds')
0043 
0044 linkaxes(h,'x')
0045 
0046 figure
0047 a=abs(fft((d.antenna0.roach1.utc-d.antenna0.roach2.utc)*86400));
0048 plot(a)
0049 title('fft of utc difference')
0050 
0051

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005