Mercurial > hg > ltpda
diff m-toolbox/test/MDC1/test_ltpda_mdc1_ifo2acc_inloop.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/test/MDC1/test_ltpda_mdc1_ifo2acc_inloop.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,24 @@ +% Test the computation of the in-loop acceleration terms +% +% M Hewitson 11-04-08 +% +% $Id: test_ltpda_mdc1_ifo2acc_inloop.m,v 1.1 2008/04/14 15:39:44 hewitson Exp $ +% + + +% Make a white-noise AO +fs = 10; +nsecs = 100000; + +o1 = ao(plist('tsfcn', 'randn(size(t))', 'fs', fs, 'nsecs', nsecs)); +o12 = ao(plist('tsfcn', 'randn(size(t))', 'fs', fs, 'nsecs', nsecs)); + +[a1, a2] = ltpda_mdc1_ifo2acc_inloop(plist('o1', o1, 'o12', o12)); + +% Spectra +a1xx = ltpda_lpsd(a1); +a2xx = ltpda_lpsd(a2); + +iplot(a1xx,a2xx) + +% END \ No newline at end of file