run ~/deploy/matlab_virgo_tools/trunk/startup.m gstart = utc2gps(2016, 2, 16, 0, 0, 0); dur = 10; fmod = 6270777; [phi_6, t] = getChannel('DAQ_LNFS_6MHz_phi', gstart, dur); [phi_10, t] = getChannel('DAQ_Atomic_Clock_10MHz_phi', gstart, dur); phi_6 = detrend(phi_6); phi_10 = detrend(phi_10); multiPlot({t, 1e3 * phi_6}, {t, 1e3 * phi_10}, ... {t, 1e12 * (phi_6 / fmod + phi_10 / 10e6) / (2*pi)}, ... 'title', {'DAQ\_LNFS\_6MHz\_phi', 'DAQ\_Atomic\_Clock\_10MHz\_phi', ... 'relative time jitter'}, ... 'ylabel', {'mrad', 'mrad', 'ps'}, ... 'xlabel', sprintf('Time (s) after %s', gps2str(gstart)))