Project

General

Profile

Gatan UltraScan dmsem Installation Pyscope Test » History » Revision 2

Revision 1 (Anchi Cheng, 02/02/2016 02:17 PM) → Revision 2/5 (Anchi Cheng, 02/02/2016 02:23 PM)

1. Start DigitalMicrograph 

 2. From python command line 
 <pre> 
 from pyscope import dmsem 
 d = dmsem.GatanUltraScan() 
 d.getImage() 
 </pre> 

 You should expect these run without error.    The last command should give a 2D numpy array like 

 <pre> 
 array([[1000, 3400, 2300, ..., 1000,1200,3000], 
          [1000, 3400, 2300, ..., 1000,1200,3000], 
          [1000, 3400, 2300, ..., 1000,1200,3000], 
          ..., 
          [1000, 3400, 2300, ..., 1000,1200,3000], 
          [1000, 3400, 2300, ..., 1000,1200,3000], 
          [1000, 3400, 2300, ..., 1000,1200,3000],dtype=int16) 
 </pre>