mxcubecore 1.344.0__py3-none-any.whl → 1.346.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mxcubecore/HardwareObjects/MAXIV/MachInfo.py +2 -2
- mxcubecore/HardwareObjects/abstract/AbstractDetector.py +21 -20
- {mxcubecore-1.344.0.dist-info → mxcubecore-1.346.0.dist-info}/METADATA +1 -1
- {mxcubecore-1.344.0.dist-info → mxcubecore-1.346.0.dist-info}/RECORD +7 -7
- {mxcubecore-1.344.0.dist-info → mxcubecore-1.346.0.dist-info}/COPYING +0 -0
- {mxcubecore-1.344.0.dist-info → mxcubecore-1.346.0.dist-info}/COPYING.LESSER +0 -0
- {mxcubecore-1.344.0.dist-info → mxcubecore-1.346.0.dist-info}/WHEEL +0 -0
|
@@ -57,8 +57,8 @@ class MachInfo(AbstractMachineInfo):
|
|
|
57
57
|
parameters (str): topics to export, see AbstractMachineInfo class for details
|
|
58
58
|
"""
|
|
59
59
|
|
|
60
|
-
def __init__(self,
|
|
61
|
-
super().__init__(
|
|
60
|
+
def __init__(self, name):
|
|
61
|
+
super().__init__(name)
|
|
62
62
|
self.mach_info = None
|
|
63
63
|
self.mach_curr = None
|
|
64
64
|
|
|
@@ -76,10 +76,31 @@ class AbstractDetector(HardwareObject):
|
|
|
76
76
|
self._roi_mode = 0
|
|
77
77
|
self._images_per_file = 0
|
|
78
78
|
self._roi_modes_list = []
|
|
79
|
+
self._exposure_time_limits = (None, None)
|
|
79
80
|
|
|
80
81
|
self._threshold_energy = None
|
|
81
82
|
self._distance_motor_hwobj = None
|
|
82
83
|
|
|
84
|
+
self._width = None # [pixel]
|
|
85
|
+
self._height = None # [pixel]
|
|
86
|
+
self._metadata = {}
|
|
87
|
+
|
|
88
|
+
def init(self):
|
|
89
|
+
"""Initialise some common parameters"""
|
|
90
|
+
super().init()
|
|
91
|
+
|
|
92
|
+
self._metadata = self.get_property("beam", {})
|
|
93
|
+
|
|
94
|
+
self._images_per_file = self.get_property("images_per_file", 100)
|
|
95
|
+
|
|
96
|
+
self._distance_motor_hwobj = self.get_object_by_role("detector_distance")
|
|
97
|
+
|
|
98
|
+
self._roi_modes_list = ast.literal_eval(self.get_property("roiModes", "()"))
|
|
99
|
+
|
|
100
|
+
self._pixel_size = (self.get_property("px"), self.get_property("py"))
|
|
101
|
+
self._width = self.get_property("width")
|
|
102
|
+
self._height = self.get_property("height")
|
|
103
|
+
|
|
83
104
|
min_exp_time = self.get_property("minimum_exposure_time", None)
|
|
84
105
|
max_exp_time = self.get_property("maximum_exposure_time", None)
|
|
85
106
|
|
|
@@ -102,26 +123,6 @@ class AbstractDetector(HardwareObject):
|
|
|
102
123
|
max_exp_time,
|
|
103
124
|
)
|
|
104
125
|
|
|
105
|
-
self._width = None # [pixel]
|
|
106
|
-
self._height = None # [pixel]
|
|
107
|
-
self._metadata = {}
|
|
108
|
-
|
|
109
|
-
def init(self):
|
|
110
|
-
"""Initialise some common parameters"""
|
|
111
|
-
super().init()
|
|
112
|
-
|
|
113
|
-
self._metadata = self.get_property("beam", {})
|
|
114
|
-
|
|
115
|
-
self._images_per_file = self.get_property("images_per_file", 100)
|
|
116
|
-
|
|
117
|
-
self._distance_motor_hwobj = self.get_object_by_role("detector_distance")
|
|
118
|
-
|
|
119
|
-
self._roi_modes_list = ast.literal_eval(self.get_property("roiModes", "()"))
|
|
120
|
-
|
|
121
|
-
self._pixel_size = (self.get_property("px"), self.get_property("py"))
|
|
122
|
-
self._width = self.get_property("width")
|
|
123
|
-
self._height = self.get_property("height")
|
|
124
|
-
|
|
125
126
|
def force_emit_signals(self):
|
|
126
127
|
"""Emit all hardware object signals."""
|
|
127
128
|
self.emit("detectorRoiModeChanged", (self._roi_mode,))
|
|
@@ -222,7 +222,7 @@ mxcubecore/HardwareObjects/LimaEigerDetector.py,sha256=Z8XRt6-uNdJy10HZbQdcTYDB8
|
|
|
222
222
|
mxcubecore/HardwareObjects/LimaPilatusDetector.py,sha256=yUcUi7OXdoy4TU2aZN21kc6R9ivdQ5sYyEKoIqYOmkg,11589
|
|
223
223
|
mxcubecore/HardwareObjects/MAXIV/ISPyBLims.py,sha256=iKgpb0NVGIN-iRgjIpV2eh12PJoAZvo3NFyKwo-458Q,7565
|
|
224
224
|
mxcubecore/HardwareObjects/MAXIV/MAXIVAutoProcessing.py,sha256=kgTSnOLoumPtOUazJeg6N_no1WOScPeLwus3iR1xMPw,9201
|
|
225
|
-
mxcubecore/HardwareObjects/MAXIV/MachInfo.py,sha256=
|
|
225
|
+
mxcubecore/HardwareObjects/MAXIV/MachInfo.py,sha256=Wkj5JHP_8tOgRGNXiKPfImTsX-O67_CrWH3wP14AsSI,2983
|
|
226
226
|
mxcubecore/HardwareObjects/MAXIV/MaxIVSession.py,sha256=UvTOzOaXX9IipN4UK1q9avEjc6goswF5uvXmnm4btgI,7749
|
|
227
227
|
mxcubecore/HardwareObjects/MAXIV/MicroMAX/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
228
228
|
mxcubecore/HardwareObjects/MAXIV/MicroMAX/beamline_actions.py,sha256=TT_0bTbfb8kZxF09vp618yPBEbBGY1KOHNj3wUiaPjs,2099
|
|
@@ -345,7 +345,7 @@ mxcubecore/HardwareObjects/abstract/AbstractAuthenticator.py,sha256=F5ONnre9GEcg
|
|
|
345
345
|
mxcubecore/HardwareObjects/abstract/AbstractBeam.py,sha256=Fvz5K3ov0Glsw8bO2oXiYbkFMK9L8CX4gldJg73lkr0,10389
|
|
346
346
|
mxcubecore/HardwareObjects/abstract/AbstractCharacterisation.py,sha256=knGIC9GVSY_mJfcpMpU9qP8OfaIngasGEc8PIVFsr_4,4990
|
|
347
347
|
mxcubecore/HardwareObjects/abstract/AbstractCollect.py,sha256=L9xyT1IgtiRCIR303Nw9fe_TN7azKcLKMGtvCN7de_0,33360
|
|
348
|
-
mxcubecore/HardwareObjects/abstract/AbstractDetector.py,sha256=
|
|
348
|
+
mxcubecore/HardwareObjects/abstract/AbstractDetector.py,sha256=oLUrZuMjj3uujyODqXgBuxNl_6WieBv5MFHfyQN7c64,11561
|
|
349
349
|
mxcubecore/HardwareObjects/abstract/AbstractEnergy.py,sha256=zG6tICqBdWcEMz8gGh7DFvP6CHz5xNlaRdcG4Y8tFps,4553
|
|
350
350
|
mxcubecore/HardwareObjects/abstract/AbstractEnergyScan.py,sha256=OnUXHBNm5kt7Lud0UmReZzs9Jv4d1cCJTlB4JRlvBOc,6066
|
|
351
351
|
mxcubecore/HardwareObjects/abstract/AbstractFlux.py,sha256=1RbuFdD8QsRDwGj94mz4PffoiElgDV5OZUxjyTCYieA,3442
|
|
@@ -465,8 +465,8 @@ mxcubecore/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
465
465
|
mxcubecore/utils/conversion.py,sha256=G1bk2Mi2ZwGbZa5pEeiFaKWxhSVXVGqu1L9_SioyUOk,4513
|
|
466
466
|
mxcubecore/utils/qt_import.py,sha256=hQkBVZLUDZtktX7DSyoH88GAK_mK9Ghlsj4k9pFJeAQ,14415
|
|
467
467
|
mxcubecore/utils/units.py,sha256=2D1QlTwe8eSs2UYRm4VVxSTosZZHeM-Pfw9KlcLbDAg,1251
|
|
468
|
-
mxcubecore-1.
|
|
469
|
-
mxcubecore-1.
|
|
470
|
-
mxcubecore-1.
|
|
471
|
-
mxcubecore-1.
|
|
472
|
-
mxcubecore-1.
|
|
468
|
+
mxcubecore-1.346.0.dist-info/COPYING,sha256=u-Mc8zCecwyo4YoP8UulmzCiZZ_MmCLROd_NBtOcRj0,35148
|
|
469
|
+
mxcubecore-1.346.0.dist-info/COPYING.LESSER,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
470
|
+
mxcubecore-1.346.0.dist-info/METADATA,sha256=eq_UZO9BC8AO25OQHIWYfnAe_IAtDACOWSt4CYiGqVo,4262
|
|
471
|
+
mxcubecore-1.346.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
472
|
+
mxcubecore-1.346.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|