Project

General

Profile

Testing pyscope instrument » History » Revision 2

Revision 1 (Anchi Cheng, 11/18/2011 02:00 PM) → Revision 2/5 (Neil Voss, 03/02/2012 10:22 AM)

h1. Testing pyscope instrument script functions 

 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: 

 <pre> 
 import pyscope.registry 
 s = pyscope.registry.getClass('Tecnai')() 
 s.getMagnifications() s,getMagnifications() 
 </pre>