A set of in-development Python tools ported from Matlab for calibrating and processing electron microscope imagery.
- 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>