Skip to content

UBCO-COSC-499-Summer-2022/matlab-to-python-application-translation-project2-nrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COSC 499 Project 2 NRC Electron Microscope Tools

A set of in-development Python tools ported from Matlab for calibrating and processing electron microscope imagery.

Documentation

Team Members

  • Garrett Cook
  • Jasmine Mishra
  • Jose Pena Revelo
  • Lucas Towers

Intro

Each software is its own python project. The following steps can be applied to all projects.

Windows Users Installation and Usage

  1. Install a stable version of Python 3 (must be >=3.9)
  2. Extract the full source code to a folder on your device.
  3. Run the install.py in a given project with python.
  4. Run the main.py in a given project with python.

Mac/Linux Installation and Usage

  1. Install a stable version of Python 3 (must be >=3.9), using a package manager such as brew or apt is recommended.
    • brew install python@3.9
    • sudo apt install python3.9
  2. Install supporting libraries for Tcl/Tk
    • brew install python-tk
    • sudo apt install python3-tk
  3. Extract the full source code to a directory on your device.
  4. Run the project's install.py with python.
  5. Run the project's main.py with python.

Run via command line

python -m qeels
python -m nanomi_optics
python -m alignment_software

Advanced Development Instructions

  1. Install Poetry for Python
  2. Clone the repository and cd into one of three projects directories
  3. Install dependencies with poetry install
  4. Enter a virtual shell with poetry shell
  5. Run tests with pytest
  6. Lint code with flake8 <package_name>

About

Electron Microscope tools written in Python re-written from MATLAB

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages