Skip to main content

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

Project description

GlowTracker

photo macroscope GlowTracker is a macroscope 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. 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
    
  4. Install the glowtracker

    • 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
        
  5. Install the BASLER pylon software and runtime library [Link]

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

  7. 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 macroscope 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'.

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.10.0.tar.gz (402.3 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.10.0-py3-none-any.whl (398.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for glowtracker-0.10.0.tar.gz
Algorithm Hash digest
SHA256 4b36b1b39fe48476307a25406f496db3fe68fc41cd8eaf462802b69ad1086d64
MD5 d6fdf0395faab9bc6c4c90e96244bca3
BLAKE2b-256 23f9ab10d432e23a70ddef2a5f62b03a825fb6968ff123fdb1b3c3c2822516ff

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for glowtracker-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4fa60f917e43720c3790c0164fbec054715c2d179b77c4ebbe76a4b388bc11f
MD5 502d6c43d8e69b7effc4a45f34e424cf
BLAKE2b-256 d5bb7c01c113f9472b8364c3b34114dd9618a679a74d9dbdfccb80b3e80fe465

See more details on using hashes here.

Provenance

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