Gatan K2 Installation Pyscope Test » History » Version 9
Anchi Cheng, 01/30/2018 07:24 PM
1 | 3 | Anchi Cheng | # Start DigitalMicrograph |
---|---|---|---|
2 | 5 | Anchi Cheng | # From python command line or IDLE:<pre> |
3 | 1 | Anchi Cheng | import pyscope.dmsem |
4 | k = pyscope.dmsem.GatanK2Counting() |
||
5 | k.setExposureTime(200) |
||
6 | k.getImage()</pre> |
||
7 | 4 | Anchi Cheng | |
8 | {{include(pyscope_test_result array)}} |
||
9 | 6 | Neil Voss | |
10 | 9 | Anchi Cheng | [[pyscope_test_k2_save_frames]] |
11 | |||
12 | 6 | Neil Voss | h4. testing energy filter |
13 | |||
14 | # Start DigitalMicrograph |
||
15 | # From python command line or IDLE:<pre> |
||
16 | import pyscope.dmsem |
||
17 | k = pyscope.dmsem.GatanK2Counting() |
||
18 | k.getEnergyFiltered() |
||
19 | k.getEnergyFilter() |
||
20 | 7 | Neil Voss | k.setEnergyFilter(True) |
21 | k.getEnergyFilter() |
||
22 | k.setEnergyFilter(False) |
||
23 | k.getEnergyFilter() |
||
24 | 8 | Neil Voss | k.getEnergyFilterWidth() |
25 | 6 | Neil Voss | </pre> |