aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 23:37:54 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 23:37:54 -0400
commit3f489c7e51b85fc72ff5614e097cac6ac4cfb059 (patch)
tree79e77214606f6bca64e05489c4cf35b6abdedbd9
parentf2b41f44e30e791c31cc5dfc5a048e267b62730a (diff)
downloadqolab-3f489c7e51b85fc72ff5614e097cac6ac4cfb059.tar.gz
qolab-3f489c7e51b85fc72ff5614e097cac6ac4cfb059.zip
improved doc string
-rw-r--r--qolab/hardware/i_server/i800.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/qolab/hardware/i_server/i800.py b/qolab/hardware/i_server/i800.py
index 1d9b08a..0f2a8e0 100644
--- a/qolab/hardware/i_server/i800.py
+++ b/qolab/hardware/i_server/i800.py
@@ -17,6 +17,14 @@ logger = logging.getLogger("qolab.hardware.i_server.i800")
class I800(BasicInstrument):
"""Newport i800 series controller, should work with similar Omega controllers
+ Parameters
+ ----------
+ host : str
+ hostname or IP of the controller unit
+ the factory preset is '192.168.1.200' (default)
+ port : int
+ socket port (1000 i: default) which accept HTTP POST requests
+
Example
-------
@@ -28,10 +36,6 @@ class I800(BasicInstrument):
TTL_SEATABLES = 600 # Time To Live for user seatables, i.e. SetPoints, Gains, etc
def __init__(self, *args, host="192.168.1.200", port=1000, **kwds):
- """
- host - default hostname or IP of the controller unit (192.168.1.200) is factory default
- port - socket port (1000 by default) which accept HTTP POST requests
- """
BasicInstrument.__init__(self, *args, **kwds)
self.host = host
self.port = port