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-1.0.1.tar.gz (398.1 kB view details)

Uploaded Source

Built Distribution

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

glowtracker-1.0.1-py3-none-any.whl (408.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for glowtracker-1.0.1.tar.gz
Algorithm Hash digest
SHA256 50742b7c726718c549c9bafa2140c2fce356e27f9a5679a5a572e254b55a7f95
MD5 3fb3ca7cdb0721727ce59f563e98adce
BLAKE2b-256 c61cf35ed430ecf7c45e89de5fabfbbee23bc5816fa7653fd8c37bb0705239a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for glowtracker-1.0.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-1.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for glowtracker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4b996220aba6483253cb0aa87b020bd1a2cb4a33335e7bb5aecc638450652ff
MD5 e3619041a4c377f418d322b619e3bb44
BLAKE2b-256 dc1d8412792b33322c316e6f2f9f493306b9638ca81386513bb4a91aa470b2e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for glowtracker-1.0.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