Gatan K2 Installation Pyscope Test » History » Revision 9
Revision 8 (Neil Voss, 03/25/2016 02:00 PM) → Revision 9/12 (Anchi Cheng, 01/30/2018 07:24 PM)
# Start DigitalMicrograph
# From python command line or IDLE:<pre>
import pyscope.dmsem
k = pyscope.dmsem.GatanK2Counting()
k.setExposureTime(200)
k.getImage()</pre>
{{include(pyscope_test_result array)}}
[[pyscope_test_k2_save_frames]]
h4. testing energy filter
# Start DigitalMicrograph
# From python command line or IDLE:<pre>
import pyscope.dmsem
k = pyscope.dmsem.GatanK2Counting()
k.getEnergyFiltered()
k.getEnergyFilter()
k.setEnergyFilter(True)
k.getEnergyFilter()
k.setEnergyFilter(False)
k.getEnergyFilter()
k.getEnergyFilterWidth()
</pre>