diff --git a/src/eiger_fastcs/eiger_controller.py b/src/eiger_fastcs/eiger_controller.py index 670c026..84c5988 100644 --- a/src/eiger_fastcs/eiger_controller.py +++ b/src/eiger_fastcs/eiger_controller.py @@ -9,6 +9,18 @@ from fastcs.datatypes import Bool, Float, Int, String from fastcs.wrappers import command, scan +IGNORED_PARAMETERS = [ + "countrate_correction_table", + "pixel_mask", + "threshold/1/pixel_mask", + "threshold/2/pixel_mask", + "flatfield", + "threshold/1/flatfield", + "threshold/2/flatfield", + "board_000/th0_humidity", + "board_000/th0_temp", +] + @dataclass class EigerHandler: @@ -131,7 +143,9 @@ async def initialise(self) -> None: for index, subsystem in enumerate(subsystems): for mode in modes: response = await connection.get(f"{subsystem}/api/1.8.0/{mode}/keys") - subsystem_parameters = response["value"] + subsystem_parameters = [ + p for p in response["value"] if p not in IGNORED_PARAMETERS + ] requests = [ connection.get(f"{subsystem}/api/1.8.0/{mode}/{item}") for item in subsystem_parameters