Project

General

Profile

Setup Diffraction mode TEM instrument » History » Version 5

Anchi Cheng, 11/13/2020 01:39 AM

1 1 Anchi Cheng
h1. Setup Diffraction mode TEM instrument
2
3 2 Anchi Cheng
On microscope PC, with myami-ed git branch of installation
4 1 Anchi Cheng
5 2 Anchi Cheng
h2. Edit Instruments.cfg used by leginon.  Typically in C:\Program Files\myami\
6
7 1 Anchi Cheng
Add diffraction instrument as another tem.  The class name is your normal instrument, for example, Glacios, with Diffr prefix.  Therefore, add
8
<pre>
9
[difftem]
10
class: fei.DiffrGlacios
11
cs: 2.7e-3
12 2 Anchi Cheng
</pre>
13
14
h2. Add items required for the instrument and workflow to your fei.cfg.  This should have exists with instruments.cfg
15
16 5 Anchi Cheng
h3. set pre-diffraction normalization magnification
17
18 4 Anchi Cheng
Enter the index of the SA range magnification you want Leginon to normalize at before it switches to diffraction mode preset.
19
For example 37 is 150kx on Glacios where typical fa preset is at for typical Ceta-D configuration.
20
<pre>
21
PRE_DIFFRACTION_SA_MAGNIFICATION_INDEX = 37
22
</pre>
23
24 3 Anchi Cheng
Decide where you will put all the AutoIt script executable.  For example: *C:\Program Files\AutoIt3\*
25 2 Anchi Cheng
Copy the items from your pyscope/fei.cfg.template to make sure you have the right syntax.
26
27
h3. Under [camera] module, add
28
<pre>
29
AUTOIT_TUI_ACQUIRE_EXE_PATH = C:\Program Files\Autoit3\TuiAcquire.exe
30
AUTOIT_TIA_EXPORT_SERIES_EXE_PATH = C:\Program Files\Autoit3\TiaExportSeries.exe
31
AUTOIT_TIA_EXPORTED_DATA_DIR = C:\Users\supervisor\Documents\FEI\TIA\Exported Data
32
</pre>
33
34
h3. Add [beamstop] module and items needed at the end of some module.
35
<pre>
36
[beamstop]
37
AUTOIT_IN_EXE_PATH =  C:\Program Files\Autoit3\BeamstopIn.exe
38
AUTOIT_OUT_EXE_PATH = C:\Program Files\Autoit3\BeamstopOut.exe
39 1 Anchi Cheng
</pre>