Project

General

Profile

Gatan UltraScan dmsem Installation Pyscope Test » History » Revision 3

Revision 2 (Anchi Cheng, 02/02/2016 02:23 PM) → Revision 3/5 (Anchi Cheng, 02/02/2016 02:26 PM)

1. Start DigitalMicrograph 

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

 {{include(pyscope_test_array)}} 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>