Gatan | AMETEKSkip to Main Content
No options found

Output DigitalMicrograph Python help

Python Script

Output Python commands of DigitalMicrograph. Output command-specific help.

Preview

'''
Output Python commmands of DigitalMicrograph.
Output command specific help.
'''
import DigitalMicrograph as DM
DM.ClearResults()	# Clear Output window text

# Reflective output of directory
print( 'Content of "{0}":'.format(DM.__name__) )
for Entry in dir( DM ):
   print( Entry )

# Reflective help output for a spcific command
print( '\n\n\n___\n' )
print( help(DM.ClearResults) )