Commit 1f8d25c8 authored by Jerome Carnis's avatar Jerome Carnis 🦊
Browse files

deviceEigerP11.py: fix typo

parent 0b533fa1
......@@ -36,7 +36,7 @@ from kamzik3.snippets.snippetsDecorators import expose_method
FRAMES_PER_FILE_SCAN = 1000
FRAMES_PER_FILE_LIVE = 1000000
# any large number is ok, images are not saved in the live-view mode
MAX_ACQUISITION_rate = units.Quantity(100, "Hz")
MAX_ACQUISITION_RATE = units.Quantity(100, "Hz")
# according to Jan Meyer, 10ms is the lowest frame time
......@@ -174,7 +174,7 @@ class DeviceTangoEigerDetector(DeviceTango):
frame_time = (
10e-3
if converted_exposure
< (1 / MAX_ACQUISITION_rate).to(self.get_value("FrameTime", key=UNIT))
< (1 / MAX_ACQUISITION_RATE).to(self.get_value("FrameTime", key=UNIT))
else float(converted_exposure.m)
)
......@@ -216,7 +216,7 @@ class DeviceTangoEigerDetector(DeviceTango):
frame_time = (
10e-3
if converted_exposure
< (1 / MAX_ACQUISITION_rate).to(self.get_value("FrameTime", key=UNIT))
< (1 / MAX_ACQUISITION_RATE).to(self.get_value("FrameTime", key=UNIT))
else float(converted_exposure.m)
)
......@@ -419,7 +419,7 @@ class EigerScanner(DeviceScanner):
frame_time = (
10e-3
if converted_exposure
< (1 / MAX_ACQUISITION_rate).to(
< (1 / MAX_ACQUISITION_RATE).to(
self.detector.get_value("FrameTime", key=UNIT)
)
else float(converted_exposure.m)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment