From af8cbf2ce0038df0a29c173a4db92b16377773f2 Mon Sep 17 00:00:00 2001 From: thomashopkins32 Date: Thu, 23 Oct 2025 14:58:43 -0400 Subject: [PATCH 1/2] Add axis2_standard and axis2_cont --- startup/csx1/startup/detectors.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/startup/csx1/startup/detectors.py b/startup/csx1/startup/detectors.py index 071f89d..e0e2300 100644 --- a/startup/csx1/startup/detectors.py +++ b/startup/csx1/startup/detectors.py @@ -106,6 +106,10 @@ def _add_cam_rois(cam): _setup_stats(axis_standard) axis_cont = ContinuousAxisCam("XF:23ID1-ES{AXIS}", name='axis_cont') _setup_stats(axis_cont) +axis2_standard = StandardAxisCam("XF:23ID1-ES{AXIS2}", name='axis2_standard') +_setup_stats(axis2_standard) +axis2_cont = ContinuousAxisCam("XF:23ID1-ES{AXIS2}", name='axis2_cont') +_setup_stats(axis2_cont) ### more roi metadata at the end def axis_add_image_correction_to_config_attr(axis_detector_in_use, remove = False): From 3e97ce6deb986b5df6a2a327c2d62e4464493cfa Mon Sep 17 00:00:00 2001 From: thomashopkins32 Date: Thu, 23 Oct 2025 14:59:27 -0400 Subject: [PATCH 2/2] Add additional configurations for axis2 --- startup/csx1/startup/detectors.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/startup/csx1/startup/detectors.py b/startup/csx1/startup/detectors.py index e0e2300..e87e2ac 100644 --- a/startup/csx1/startup/detectors.py +++ b/startup/csx1/startup/detectors.py @@ -209,4 +209,12 @@ def axis_add_image_correction_to_config_attr(axis_detector_in_use, remove = Fals for attr in configuration_attrs_list: getattr(axis_cont, attr).kind='config' -axis_cont.configuration_attrs.extend(['roi1', 'roi2', 'roi3','roi4']) \ No newline at end of file +axis_cont.configuration_attrs.extend(['roi1', 'roi2', 'roi3','roi4']) + +for attr in configuration_attrs_list: + getattr(axis2_standard, attr).kind='config' +axis2_standard.configuration_attrs.extend(['roi1', 'roi2', 'roi3','roi4']) + +for attr in configuration_attrs_list: + getattr(axis2_cont, attr).kind='config' +axis2_cont.configuration_attrs.extend(['roi1', 'roi2', 'roi3','roi4'])