minor fix docs

This commit is contained in:
Erik Frojdh 2020-09-02 11:44:13 +02:00
parent 42b5ff3a62
commit 3ddeea3c2b

View File

@ -17,13 +17,13 @@ using the built in hex() function.
.. code-block :: python
from slsdet import Detector
d = Detector()
>>> d = Detector()
>>> d.patwait0 = 0xaa
>>> d.patwait0
170
# Convert to string
>>> (d.patwait0)
>>> hex(d.patwait0)
'0xaa'
For multiple values one can use a list comprehension to loop over the values.