Getting Started

After you have finished constructing your microscope, connect the camera and stage’s USBs to your computer.

  1. Opening up the GUI
  2. Connect to the stage
  3. Connect to the camera
  4. Calibrate the camera and stage relationship
  5. Dual-color calibration (optional)
  6. Recording settings

Opening up the GUI

glowtracker GUI

Connect to the stage

If you have never connected to the Zaber stage before, install and open Zaber Launcher. In there, you can find the connection port name to your stage, usually COM3 for Windows or /dev/ttyUSB0 for Linux, and you can also update your stage firmware to the latest version. Afterward, close the Zaber Launcher and open up the GlowTracker. Open the Settings , put your connection port name in the section Stage, field Stage serial port. Close the settings, then click the Stage . If the button turns green then you have successfully connected the stage.

You can now control the stage movement by the stage control buttons (GUI image: Group 2) or the arrow keys on your keyboard. The left ⇦, and right ⇨ keys control the stage X axis, ⇧ ⇩ control the stage Y axis, and Page Up, Page Down, raise and lower the stage. Press these in combination with the Shift key to move at a slower speed.

Connect to the camera

If you have never connected to the Basler camera before, install and open the pylon Viewer. In there, you can test the connection to your camera, specify your settings such as exposure time and gain, and then export your camera setting file as .pfs. Open the Settings , put your connection port name in the section Camera, field Default camera settings. Close the settings, then click the Camera . If the button turns green then you have successfully connected the camera. You can view from the camera by pressing the live view button.

Calibrate the camera and stage relationship

Calibration is essential to translate the motion of the object of interest in the image to the compensatory motion of the stage, that centers the object.

  1. Select a sample that shows a lot of structure, for example, a ruler, or a drop of fluorescent pigment on a slide.

    Fluorescent drop
    Fluorescent drop on a slide
    Viewing fluorescent drop
    Placing the slide in the center of the objective
  2. Open the Calibrate window . Navigate to the tab Camera & Stage Calibration.

  3. Click Calibrate. The resulting pixel size and rotation of the camera will be shown, along with a plot display of the camera space and stage space.

    Calibration result
    Camera and Stage calibration result
  4. You can test if the calibration is correct by turning on the Move in image space mode option in the Settings under Stage section. After turning it on, when you move the stage using the arrow keys , the resulting image should also be moved accordingly and intuitively, e.g. pressing should move the image up, and pressing should also move the image to the right.

Calibration result
Turn on the "Move in image space mode setting"

Dual-color calibration (optional)

(this step is only required in the dual-color configuration.) To calibrate the relationship between the two color channels, which will later allow an accurate overlay of the two images, the image-splitter needs to be calibrated.

  1. Select a sample that shows either the same structure in both channels (e.g., fluorescent beads, fluorescent tape) or that has sufficient bleed-through to appear in both channels.
    Fluorescent stripes
    Fluorescent stripes on a slide
    View fluorescent stripes
    Placing the slide in the center of the objective
  2. Open the calibration dialog by clicking on Calibrate . Navigate the tab to the section called Dual Color Calibration.

  3. Click Calibrate. The calibration result will be shown in the overlay.
Calibration result
Dual-color calibration result

Recording settings

Recording settings can be set quickly in the Recording , or in more details inside the Settings window, under the Experiment tab.

Recording Widget
Recording settings widget

The Framerate (1/s) refers to the camera’s current frame rate as set and displays at .

Recording Widget
Experiment settings

The recording output location can be set by clicking the file dialo in , or in the Settings > Experiment > Save Path. During a recording, a sequence of images and a recording log will be written to the directory. The images are saved in tiff format by default, and can be optionally changed to png or jpg. They are named in the following chronological convention year-month-day-hour-minute-second-microsecond-basler_frame.tiff, eg.

2025-08-11-16-34-05-808215-basler_0.tiff
2025-08-11-16-34-05-808215-basler_1.tiff
...

The recording log with a similarly fahioned name year-month-day-hour-minute-second-microsecond-coords.txt containing data related to each recording are also saved with the following information:

# Recording
duration 5.0
nframes 242
# Camera
framerate 33.18290416777276
imageToStage -0.02024441584944725,-1.5099265575408936,1.5099265575408936,-0.02024441584944725
rotation -1.5842030734336334
imagenormaldir +Z
pixelsize 1.5100623217999616
# Dual color
dualcolormode False
mainside Right
viewmode Splitted
recordingmode Original
translation_x -6.5409646
translation_y 4.5999527
rotation -0.013371419154158244
# Tracking
roi_x 1800
roi_y 1800
capture_radius 400
min_step 1
threshold 30  
binning 4
dark_bg True
mode CMS
area 400
# Frame Time X Y Z minBrightness maxBrightness meanBrightness medianBrightness skewness percentile_5 percentile_95
0 252019.0 86.59006347656245 86.50721582031245 150.56420507812493 2 205 75.44840179037635 69.0 0.266955624255871 7.0 161.0 
1 252049.2 86.59006347656245 86.50721582031245 150.56420507812493 2 203 75.44819390262883 69.0 0.2669543748386637 7.0 161.0 
2 252079.3 86.59006347656245 86.50721582031245 150.56420507812493 2 203 75.44634974218782 69.0 0.2670122786962307 7.0 161.0 
3 252109.4 86.59006347656245 86.50721582031245 150.56420507812493 2 206 75.44769324617424 69.0 0.26691558590850634 7.0 161.0 
...

From the beginning section # Recording to # Tracking are meta data about that recordding session, and under the section # Frame ... contains the relevent data to each image frame. Each column of the line # Frame ... writes it’s respective header, i.e. first column is the image frame number (matching with the image file name), second column is the image time stamp (from the camera’s internal clock), third is the camera position in X-axis (which can be directly interpret as the animal’s position), and so on.

However, the image analysis data minBrightness, maxBrightness, ..., percentile_95 will not be recorded by default because the computation tooks ~30ms per frame and may affect recording at high speed. The option can be enabled through Settings > LiveAnalysis > Save to the recording.