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 and activate a python environment using venv or Conda.

    • Using venv

      GlowTracker requires python version of at least 3.10. If you do not have one, please download from [Python].

      1. Create the environment
        python -m venv glowtracker
        
      2. Activate the environment
        source glowtracker/Scripts/activate
        
    • Using Conda

      1. Install Conda [Link]
      2. Use conda to create a new python environment named glowtracker.
        conda create -n glowtracker "python>=3.10,<3.12"
        
      3. Activate the glowtracker environment
        conda activate glowtracker
        
  2. Install the glowtracker package.

    • Using pip to install from PyPI repository:
      python -m 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;
        conda env update --file glowtracker/StageEnvironment.yml --prune
        
  3. Install the BASLER pylon software and runtime library [Link]

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

  5. 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.11.0.tar.gz (410.8 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.11.0-py3-none-any.whl (408.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for glowtracker-0.11.0.tar.gz
Algorithm Hash digest
SHA256 dad8001a55e32ef8651fafe6c03690ea68b266d2a006630beb241f849439f8a0
MD5 73b91f76924b30268ca8badeb79ab764
BLAKE2b-256 338a14ef561858fc94ce7bea5f8a8d41cca71e4eb819859ed3e02ebd5997c71d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: glowtracker-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 408.4 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.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0549cf0f8a7c0f7aef6ea22a10bd99beea421cb6d2d2ccda8bbbba03ff4ba761
MD5 ec4aabe5a691eaf92da2cd6ef8d43581
BLAKE2b-256 bde975438db3f044626bbdd6fe37342f9aa8f7cd1ba6c2a79a22a507072543cf

See more details on using hashes here.

Provenance

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