Project

General

Profile

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

Revision 9 (Anchi Cheng, 11/16/2020 03:23 PM) → Revision 10/11 (Anchi Cheng, 09/13/2021 02:29 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. 
 If your instruments.cfg contains tia.TIA_Ceta, you should comment it out.    This replacement of the instrument makes it unnecessary to recalibrate. 

 <pre> 
 [cetacam] 
 class: feicam.Ceta 
 zplane: 50 
 height: 4096 
 width: 4096 
 </pre> 

 h2. Programs to open before Leginon Client: TIA. 

 h2. Testing with pyscope 

 In python command 
 <pre> 
 from pyscope import feicam 
 g = feicam.Ceta() 
 g.setExposureTime(200) 
 g.getImage() 
 </pre> 

 {{include(pyscope_test_result array)}}