Project

General

Profile

Setup Ceta to use Advanced TEM Scripting » History » Version 10

Anchi Cheng, 09/13/2021 02:29 PM

1 1 Anchi Cheng
h1. Setup Ceta to use Advanced TEM Scripting
2
3 5 Anchi Cheng
Diffraction mode image acquisition is not available through TIA Scripting.  Advanced TEM Scripting must be used.
4
5 9 Anchi Cheng
*At this point, only one camera can be controlled through Advanced TEM Scripting.  If the system has both Falcon and Ceta camera, Falcon camera has to be removed from instruments.cfg and Ceta camera should use feicam rather than tia python module in instruments.cfg.*
6 1 Anchi Cheng
7 4 Anchi Cheng
We recommend that you estabilish protocol to switch instruments.cfg used for MSI imaging that requires Falcon camera to the diffraction recording that uses Ceta camera only. 
8
9 1 Anchi Cheng
h2. Example of proper instruments.cfg for diffraction recording
10
11 3 Anchi Cheng
The exact module name (cetacam in this example) is not important.  They just need to be unique. Class name needs to be exact match to the actual class.
12 10 Anchi Cheng
If your instruments.cfg contains tia.TIA_Ceta, you should comment it out.  This replacement of the instrument makes it unnecessary to recalibrate.
13 2 Anchi Cheng
14 1 Anchi Cheng
<pre>
15
[cetacam]
16
class: feicam.Ceta
17
zplane: 50
18
height: 4096
19
width: 4096
20
</pre>
21 6 Anchi Cheng
22 7 Anchi Cheng
h2. Programs to open before Leginon Client: TIA.
23
24 6 Anchi Cheng
h2. Testing with pyscope
25
26
In python command
27
<pre>
28 8 Thomas Klose
from pyscope import feicam
29 6 Anchi Cheng
g = feicam.Ceta()
30
g.setExposureTime(200)
31
g.getImage()
32
</pre>
33
34
{{include(pyscope_test_result array)}}