Project

General

Profile

Gatan K2 Installation Pyscope Test » History » Revision 7

Revision 6 (Neil Voss, 03/25/2016 01:59 PM) → Revision 7/12 (Neil Voss, 03/25/2016 02:00 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 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() 
 </pre>