diff --git a/docs/acquisition.rst b/docs/acquisition.rst index fdaab29..a967040 100644 --- a/docs/acquisition.rst +++ b/docs/acquisition.rst @@ -24,16 +24,13 @@ length of 1,023 chips at a chipping rate of 1.023 MHz). .. ipython:: - @suppress - In [24]: %cd .. - In [1]: import peregrine.acquisition In [1]: import peregrine.samples In [2]: import peregrine.analysis.acquisition - In [2]: samps = peregrine.samples.load_samples("tests/test_samples.dat") + In [2]: samps = peregrine.samples.load_samples("../tests/test_samples.dat") In [2]: acq = peregrine.acquisition.Acquisition(samps, 16.368e6, 4.092e6, 16368) @@ -80,9 +77,9 @@ Acquisition results can be saved and loaded from a file using the .. ipython:: - In [22]: peregrine.acquisition.save_acq_results("tests/test.acq_results", res) + In [22]: peregrine.acquisition.save_acq_results("../tests/test.acq_results", res) - In [22]: res2 = peregrine.acquisition.load_acq_results("tests/test.acq_results") + In [22]: res2 = peregrine.acquisition.load_acq_results("../tests/test.acq_results") In [13]: peregrine.analysis.acquisition.acq_table(res2) diff --git a/docs/samples.rst b/docs/samples.rst index b7c70ab..7a298c2 100644 --- a/docs/samples.rst +++ b/docs/samples.rst @@ -85,14 +85,11 @@ analysing and plotting sample data. .. ipython:: - @suppress - In [24]: %cd .. - In [1]: import peregrine.samples In [2]: import peregrine.analysis.samples - In [3]: samps = peregrine.samples.load_samples("tests/test_samples.dat") + In [3]: samps = peregrine.samples.load_samples("../tests/test_samples.dat") @savefig samples_analysis_summary.png width=75% align=center In [13]: peregrine.analysis.samples.summary(samps, 16.368e6) diff --git a/tests/test.acq_results b/tests/test.acq_results index 1641a79..35d0d7b 100644 --- a/tests/test.acq_results +++ b/tests/test.acq_results @@ -39,7 +39,7 @@ sS'snr' p17 g6 (g10 -S'\x1bX\x0c\x99\x0b}/@' +S'\x1eX\x0c\x99\x0b}/@' p18 tp19 Rp20 @@ -73,7 +73,7 @@ I1 sg17 g6 (g10 -S'\xd7\x12\xc3\r\x94\xf98@' +S'\xd8\x12\xc3\r\x94\xf98@' p32 tp33 Rp34 @@ -104,7 +104,7 @@ I2 sg17 g6 (g10 -S"04A\rb\xab'@" +S"14A\rb\xab'@" p43 tp44 Rp45 @@ -135,7 +135,7 @@ I3 sg17 g6 (g10 -S'\x1d\x17S]bf(@' +S'\x1e\x17S]bf(@' p54 tp55 Rp56 @@ -166,7 +166,7 @@ I4 sg17 g6 (g10 -S'\xf9c\xe4D>\xb0&@' +S'\xf4c\xe4D>\xb0&@' p65 tp66 Rp67 @@ -197,7 +197,7 @@ I5 sg17 g6 (g10 -S'\xeaQ\xf1\x9ay\x17)@' +S'\xe5Q\xf1\x9ay\x17)@' p76 tp77 Rp78 @@ -228,7 +228,7 @@ I6 sg17 g6 (g10 -S"3ex\xfb\xd8U'@" +S"0ex\xfb\xd8U'@" p87 tp88 Rp89 @@ -259,7 +259,7 @@ I7 sg17 g6 (g10 -S'\xf8\xdaz\xc8[\xa8,@' +S'\xf7\xdaz\xc8[\xa8,@' p98 tp99 Rp100 @@ -290,7 +290,7 @@ I8 sg17 g6 (g10 -S'$R>\x8c\xed\n5@' +S'"R>\x8c\xed\n5@' p109 tp110 Rp111 @@ -321,7 +321,7 @@ I9 sg17 g6 (g10 -S'\xcc&\x7ft\xa7\xb6$@' +S'\xcd&\x7ft\xa7\xb6$@' p120 tp121 Rp122 @@ -352,7 +352,7 @@ I10 sg17 g6 (g10 -S'[p\x06@\xdc\xa1%@' +S'\\p\x06@\xdc\xa1%@' p131 tp132 Rp133 @@ -414,7 +414,7 @@ I12 sg17 g6 (g10 -S"\x1e\x99\xc0'<\xe3%@" +S"\x1c\x99\xc0'<\xe3%@" p153 tp154 Rp155 @@ -538,7 +538,7 @@ I16 sg17 g6 (g10 -S"`\xaf\x00\xae\xee\xf7'@" +S"b\xaf\x00\xae\xee\xf7'@" p197 tp198 Rp199 @@ -569,7 +569,7 @@ I17 sg17 g6 (g10 -S"\xcc!\x05\x02#\x80'@" +S"\xc8!\x05\x02#\x80'@" p208 tp209 Rp210 @@ -600,7 +600,7 @@ I18 sg17 g6 (g10 -S'\t\xe3\xaec\xe2\x9b+@' +S'\x08\xe3\xaec\xe2\x9b+@' p219 tp220 Rp221 @@ -631,7 +631,7 @@ I19 sg17 g6 (g10 -S'\x14\xac\x9f\xf1\x84|%@' +S'\x13\xac\x9f\xf1\x84|%@' p230 tp231 Rp232 @@ -662,7 +662,7 @@ I20 sg17 g6 (g10 -S"\x99\x02\xa0r\x85T'@" +S"\x9b\x02\xa0r\x85T'@" p241 tp242 Rp243 @@ -693,7 +693,7 @@ I21 sg17 g6 (g10 -S'[\xbd]~\xd5\xaf-@' +S'`\xbd]~\xd5\xaf-@' p252 tp253 Rp254 @@ -724,7 +724,7 @@ I22 sg17 g6 (g10 -S'\x00]2\xd1\xd5\xc6$@' +S'\x02]2\xd1\xd5\xc6$@' p263 tp264 Rp265 @@ -786,7 +786,7 @@ I24 sg17 g6 (g10 -S"=\xfcsz9\x8c'@" +S"B\xfcsz9\x8c'@" p285 tp286 Rp287 @@ -817,7 +817,7 @@ I25 sg17 g6 (g10 -S'\xaa\\w\xf1\x98\xba-@' +S'\xab\\w\xf1\x98\xba-@' p296 tp297 Rp298 @@ -848,7 +848,7 @@ I26 sg17 g6 (g10 -S'\x18\xda1\xa8\xe54+@' +S' \xda1\xa8\xe54+@' p307 tp308 Rp309 @@ -879,7 +879,7 @@ I27 sg17 g6 (g10 -S'\rk\xa1\xd8E\xa0&@' +S'\x13k\xa1\xd8E\xa0&@' p318 tp319 Rp320 @@ -910,7 +910,7 @@ I28 sg17 g6 (g10 -S"'\xac\x05\x96\x04w*@" +S'%\xac\x05\x96\x04w*@' p329 tp330 Rp331 @@ -941,7 +941,7 @@ I29 sg17 g6 (g10 -S'`\x1fK\x08u[&@' +S'^\x1fK\x08u[&@' p340 tp341 Rp342 @@ -972,7 +972,7 @@ I30 sg17 g6 (g10 -S'\xa0\xe1\xdc\xe0 y*@' +S'\x9f\xe1\xdc\xe0 y*@' p351 tp352 Rp353 @@ -1003,7 +1003,7 @@ I31 sg17 g6 (g10 -S'\x14\xd7\xf6\xad\xcd\x1b(@' +S'\x11\xd7\xf6\xad\xcd\x1b(@' p362 tp363 Rp364