mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-16 23:56:02 +02:00
more intuitive and doc
This commit is contained in:
@@ -2431,9 +2431,9 @@ class Detector(CppDetectorApi):
|
||||
@property
|
||||
def udp_datastream(self):
|
||||
"""
|
||||
[Eiger] Enable or disable UDP data streaming from the left and/or right detector ports in 10 GbE mode. Options: LEFT, RIGHT. Both ports are enabled by default.
|
||||
[Eiger] Enable or disable UDP data streaming from the left and/or right detector ports in 10 GbE mode. Both ports are enabled by default. Options: LEFT, RIGHT.
|
||||
|
||||
[Jungfrau][Moench] Enable or disable UDP data streaming from the top and/or bottom receiver interfaces. This option is available only when numinterfaces is set to 2. Options: TOP, BOTTOM. Both interfaces are enabled by default.
|
||||
[Jungfrau][Moench] Enable or disable UDP data streaming from the top and/or bottom receiver interfaces. This option is available only when numinterfaces is set to 2. Both ports are enabled by default. Options: TOP, BOTTOM.
|
||||
|
||||
Enum: portPosition
|
||||
"""
|
||||
|
||||
@@ -60,7 +60,7 @@ def to_geo(value):
|
||||
|
||||
def all_equal(mylist):
|
||||
"""If all elements are equal return true otherwise false"""
|
||||
return all(x == mylist[0] for x in mylist)
|
||||
return all(x == list(mylist[0]) for x in mylist)
|
||||
|
||||
|
||||
def element_if_equal(mylist):
|
||||
|
||||
Reference in New Issue
Block a user