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

Install the correct environment

  1. Install Conda [Link]

  2. Create environment

    • Using Mamba (faster, recommended)
      1. Install Mamba from [Link]
      2. Create environment:
        mamba env update -n macroscope --file StageEnvironment.yml
        
    • Using Conda
      conda env create --file StageEnvironment.yml
      
  3. Activate the environment:

    conda activate macroscope
    
  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 by

    python glowtracker/__main__.py
    

Device Setup

Stage

In macroscope.ini, specify the connection port name to your Stage. In Windows, this is usually port = COM3. In Linux, usually port = /dev/ttyUSB0

Camera

In macroscope.ini, specify the path to your pylon default camera setting default_settings. 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.9.0.tar.gz (379.7 kB view details)

Uploaded Source

Built Distribution

glowtracker-0.9.0-py3-none-any.whl (414.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glowtracker-0.9.0.tar.gz
  • Upload date:
  • Size: 379.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for glowtracker-0.9.0.tar.gz
Algorithm Hash digest
SHA256 beb97ff87bdb3c6fc20298603a11f55e077cc37b5287f9e095345c0e76f8753d
MD5 a1f2e32579c5532ef70706ab6162825b
BLAKE2b-256 7200e8deaae989f1f3b099a03c6d002823bc8d80341f97107f1b8853eeef34ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: glowtracker-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 414.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for glowtracker-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 833f4f5861135733ae874c1e321e47acfd9c426e4148ed9398716fe237fe30b5
MD5 de1c75a10cf053b4069b41565cd62413
BLAKE2b-256 c2f573fd0b67f1a06ebbea1b920fbeaae3f8b9a3df9a0d6fc18f6ee19107c3cd

See more details on using hashes here.

Supported by

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