Gatan K2 Installation Pyscope Test » History » Version 10
Anchi Cheng, 01/30/2018 07:29 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 | 10 | Anchi Cheng | * You can continue the test by saving frames, too. |
11 | {{include(pyscope_test_k2_save_frames)}} |
||
12 | 9 | Anchi Cheng | |
13 | 6 | Neil Voss | h4. testing energy filter |
14 | |||
15 | # Start DigitalMicrograph |
||
16 | # From python command line or IDLE:<pre> |
||
17 | import pyscope.dmsem |
||
18 | k = pyscope.dmsem.GatanK2Counting() |
||
19 | k.getEnergyFiltered() |
||
20 | k.getEnergyFilter() |
||
21 | 7 | Neil Voss | k.setEnergyFilter(True) |
22 | k.getEnergyFilter() |
||
23 | k.setEnergyFilter(False) |
||
24 | k.getEnergyFilter() |
||
25 | 8 | Neil Voss | k.getEnergyFilterWidth() |
26 | 6 | Neil Voss | </pre> |