Skip to content

Latest commit

 

History

647 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GlowTracker

GlowTracker Logo GlowTracker is a microscope tracking application that has the capability of tracking a small animal in bright-field, single or dual epi-fluorescence imaging. The application interface provides controls over linear Zaber stage movement and Basler camera properties. Please visit the documentation website on how to build the setup from scratch and how to operate the software at https://scholz-lab.github.io/GlowTracker/.

Getting started

Software Setup

  1. Create a Python environment using uv (recommend) or venv.

    • Using uv (Recommend)
      1. Install uv [Link].
      2. Create a virtual environment
        uv venv glowtracker.venv
    • Using venv
      1. Create the environment
        python -m venv glowtracker.venv
  2. Activate the environment

    source glowtracker.venv/Scripts/activate
  3. Install GlowTracker You can choose to either install GlowTracker from a distributed Python package from PyPI or clone the git repository and run them locally.

    • Using pip to install from PyPI repository:
      uv pip install glowtracker
    • Or clone and run the package locally.
      1. Clone the pository
        git clone https://github.com/scholz-lab/GlowTracker.git
      2. Update the conda environment to download the dependencies
        cd Glowtracker;
        uv pip install -r pyproject.toml;
  4. Install the BASLER pylon software and runtime library [Link]

    • pylon Camera Software Suite
    • pylon runtime library
  5. (Optional) Install Zaber Launcher for inspecting and updating stage firmware [Link]

  6. After finished installation, the software can be started in several ways

    • If you have installed it via pip
      python -m glowtracker
      or simply
      glowtracker
    • If you have installed it by cloning the package and running them locally
      python glowtracker/__main__.py

Device Setup

Stage

In Settings > Stage > Stage serial port, specify the connection port name to your Stage. In Windows, this is usually port = COM3. And /dev/ttyUSB0 for Linux.

Camera

In Settings > Camera > Default camera settings, specify the path to your pylon default camera setting. This is a .pfs file that can be obtained from the pylon Viewer software that you have downloaded.

GUI overview

annotated GUI

Code overview

The application is based on the Kivy framework which connects to the microscope hardware. The GUI functionality is implemented mostly in the Kivy file, whereas device functionality is relayed to specific modules.

Known issues

  • On Linux systems, accessing serial ports needs to be allowed for the user running the GUI. In Ubuntu and similar systems, the user has to be added to the group 'dialout'.

Supported Operating Systems

  • Windows 10, Windows 11
  • Ubuntu 16.04 or newer
  • macOS Sonoma or newer

About

GUI for a modular tracking microscope

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages