|
|
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/. |
-
Create a Python environment using uv (recommend) or venv.
- Using uv (Recommend)
- Install uv [Link].
- Create a virtual environment
uv venv glowtracker.venv
- Using venv
- Create the environment
python -m venv glowtracker.venv
- Create the environment
- Using uv (Recommend)
-
Activate the environment
source glowtracker.venv/Scripts/activate -
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
pipto install from PyPI repository:uv pip install glowtracker
- Or clone and run the package locally.
- Clone the pository
git clone https://github.com/scholz-lab/GlowTracker.git
- Update the conda environment to download the dependencies
cd Glowtracker; uv pip install -r pyproject.toml;
- Clone the pository
- Using
-
Install the BASLER pylon software and runtime library [Link]
- pylon Camera Software Suite
- pylon runtime library
-
(Optional) Install Zaber Launcher for inspecting and updating stage firmware [Link]
-
After finished installation, the software can be started in several ways
- If you have installed it via pip
or simply
python -m glowtracker
glowtracker
- If you have installed it by cloning the package and running them locally
python glowtracker/__main__.py
- If you have installed it via pip
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.
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.
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.
- 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'.
- Windows 10, Windows 11
- Ubuntu 16.04 or newer
- macOS Sonoma or newer