plots for arb0 testing
authorDan White <dan@whiteaudio.com>
Fri, 5 Apr 2013 03:52:41 +0000 (22:52 -0500)
committerDan White <dan@whiteaudio.com>
Fri, 5 Apr 2013 03:52:41 +0000 (22:52 -0500)
13 files changed:
python-lib/arb0-2013-04-04_220303.npz [new file with mode: 0644]
python-lib/arb0-2013-04-04_220303.pdf [new file with mode: 0644]
python-lib/arb0-2013-04-04_220303.yaml [new file with mode: 0644]
python-lib/arb0-2013-04-04_221159.npz [new file with mode: 0644]
python-lib/arb0-2013-04-04_221159.pdf [new file with mode: 0644]
python-lib/arb0-2013-04-04_221159.yaml [new file with mode: 0644]
python-lib/arb0-2013-04-04_221650.npz [new file with mode: 0644]
python-lib/arb0-2013-04-04_221650.pdf [new file with mode: 0644]
python-lib/arb0-2013-04-04_221650.yaml [new file with mode: 0644]
python-lib/arb0-2013-04-04_224508.npz [new file with mode: 0644]
python-lib/arb0-2013-04-04_224508.pdf [new file with mode: 0644]
python-lib/arb0-2013-04-04_224508.yaml [new file with mode: 0644]
python-lib/slope-arb.py

diff --git a/python-lib/arb0-2013-04-04_220303.npz b/python-lib/arb0-2013-04-04_220303.npz
new file mode 100644 (file)
index 0000000..403b1e4
Binary files /dev/null and b/python-lib/arb0-2013-04-04_220303.npz differ
diff --git a/python-lib/arb0-2013-04-04_220303.pdf b/python-lib/arb0-2013-04-04_220303.pdf
new file mode 100644 (file)
index 0000000..c045b39
Binary files /dev/null and b/python-lib/arb0-2013-04-04_220303.pdf differ
diff --git a/python-lib/arb0-2013-04-04_220303.yaml b/python-lib/arb0-2013-04-04_220303.yaml
new file mode 100644 (file)
index 0000000..43657eb
--- /dev/null
@@ -0,0 +1,335 @@
+amux:
+  csname: chain1_mux
+  otaA: {fast: 0, gain: 0, mode: 4, offset: 0}
+  otaB: {fast: 0, gain: 0, mode: 4, offset: 0}
+  selA: 16
+  selB: 16
+arb:
+  csname: chain1_conf
+  harmonics:
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+    otaB: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  length: 16
+chain:
+  csname: chain0_conf
+  harmonics:
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 46, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 110, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 108, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 56, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 85, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 59, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 89, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 80, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 118, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 100, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 68, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 94, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 60, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 97, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 126, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 72, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 90, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 58, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 87, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 117, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 96, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 123, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 83, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  length: 48
+dac: {cs: dac, vbias_buf: 0.0, vbias_core: 0.0, vcmi: 1.24998935546875, vina: 1.24998935546875,
+  vinb: 1.24998935546875}
+date: 2013-04-04_220303
+i2c: {delay: 0.0001, interface: 3, pid: 24593, scl: 0, sda: 1, timeout: 100, vid: 1027}
+ibias: {addr: 0, gpo1: 0, gpo2: 0, posA: 128, posB: 128}
+isupply: {AVdd_atoi: 0.00199131181640625, DVdd_ns430: 0.00039911726562499996, Vdd_digi: 0.02053292236328125,
+  Vdd_ns430: 0.0205237626953125}
+mux:
+  csname: chain0_mux
+  otaA: {fast: 1, gain: 15, mode: 2, offset: 44}
+  otaB: {fast: 1, gain: 15, mode: 2, offset: 81}
+  selA: 48
+  selB: 48
+spi0:
+  cs:
+    _idle: [-1, 200]
+    _mask: [-1, 56]
+    adc: [1, 232]
+    convst: [1, 248]
+    dac: [1, 216]
+    flash: [3, 192]
+  freq: 1000000.0
+  interface: 1
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 249
+  vid: 1027
+spi1:
+  cs:
+    _idle: [-1, 248]
+    _mask: [-1, 248]
+    chain0_conf: [0, 240]
+    chain0_mux: [0, 232]
+    chain1_conf: [0, 216]
+    chain1_mux: [0, 184]
+  freq: 1000000.0
+  interface: 2
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 184
+  vid: 1027
+v430:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 0
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
+vatoi:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 0
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
diff --git a/python-lib/arb0-2013-04-04_221159.npz b/python-lib/arb0-2013-04-04_221159.npz
new file mode 100644 (file)
index 0000000..2d8b877
Binary files /dev/null and b/python-lib/arb0-2013-04-04_221159.npz differ
diff --git a/python-lib/arb0-2013-04-04_221159.pdf b/python-lib/arb0-2013-04-04_221159.pdf
new file mode 100644 (file)
index 0000000..93decee
Binary files /dev/null and b/python-lib/arb0-2013-04-04_221159.pdf differ
diff --git a/python-lib/arb0-2013-04-04_221159.yaml b/python-lib/arb0-2013-04-04_221159.yaml
new file mode 100644 (file)
index 0000000..9408708
--- /dev/null
@@ -0,0 +1,335 @@
+amux:
+  csname: chain1_mux
+  otaA: {fast: 0, gain: 0, mode: 4, offset: 0}
+  otaB: {fast: 0, gain: 0, mode: 4, offset: 0}
+  selA: 16
+  selB: 16
+arb:
+  csname: chain1_conf
+  harmonics:
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+    otaB: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  length: 16
+chain:
+  csname: chain0_conf
+  harmonics:
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 46, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 110, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 108, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 56, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 85, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 59, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 89, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 80, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 118, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 100, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 68, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 94, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 60, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 97, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 126, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 72, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 90, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 58, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 87, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 117, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 96, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 123, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 83, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  length: 48
+dac: {cs: dac, vbias_buf: 0.0, vbias_core: 0.0, vcmi: 1.24998935546875, vina: 1.24998935546875,
+  vinb: 1.24998935546875}
+date: 2013-04-04_221200
+i2c: {delay: 0.0001, interface: 3, pid: 24593, scl: 0, sda: 1, timeout: 100, vid: 1027}
+ibias: {addr: 0, gpo1: 0, gpo2: 0, posA: 128, posB: 128}
+isupply: {AVdd_atoi: 0.001991617138671875, DVdd_ns430: 0.00039856768554687497, Vdd_digi: 0.020529869140625,
+  Vdd_ns430: 0.020539028808593752}
+mux:
+  csname: chain0_mux
+  otaA: {fast: 1, gain: 15, mode: 2, offset: 44}
+  otaB: {fast: 1, gain: 15, mode: 2, offset: 81}
+  selA: 48
+  selB: 48
+spi0:
+  cs:
+    _idle: [-1, 200]
+    _mask: [-1, 56]
+    adc: [1, 232]
+    convst: [1, 248]
+    dac: [1, 216]
+    flash: [3, 192]
+  freq: 1000000.0
+  interface: 1
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 249
+  vid: 1027
+spi1:
+  cs:
+    _idle: [-1, 248]
+    _mask: [-1, 248]
+    chain0_conf: [0, 240]
+    chain0_mux: [0, 232]
+    chain1_conf: [0, 216]
+    chain1_mux: [0, 184]
+  freq: 1000000.0
+  interface: 2
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 184
+  vid: 1027
+v430:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 0
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
+vatoi:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 1
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
diff --git a/python-lib/arb0-2013-04-04_221650.npz b/python-lib/arb0-2013-04-04_221650.npz
new file mode 100644 (file)
index 0000000..b5444b8
Binary files /dev/null and b/python-lib/arb0-2013-04-04_221650.npz differ
diff --git a/python-lib/arb0-2013-04-04_221650.pdf b/python-lib/arb0-2013-04-04_221650.pdf
new file mode 100644 (file)
index 0000000..7c773ea
Binary files /dev/null and b/python-lib/arb0-2013-04-04_221650.pdf differ
diff --git a/python-lib/arb0-2013-04-04_221650.yaml b/python-lib/arb0-2013-04-04_221650.yaml
new file mode 100644 (file)
index 0000000..e264abb
--- /dev/null
@@ -0,0 +1,335 @@
+amux:
+  csname: chain1_mux
+  otaA: {fast: 0, gain: 0, mode: 4, offset: 0}
+  otaB: {fast: 0, gain: 0, mode: 4, offset: 0}
+  selA: 16
+  selB: 16
+arb:
+  csname: chain1_conf
+  harmonics:
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+    otaB: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  length: 16
+chain:
+  csname: chain0_conf
+  harmonics:
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 46, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 110, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 108, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 56, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 85, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 59, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 89, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 80, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 118, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 100, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 68, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 94, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 60, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 97, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 126, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 72, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 90, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 58, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 87, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 117, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 96, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 123, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 83, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  length: 48
+dac: {cs: dac, vbias_buf: 0.0, vbias_core: 0.0, vcmi: 1.24998935546875, vina: 1.24998935546875,
+  vinb: 1.24998935546875}
+date: 2013-04-04_221651
+i2c: {delay: 0.0001, interface: 3, pid: 24593, scl: 0, sda: 1, timeout: 100, vid: 1027}
+ibias: {addr: 0, gpo1: 0, gpo2: 0, posA: 128, posB: 128}
+isupply: {AVdd_atoi: 0.0019945177001953127, DVdd_ns430: 0.00039847608886718746, Vdd_digi: 0.02054208203125,
+  Vdd_ns430: 0.02054208203125}
+mux:
+  csname: chain0_mux
+  otaA: {fast: 1, gain: 15, mode: 2, offset: 44}
+  otaB: {fast: 1, gain: 15, mode: 2, offset: 81}
+  selA: 48
+  selB: 48
+spi0:
+  cs:
+    _idle: [-1, 200]
+    _mask: [-1, 56]
+    adc: [1, 232]
+    convst: [1, 248]
+    dac: [1, 216]
+    flash: [3, 192]
+  freq: 1000000.0
+  interface: 1
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 249
+  vid: 1027
+spi1:
+  cs:
+    _idle: [-1, 248]
+    _mask: [-1, 248]
+    chain0_conf: [0, 240]
+    chain0_mux: [0, 232]
+    chain1_conf: [0, 216]
+    chain1_mux: [0, 184]
+  freq: 1000000.0
+  interface: 2
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 184
+  vid: 1027
+v430:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 0
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
+vatoi:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 1
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
diff --git a/python-lib/arb0-2013-04-04_224508.npz b/python-lib/arb0-2013-04-04_224508.npz
new file mode 100644 (file)
index 0000000..c1709fd
Binary files /dev/null and b/python-lib/arb0-2013-04-04_224508.npz differ
diff --git a/python-lib/arb0-2013-04-04_224508.pdf b/python-lib/arb0-2013-04-04_224508.pdf
new file mode 100644 (file)
index 0000000..c0a6357
Binary files /dev/null and b/python-lib/arb0-2013-04-04_224508.pdf differ
diff --git a/python-lib/arb0-2013-04-04_224508.yaml b/python-lib/arb0-2013-04-04_224508.yaml
new file mode 100644 (file)
index 0000000..ae3d39a
--- /dev/null
@@ -0,0 +1,335 @@
+amux:
+  csname: chain1_mux
+  otaA: {fast: 0, gain: 0, mode: 4, offset: 0}
+  otaB: {fast: 0, gain: 0, mode: 4, offset: 0}
+  selA: 16
+  selB: 16
+arb:
+  csname: chain1_conf
+  harmonics:
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+    otaB: {cint: 1, fast: 0, gain: 15, offset: 118, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  - cal: 0
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+    otaB: {cint: 0, fast: 0, gain: 0, offset: 0, se: 0, zero: 0}
+  length: 16
+chain:
+  csname: chain0_conf
+  harmonics:
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 46, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 110, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 108, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 56, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 85, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 59, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 89, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 80, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 118, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 100, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 111, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 68, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 94, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 120, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 60, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 97, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 109, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 81, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 126, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 95, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 72, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 90, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 103, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 116, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 78, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 58, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 91, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 87, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 117, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 57, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 96, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 101, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 123, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 79, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 83, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 102, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 112, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 127, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 124, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 64, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 70, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 86, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 93, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 88, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 92, se: 1, zero: 0}
+  - cal: 1
+    nco: {fcw: 0, rst: 0}
+    otaA: {cint: 0, fast: 1, gain: 0, offset: 106, se: 1, zero: 0}
+    otaB: {cint: 0, fast: 1, gain: 0, offset: 63, se: 1, zero: 0}
+  length: 48
+dac: {cs: dac, vbias_buf: 0.0, vbias_core: 0.0, vcmi: 1.24998935546875, vina: 1.24998935546875,
+  vinb: 1.24998935546875}
+date: 2013-04-04_224509
+i2c: {delay: 0.0001, interface: 3, pid: 24593, scl: 0, sda: 1, timeout: 100, vid: 1027}
+ibias: {addr: 0, gpo1: 0, gpo2: 0, posA: 128, posB: 128}
+isupply: {AVdd_atoi: 0.0019929910888671874, DVdd_ns430: 0.000398079169921875, Vdd_digi: 0.02051765625,
+  Vdd_ns430: 0.02051765625}
+mux:
+  csname: chain0_mux
+  otaA: {fast: 1, gain: 15, mode: 2, offset: 44}
+  otaB: {fast: 1, gain: 15, mode: 2, offset: 81}
+  selA: 48
+  selB: 48
+spi0:
+  cs:
+    _idle: [-1, 200]
+    _mask: [-1, 56]
+    adc: [1, 232]
+    convst: [1, 248]
+    dac: [1, 216]
+    flash: [3, 192]
+  freq: 1000000.0
+  interface: 1
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 249
+  vid: 1027
+spi1:
+  cs:
+    _idle: [-1, 248]
+    _mask: [-1, 248]
+    chain0_conf: [0, 240]
+    chain0_mux: [0, 232]
+    chain1_conf: [0, 216]
+    chain1_mux: [0, 184]
+  freq: 1000000.0
+  interface: 2
+  latency: 1
+  pid: 24593
+  pindir: 251
+  pinstate: 184
+  vid: 1027
+v430:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 0
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
+vatoi:
+  addr: 2
+  aliases: {va: vdigi, vb: avdd}
+  gpo1: 1
+  gpo2: 0
+  posA: 201
+  posB: 159
+  va: 1.2008223529411763
+  va_range: [0.5015, 1.3887]
+  vb: 2.5009129411764706
+  vb_range: [1.9552, 2.8304]
index 2566a811cdf40ddf2117e1456083bfad9062cfbd..80188918aab503521392ed4470f31fc39d1d6c92 100644 (file)
@@ -76,8 +76,8 @@ while True:
                 dev.adc.read()
                 v0 = dev.adc.read() * (2.5 / 2**16)
 
-                vina(vcm + d)
-                vinb(vcm - d)
+                vina(vcm + d/2)
+                vinb(vcm - d/2)
                 sleep(ti)
                 vina(vcm)
                 vinb(vcm)
@@ -117,19 +117,30 @@ tint = array(tint)
 
 
 figure()
+suptitle('Vout*tint vs. vd\nChip #14, arb0')
 subplot(221)
 plot(vd, vout, 'o')
 
+subplot(222)
+plot(vd, vout/tint, 'o')
+
 subplot(223)
 plot(vd, tint, 'o')
 ylim([0, 1.2*tint.max()])
 
-subplot(222)
-plot(vd, vout/tint, 'o')
+subplot(224)
+gm = 50e-12 * vout / (vd * tint)
+plot(vd, gm, 'o')
+i = find(gm == gm.max())[0]
+ylim((0, 1.1*max(gm[i-1], gm[i+1])))
 
-suptitle('Vout*tint vs. vd\nChip #14, arb0')
 
-savez('arb0-1.npz', vout=vout, vd=vd, tint=tint)
+import datetime as dt
+datestr = dt.datetime.now().strftime('%Y-%m-%d_%H%M%S')
+
+savefig('arb0-%s.pdf' % datestr)
+savez('arb0-%s.npz' % datestr, vout=vout, vd=vd, tint=tint)
+dev.save_config('arb0-%s.yaml' % datestr)