mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
minor fix docs
This commit is contained in:
parent
42b5ff3a62
commit
3ddeea3c2b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user