Project

General

Profile

Actions

Gatan UltraScan dmsem Installation Pyscope Test » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Anchi Cheng, 02/02/2016 02:23 PM


1. Start DigitalMicrograph

2. From python command line

from pyscope import dmsem
d = dmsem.GatanUltraScan()
d.getImage()

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

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)

Updated by Anchi Cheng almost 9 years ago · 2 revisions