Tracking settings - Z2S


Before starting an experiment in a Zantiks unit, ensure the correct tracking settings for your model organism are set (i.e., included in the script).

There are four SET functions that need to be included in the script for tracking to occur. Standard tracking settings for various the model organisms are shown below. These values have been tested and are reliable in tracking most animals. However, the values may need to be adjusted for your specific animals.


If you are using software before May 2022, please see the Tracking settings - Z1 page for details on the additional SET functions needed. These additional functions will continue to work on the latest software version. The settings found on this page are intended to simplify the use and adjustment of previous tracking commands.

Top

Tracking setting commands


There are two tracking settings which are placed at the beginning of the script. These settings tell the unit how to find and track the organism(s).

SET(TARGET_SIZE,#) 
SET(DETECTOR_THRESHOLD,#)

SET(TARGET_SIZE,#) - This is the command where the size of the organism is set. This is set as the diameter of the organism in mm.

SET(DETECTOR_THRESHOLD,#) - This is the level at which the unit will properly detect the organism (and not other artefacts in the arena).

  • The higher the detector threshold, the less sensitive the tracking will be. Therefore, the animal might not be detected if set too high. This can be indicated by the target marker being absent.
  • If the threshold is set too low the tracking can pick up other signals in the arena (e.g., shadows, reflections, or biological material), creating 'noisy' tracking and the target marker may jump around the arena(s).
Top

Reference image setting commands


There are two reference image settings which tell the unit how to capture the tracking reference image and how long to take to create the final image. The image is best achieved when the animals have moved during the AUTOREF period, as it works by removing the animal from the background image. Tracking is achieved by looking for significant differences, of suitable size and strength, between this 'empty' image and the current video image.

SET(AUTOREF_MODE,MOVEMENT)
SET(AUTOREF_TIMEOUT,#)
 
 
AUTOREFERENCE()

SET(AUTOREF_MODE,MOVEMENT) - This command sets the method for capturing the reference image.

  • NOTE: We recommend that you use SET(AUTOREF_MODE,MOVEMENT), which is based on the animal moving during the autoref period.

SET(AUTOREF_TIMEOUT,#) - A reference image is complied by filming for the period of time set in this command. If an animal is unlikely to move much (e.g., a young larval fish), increasing this setting to a larger amount of time allows for a greater possibility of the system capturing movement.

AUTOREFERENCE() - this function is used to execute the above settings in an attempt to create the reference image. This image is stored as autoref.bmp in the assets directory. This should be included at the point in the script where you want the reference image created. This typically occurs within ACTION MAIN at the start of your experiment. However, this function can be included at any point in the script and can occur more than once during an experiment.

Top

Tracking settings in the MWP units


Larval zebrafish

SET(TARGET_SIZE,2) 
SET(DETECTOR_THRESHOLD,6) 
 
SET(AUTOREF_MODE,MOVEMENT) 
SET(AUTOREF_TIMEOUT,60)

Adult Drosophila

SET(TARGET_SIZE,5) 
SET(DETECTOR_THRESHOLD,3) 
 
SET(AUTOREF_MODE,MOVEMENT) 
SET(AUTOREF_TIMEOUT,30)

Daphnia

SET(TARGET_SIZE,1) 
SET(DETECTOR_THRESHOLD,5) 
 
SET(AUTOREF_MODE,MOVEMENT) 
SET(AUTOREF_TIMEOUT,10) 

Top

Tracking settings in the AD unit


Adult zebrafish

SET(TARGET_SIZE,#) 
SET(DETECTOR_THRESHOLD,5) 
 
SET(AUTOREF_MODE,MOVEMENT) 
SET(AUTOREF_TIMEOUT,30)
Top

Tracking settings in the LT unit


Adult zebrafish

SET(TARGET_SIZE,#) 
SET(DETECTOR_THRESHOLD,#) 
 
SET(AUTOREF_MODE,MOVEMENT) 
SET(AUTOREF_TIMEOUT,30)