Project

General

Profile

Gatan K3 Installation Pyscope Test » History » Version 2

Anchi Cheng, 10/06/2022 03:03 PM

1 1 Anchi Cheng
Binning=2x2 (Counted mode)
2
3
# Start DigitalMicrograph
4
# From python command line or IDLE:<pre>
5
import pyscope.dmsem
6
k = pyscope.dmsem.GatanK3()
7
k.setBinning({'x':2,'y':2})
8
k.setExposureTime(200)
9 2 Anchi Cheng
a=k.getImage()
10
a.shape
11
</pre>
12
* The last command should return the shape of the image arrau
13 1 Anchi Cheng
14
{{include(pyscope_test_result array)}}
15
16
h4. Testing frame saving
17
18
You can continue the test above by saving frames, too.
19
20
{{include(pyscope_test_k2_save_frames)}}