This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevices.ini
232 lines (221 loc) · 10.1 KB
/
devices.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
; This file contains all the devices that are selectable and usable
; in pylo.
[Digital Micrograph Camera]
; The kind, can either be "camera" or "microscope"
kind=camera
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dm_camera.py
; The name of the class to initialize
class=DMCamera
; Whether this device is disabled or not, default is false
disabled=No
; Default settings for this device, they are available in the
; created object (if the object extends the `pylo.Device` class) in
; the `object.config_defaults` dict, note that they are strings
; always, the key is the part after `config-default.`
config-default.show-images=Yes
config-default.exposure-time=1
config-default.process-level=3
[PyJEM Camera]
; The kind, can either be "camera" or "microscope"
kind=camera
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/pyjem_camera.py
; The name of the class to initialize
class=PyJEMCamera
; Whether this device is disabled or not, default is false
disabled=No
[Digital Micrograph Test Camera]
; The kind, can either be "camera" or "microscope"
kind=camera
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dm_test_camera.py
; The name of the class to initialize
class=DMTestCamera
; Whether this device is disabled or not, default is false
disabled=No
; Default keys of other devices to inherit from, use a pipe character
; ("|") as separator of multiple ones, spaces are not removed (spaces
; matter!), overwriting is from left to right, own `config-default`s
; overwrite inherited values
inherit-config-defaults-from=Digital Micrograph Camera
[Dummy Camera]
; The kind, can either be "camera" or "microscope"
kind=camera
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dummy_camera.py
; The name of the class to initialize
class=DummyCamera
; Whether this device is disabled or not, default is false
disabled=No
[PyJEM Microscope]
; The kind, can either be "camera" or "microscope"
kind=microscope
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/pyjem_microscope.py
; The name of the class to initialize
class=PyJEMMicroscope
; Whether this device is disabled or not, default is false
disabled=No
; Default settings for this device, they are available in the
; created object (if the object extends the `pylo.Device` class) in
; the `object.config_defaults` dict, note that they are strings
; always, the key is the part after `config-default.`
config-default.magnetic-field-unit=
config-default.objective-lense-magnetic-field-calibration=0
config-default.focus-calibration=3
config-default.objective-lense-coarse-fine-stepwidth=32
[PyJEM offline test Microscope]
; The kind, can either be "camera" or "microscope"
kind=microscope
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/pyjem_test_microscope.py
; The name of the class to initialize
class=PyJEMTestMicroscope
; Whether this device is disabled or not, default is false
disabled=No
; Default settings for this device, they are available in the
; created object (if the object extends the `pylo.Device` class) in
; the `object.config_defaults` dict, note that they are strings
; always, the key is the part after `config-default.`
config-default.magnetic-field-unit=
config-default.objective-lense-magnetic-field-calibration=0
config-default.focus-calibration=3
config-default.objective-lense-coarse-fine-stepwidth=32
[Dummy Microscope]
; The kind, can either be "camera" or "microscope"
kind=microscope
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dummy_microscope.py
; The name of the class to initialize
class=DummyMicroscope
[Digital Micrograph Microscope]
; The kind, can either be "camera" or "microscope"
kind=microscope
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dm_microscope.py
; The name of the class to initialize
class=DMMicroscope
; Whether this device is disabled or not, default is false
disabled=No
; Default settings for this device, they are available in the
; created object (if the object extends the `pylo.Device` class) in
; the `object.config_defaults` dict, note that they are strings
; always, the key is the part after `config-default.`
;
; Whether to use the DigitalMicrograph EMSetImagingOpticsMode()
; function or not (this is an official unsupported function so try
; out if it works before)
config-default.use-em-optics-mode-set-function=yes
; The unit and the calibration of the magnetic field, an increase by
; 0x0001 in the fine lens is equal to the given value in the
; magnetic-field-unit (`<mag field>/<lens current>`)
config-default.magnetic-field-unit=mT
; config-default.objective-lense-magnetic-field-calibration=0.0025390625
config-default.objective-lense-magnetic-field-calibration=0.002604423
; One 0x0001 step in the objectiv mini lens is equal to the given
; value in micrometer
config-default.focus-calibration-factor=3
config-default.focus-calibration-offset=-142689
; config-default.focus-calibration-offset=-16908.33
; One 0x0001 step in the objectiv coarse lens is equal to the given
; amout in the objectiv fine lens
config-default.objective-lense-coarse-fine-stepwidth=32
; If the microscope is set to a value (e.g. x-tilt of 13), the program
; will wait until the microscope reports to have a value that is the
; tolerance away (e.g. 12 <= x-tilt <= 14)
config-default.abs-wait-tolerance-x-tilt=1
config-default.abs-wait-tolerance-y-tilt=1
config-default.abs-wait-tolerance-objective-mini-lens=0x2
; start, step-width and end values of objective mini lens (=focus)
config-default.default-om-current-start-value=0x0
config-default.default-om-current-end-value=0x1000
config-default.default-om-current-step-width-value=0x200
; start, step-width and end values of objective lens (=mag. field)
config-default.default-ol-current-start-value=0x0
config-default.default-ol-current-end-value=0x1000
config-default.default-ol-current-step-width-value=0x200
; start, step-width and end values of x tilt
config-default.default-x-tilt-start-value=0
config-default.default-x-tilt-end-value=10
config-default.default-x-tilt-step-width-value=5
; start, step-width and end values of y tilt
config-default.default-y-tilt-start-value=0
config-default.default-y-tilt-end-value=10
config-default.default-y-tilt-step-width-value=5
[Digital Micrograph Test Microscope]
; The kind, can either be "camera" or "microscope"
kind=microscope
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dm_test_microscope.py
; The name of the class to initialize
class=DMTestMicroscope
; Whether this device is disabled or not, default is false
disabled=No
; Default keys of other devices to inherit from, use a pipe character
; ("|") as separator of multiple ones, spaces are not removed (spaces
; matter!), overwriting is from left to right, own `config-default`s
; overwrite inherited values
inherit-config-defaults-from=Digital Micrograph Microscope
[DM + PyJEM Microscope]
; The kind, can either be "camera" or "microscope"
kind=microscope
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dm_pyjem_microscope.py
; The name of the class to initialize
class=DMPyJEMMicroscope
; Whether this device is disabled or not, default is false
disabled=No
; Default keys of other devices to inherit from, use a pipe character
; ("|") as separator of multiple ones, spaces are not removed (spaces
; matter!), overwriting is from left to right, own `config-default`s
; overwrite inherited values
inherit-config-defaults-from=Digital Micrograph Microscope
[DM + PyJEM Test Microscope]
; The kind, can either be "camera" or "microscope"
kind=microscope
; The path of the python file, can be absolute or relative to this
; file location by using "./", use "~" for current user directory,
; path variables are allowed (for windows e.g. %PROGRAMDATA%, ...)
; Unix and Windows paths are supported
file=./devices/dm_pyjem_test_microscope.py
; The name of the class to initialize
class=DMPyJEMTestMicroscope
; Whether this device is disabled or not, default is false
disabled=No
; Default keys of other devices to inherit from, use a pipe character
; ("|") as separator of multiple ones, spaces are not removed (spaces
; matter!), overwriting is from left to right, own `config-default`s
; overwrite inherited values
inherit-config-defaults-from=DM + PyJEM Microscope
config-defaults.pyjem_olcurrent-path=./pyjem_olcurrent.py