Setup Ceta to use Advanced TEM Scripting » History » Revision 6
Revision 5 (Anchi Cheng, 12/06/2019 04:41 PM) → Revision 6/11 (Anchi Cheng, 12/06/2019 04:43 PM)
h1. Setup Ceta to use Advanced TEM Scripting
Diffraction mode image acquisition is not available through TIA Scripting. Advanced TEM Scripting must be used.
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.
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.
h2. Example of proper instruments.cfg for diffraction recording
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.
<pre>
[cetacam]
class: feicam.Ceta
zplane: 50
height: 4096
width: 4096
</pre>
h2. Testing with pyscope
In python command
<pre>
form pyscope import feicam
g = feicam.Ceta()
g.setExposureTime(200)
g.getImage()
</pre>
{{include(pyscope_test_result array)}}