From 5c202e4dd8781a8b9fed96234be845e91cf5507a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 14 Mar 2012 23:14:50 -0400 Subject: [PATCH] Add new 'analog-reference' config option to doctest dumps. --- pypiezo/base.py | 3 +++ pypiezo/test.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/pypiezo/base.py b/pypiezo/base.py index 8c89ef4..5fecd64 100644 --- a/pypiezo/base.py +++ b/pypiezo/base.py @@ -242,6 +242,7 @@ class PiezoAxis (object): channel: 0 maxdata: 65535 range: 0 + analog-reference: ground conversion-coefficients: -10.0, 0.000305180437934 conversion-origin: 0.0 inverse-conversion-coefficients: 0.0, 3276.75 @@ -253,6 +254,7 @@ class PiezoAxis (object): channel: 0 maxdata: 65535 range: 0 + analog-reference: diff conversion-coefficients: -10.0, 0.000305180437934 conversion-origin: 0.0 inverse-conversion-coefficients: 0.0, 3276.75 @@ -327,6 +329,7 @@ class InputChannel(object): channel: 0 maxdata: 65535 range: 0 + analog-reference: diff conversion-coefficients: -10.0, 0.000305180437934 conversion-origin: 0.0 inverse-conversion-coefficients: 0.0, 3276.75 diff --git a/pypiezo/test.py b/pypiezo/test.py index eeb80a7..4350dd6 100644 --- a/pypiezo/test.py +++ b/pypiezo/test.py @@ -46,6 +46,7 @@ def get_piezo_config(storage=None): channel: 0 maxdata: 100 range: 1 + analog-reference: ground conversion-coefficients: 0, 1 conversion-origin: 0 inverse-conversion-coefficients: 0, 1 @@ -63,6 +64,7 @@ def get_piezo_config(storage=None): channel: 1 maxdata: 100 range: 1 + analog-reference: ground conversion-coefficients: 0, 1 conversion-origin: 0 inverse-conversion-coefficients: 0, 1 @@ -76,6 +78,7 @@ def get_piezo_config(storage=None): channel: 0 maxdata: 100 range: 1 + analog-reference: ground conversion-coefficients: 0, 1 conversion-origin: 0 inverse-conversion-coefficients: 0, 1 @@ -87,6 +90,7 @@ def get_piezo_config(storage=None): channel: 1 maxdata: 100 range: 1 + analog-reference: ground conversion-coefficients: 0, 1 conversion-origin: 0 inverse-conversion-coefficients: 0, 1 -- 2.26.2