@@ -34,6 +34,8 @@ class IMAQdxCamera(TriggerableDevice):
34
34
"stop_acquisition_timeout" ,
35
35
"exception_on_failed_shot" ,
36
36
"saved_attribute_visibility_level"
37
+ "pixel_size" ,
38
+ "magnification" ,
37
39
],
38
40
}
39
41
)
@@ -44,6 +46,8 @@ def __init__(
44
46
connection ,
45
47
serial_number ,
46
48
orientation = None ,
49
+ pixel_size = [1.0 ,1.0 ],
50
+ magnification = 1.0 ,
47
51
trigger_edge_type = 'rising' ,
48
52
trigger_duration = None ,
49
53
minimum_recovery_time = 0.0 ,
@@ -76,6 +80,14 @@ def __init__(
76
80
to determine the location in the shot file where the images will be
77
81
saved. If not given, the device name will be used instead.
78
82
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
+
79
91
trigger_edge_type (str), default: `'rising'`
80
92
The direction of the desired edges to be generated on the parent
81
93
devices's digital output used for triggering. Must be 'rising' or
@@ -145,6 +157,8 @@ def __init__(
145
157
self .minimum_recovery_time = minimum_recovery_time
146
158
self .trigger_duration = trigger_duration
147
159
self .orientation = orientation
160
+ self .pixel_size = pixel_size
161
+ self .magnification = magnification
148
162
if isinstance (serial_number , (str , bytes )):
149
163
serial_number = int (serial_number , 16 )
150
164
self .serial_number = serial_number
0 commit comments