Modules for Running Python scripts by Ben Miller in DigitalMicrograph
Project description
BenMillerScripts
This is a collection of Python Modules that I've written to support my Python scripts that can be run from the embedded Python in Gatan's DigitalMicrograph software
For more information on using Python in DigitalMicrograph, visit this page on Gatan's Website.
Installing
If you don't yet have Python in DigitalMicrograph, first install DigitalMicrograph 3.4 or greater, and during installation, choose to install Python. More details can be found at the links above.
Next, open an Anaconda prompt. This should be listed in the Windows start menu program list. You may want to run this as an admin. In the Anaconda prompt enter the following:
activate GMS_VENV_PYTHON
This will activate the virtual environment that DigitalMicrograph uses.
Next, install the package by entering the following command.
pip install BenMillerScripts
Usage
This module is used by my Live FFT Color Map script.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.