Setup Ceta to use Advanced TEM Scripting » History » Version 7
Anchi Cheng, 12/06/2019 04:44 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 | 1 | 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 | |||
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 | 2 | Anchi Cheng | |
13 | 1 | Anchi Cheng | <pre> |
14 | [cetacam] |
||
15 | class: feicam.Ceta |
||
16 | zplane: 50 |
||
17 | height: 4096 |
||
18 | width: 4096 |
||
19 | </pre> |
||
20 | 6 | Anchi Cheng | |
21 | 7 | Anchi Cheng | h2. Programs to open before Leginon Client: TIA. |
22 | |||
23 | 6 | Anchi Cheng | h2. Testing with pyscope |
24 | |||
25 | In python command |
||
26 | <pre> |
||
27 | form pyscope import feicam |
||
28 | g = feicam.Ceta() |
||
29 | g.setExposureTime(200) |
||
30 | g.getImage() |
||
31 | </pre> |
||
32 | |||
33 | {{include(pyscope_test_result array)}} |