Project

General

Profile

Testing pyscope instrument » History » Version 3

Jim Pulokas, 08/27/2013 03:34 PM

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