Project

General

Profile

Testing pyscope instrument » History » Version 5

Anchi Cheng, 01/29/2018 06:53 PM

1 1 Anchi Cheng
h1. Testing pyscope instrument script functions
2
3 5 Anchi Cheng
When something goes wrong with Leginon's communication with the TEM or camera, it is often most helpful to test the low level interface to the instrument.  For example, on the FEI TEM host computer, start Python and run the following to get the current magnification:<pre>import pyscope.fei
4
s = pyscope.fei.Tecnai()
5 3 Jim Pulokas
s.getMagnification()
6 1 Anchi Cheng
</pre>