Gatan K2 Installation Pyscope Test » History » Revision 11
Revision 10 (Anchi Cheng, 01/30/2018 07:29 PM) → Revision 11/12 (Anchi Cheng, 01/30/2018 07:32 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)}}
h4. Testing frame saving
* You can continue the test above by saving frames, too.
{{include(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>