Gatan UltraScan dmsem Installation Pyscope Test » History » Version 2
Anchi Cheng, 02/02/2016 02:23 PM
1 | 2 | Anchi Cheng | 1. Start DigitalMicrograph |
---|---|---|---|
2 | |||
3 | 2. From python command line |
||
4 | 1 | Anchi Cheng | <pre> |
5 | from pyscope import dmsem |
||
6 | d = dmsem.GatanUltraScan() |
||
7 | d.getImage() |
||
8 | 2 | Anchi Cheng | </pre> |
9 | |||
10 | You should expect these run without error. The last command should give a 2D numpy array like |
||
11 | |||
12 | <pre> |
||
13 | array([[1000, 3400, 2300, ..., 1000,1200,3000], |
||
14 | [1000, 3400, 2300, ..., 1000,1200,3000], |
||
15 | [1000, 3400, 2300, ..., 1000,1200,3000], |
||
16 | ..., |
||
17 | [1000, 3400, 2300, ..., 1000,1200,3000], |
||
18 | [1000, 3400, 2300, ..., 1000,1200,3000], |
||
19 | [1000, 3400, 2300, ..., 1000,1200,3000],dtype=int16) |
||
20 | 1 | Anchi Cheng | </pre> |