Skip to main content

GlowTracker provides a graphical user interface to operate a microscope. The microscope is a hardware setup designed for tracking a small animal in bright field, single or dual epi-fluorescence imaging.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glowtracker-0.12.1.tar.gz (386.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glowtracker-0.12.1-py3-none-any.whl (395.9 kB view details)

Uploaded Python 3

File details

Details for the file glowtracker-0.12.1.tar.gz.

File metadata

  • Download URL: glowtracker-0.12.1.tar.gz
  • Upload date:
  • Size: 386.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for glowtracker-0.12.1.tar.gz
Algorithm Hash digest
SHA256 02445791731fdb2d05f4fb488aa33b9706dcaea923588fa7b28a299241d77a9b
MD5 7d68d7a0e88b7a7359da3d56cd89be98
BLAKE2b-256 ca562adfad05bf894a59717b662c42215c05868e5977a241faae9fb598c1f3a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for glowtracker-0.12.1.tar.gz:

Publisher: publish_package.yml on scholz-lab/GlowTracker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file glowtracker-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: glowtracker-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 395.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for glowtracker-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc36a2191bc763173d239efe8c461d5a8d4e183df42e4b0958d76fc35a1cc7f5
MD5 0d92953ff28887c3c91e235cf32ff39f
BLAKE2b-256 2874dc6b24e45cd5e01903cb5067cdbd09806c07033c218060519cd3feb37169

See more details on using hashes here.

Provenance

The following attestation bundles were made for glowtracker-0.12.1-py3-none-any.whl:

Publisher: publish_package.yml on scholz-lab/GlowTracker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page