A set of Python tools re-written from Matlab for use with electron microscopes.
Alignment Software: Tomography image sequence alignment, tracking and optimization
video demo w/ voice over: https://www.youtube.com/watch?v=eJnH7GQfo_c
NanoMi Optics: Optics diagram and optimization for Nanomi transmission electron microscope
qEELS: Momentum-resolved electron energy loss spectroscopy peak detection
- Garrett Cook
- Jasmine Mishra
- Jose Pena Revelo
- Lucas Towers
Each software is its own python project. The following steps can be applied to all projects.
- Install a stable version of Python 3 (must be >=3.9)
- Extract the full source code to a folder on your device.
- Run the
install.py
in a given project with python. - Run the
main.py
in a given project with python.
- Install a stable version of Python 3 (must be >=3.9), using a package manager such as
brew
orapt
is recommended.brew install python@3.9
sudo apt install python3.9
- Install supporting libraries for Tcl/Tk
brew install python-tk
sudo apt install python3-tk
- Extract the full source code to a directory on your device.
- Run the project's
install.py
with python. - Run the project's
main.py
with python.
python -m qeels
python -m nanomi_optics
python -m alignment_software
- Install Poetry for Python
- Clone the repository and
cd
into one of three projects directories - Install dependencies with
poetry install
- Enter a virtual shell with
poetry shell
- Run tests with
pytest
- Lint code with
flake8 <package_name>