Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion startup/csx1/startup/detectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -205,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'])
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'])
Loading