Gatan K2 Installation Pyscope Test » History » Version 8
Neil Voss, 03/25/2016 02:00 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 | h4. testing energy filter |
||
11 | |||
12 | # Start DigitalMicrograph |
||
13 | # From python command line or IDLE:<pre> |
||
14 | import pyscope.dmsem |
||
15 | k = pyscope.dmsem.GatanK2Counting() |
||
16 | k.getEnergyFiltered() |
||
17 | k.getEnergyFilter() |
||
18 | 7 | Neil Voss | k.setEnergyFilter(True) |
19 | k.getEnergyFilter() |
||
20 | k.setEnergyFilter(False) |
||
21 | k.getEnergyFilter() |
||
22 | 8 | Neil Voss | k.getEnergyFilterWidth() |
23 | 6 | Neil Voss | </pre> |