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.0.tar.gz (398.2 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.0-py3-none-any.whl (408.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glowtracker-1.0.0.tar.gz
  • Upload date:
  • Size: 398.2 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.0.tar.gz
Algorithm Hash digest
SHA256 f9eaa0b21a3b220240992a44e03f033e94478bc097bc0d668486c954d8e84a3c
MD5 4963ab1231a24e62ce1f449de9db699b
BLAKE2b-256 5cfde5dc3ac002fdc436a07fc81a739c8a478890e9d6357cb7e05055c9c58a2d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: glowtracker-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48eb6b6de0476b45d14240017f3223f58386360a6bfca754d35aaaf2506bea04
MD5 30abee32dd4c6fe15c4ef38a15a45ea7
BLAKE2b-256 8975526fc9e128efa002953865d15ee0124d92d50e56c714efdbaa1dec075fbd

See more details on using hashes here.

Provenance

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