diff --git a/src/tickit_devices/eiger/data/schema.py b/src/tickit_devices/eiger/data/schema.py index ae2f2b93..30232642 100644 --- a/src/tickit_devices/eiger/data/schema.py +++ b/src/tickit_devices/eiger/data/schema.py @@ -68,7 +68,7 @@ class ImageConfigHeader(BaseModel): Describes the metrics on the image acquisition. """ - real_time: float - start_time: float - stop_time: float + real_time: int + start_time: int + stop_time: int htype: str = "dconfig-1.0" diff --git a/src/tickit_devices/eiger/stream/eiger_stream.py b/src/tickit_devices/eiger/stream/eiger_stream.py index ddfc60cc..92295c73 100644 --- a/src/tickit_devices/eiger/stream/eiger_stream.py +++ b/src/tickit_devices/eiger/stream/eiger_stream.py @@ -117,9 +117,9 @@ def insert_image(self, image: Image, series_id: int) -> None: type=image.dtype, ) config_header = ImageConfigHeader( - real_time=0.0, - start_time=0.0, - stop_time=0.0, + real_time=0, + start_time=0, + stop_time=0, ) self._buffer(header) diff --git a/tests/eiger/test_eiger_stream.py b/tests/eiger/test_eiger_stream.py index 67395219..3ead2a59 100644 --- a/tests/eiger/test_eiger_stream.py +++ b/tests/eiger/test_eiger_stream.py @@ -140,8 +140,8 @@ def expected_image_blobs(image: Image) -> list[bytes | BaseModel]: ), image.data, ImageConfigHeader( - real_time=0.0, - start_time=0.0, - stop_time=0.0, + real_time=0, + start_time=0, + stop_time=0, ), ]