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