Testing pyscope instrument » History » Version 1
Anchi Cheng, 11/18/2011 02:00 PM
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 | s,getMagnifications() |
||
9 | </pre> |