JEOL setup » History » Version 2
Neil Voss, 03/02/2012 11:50 AM
| 1 | 1 | Neil Voss | h1. JEOL setup |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Neil Voss | h2. instruments.cfg |
| 4 | 1 | Neil Voss | |
| 5 | <pre> |
||
| 6 | [TEM] |
||
| 7 | class: jeol1230.jeol1230 |
||
| 8 | 2 | Neil Voss | </pre> |
| 9 | |||
| 10 | h2. Testing pyscope instrument script functions |
||
| 11 | |||
| 12 | 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: |
||
| 13 | |||
| 14 | <pre> |
||
| 15 | import pyscope.registry |
||
| 16 | s = pyscope.registry.getClass('Tecnai')() |
||
| 17 | s.getMagnifications() |
||
| 18 | 1 | Neil Voss | </pre> |