From 35a45a3a738f528b431e1146236b6baca177d742 Mon Sep 17 00:00:00 2001 From: appel_c Date: Tue, 21 Jan 2025 07:59:29 +0100 Subject: [PATCH] fix: change default values for hot pixels to avoid issues while casting to uint16 --- ophyd_devices/sim/sim_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ophyd_devices/sim/sim_data.py b/ophyd_devices/sim/sim_data.py index 83df2eb..de0767d 100644 --- a/ophyd_devices/sim/sim_data.py +++ b/ophyd_devices/sim/sim_data.py @@ -68,7 +68,7 @@ DEFAULT_PARAMS_CAMERA_CONSTANT = {"amplitude": 100} DEFAULT_PARAMS_HOT_PIXEL = { "hot_pixel_coords": np.array([[24, 24], [50, 20], [4, 40]]), "hot_pixel_types": [HotPixelType.FLUCTUATING, HotPixelType.CONSTANT, HotPixelType.FLUCTUATING], - "hot_pixel_values": np.array([1e4, 1e6, 1e4]), + "hot_pixel_values": np.array([1e3, 1e4, 1e3]), }