@@ -26,6 +26,8 @@ class IMAQdxCamera(TriggerableDevice):
2626 "connection_table_properties" : [
2727 "serial_number" ,
2828 "orientation" ,
29+ "pixel_size" ,
30+ "magnification" ,
2931 "manual_mode_camera_attributes" ,
3032 "mock" ,
3133 ],
@@ -44,6 +46,8 @@ def __init__(
4446 connection ,
4547 serial_number ,
4648 orientation = None ,
49+ pixel_size = [1.0 ,1.0 ],
50+ magnification = 1.0 ,
4751 trigger_edge_type = 'rising' ,
4852 trigger_duration = None ,
4953 minimum_recovery_time = 0.0 ,
@@ -76,6 +80,14 @@ def __init__(
7680 to determine the location in the shot file where the images will be
7781 saved. If not given, the device name will be used instead.
7882
83+ pixel_size ([float,float], optional), default: `[1.0, 1.0]`
84+ The x and y size of the pixels in micrometers. This can be used
85+ in setting the scale in the blacs image display as well as
86+ extracted in lyse for analysis.
87+
88+ magnification (float, optional), default: `1.0`
89+ Imaging system magnification.
90+
7991 trigger_edge_type (str), default: `'rising'`
8092 The direction of the desired edges to be generated on the parent
8193 devices's digital output used for triggering. Must be 'rising' or
@@ -145,6 +157,8 @@ def __init__(
145157 self .minimum_recovery_time = minimum_recovery_time
146158 self .trigger_duration = trigger_duration
147159 self .orientation = orientation
160+ self .pixel_size = pixel_size
161+ self .magnification = magnification
148162 if isinstance (serial_number , (str , bytes )):
149163 serial_number = int (serial_number , 16 )
150164 self .serial_number = serial_number
0 commit comments