Project

General

Profile

Testing pyscope instrument » History » Version 2

Neil Voss, 03/02/2012 10:22 AM

1 1 Anchi Cheng
h1. Testing pyscope instrument script functions
2
3
On the instrument host of the instrument, a TEM host that uses Tecnai class, for example, you can launch python command line window and try to create an instance of the instrument and then call a function such as getMagnifications in that like this:
4
5
<pre>
6
import pyscope.registry
7
s = pyscope.registry.getClass('Tecnai')()
8 2 Neil Voss
s.getMagnifications()
9 1 Anchi Cheng
</pre>