The GLATOS Package
Overview
Teaching: 15 min
Exercises: 0 minQuestions
What is the GLATOS package?
What are false detections?
How can I filter false detections out of my data?
Objectives
Introduce the GLATOS package.
Explain how false detections are produced.
Introduce the Pincock algorithm.
Demonstrate how the Pincock algorithm can filter false detections.
GLATOS
There’s an ongoing effort to combine the work done by many researchers worldwide on the creation of these and other analysis and visualization tools so that work is not duplicated, and so that researchers don’t have to start from scratch when implementing analysis techniques.
The Great Lakes Acoustic Telemetry Observing System group has gathered a few of their more programming-minded researchers and authored an R package, and invited OTN and some technical people at Innovasea (Vemco) to help them maintain and extend this package to ensure that it’s useful for telemeters all over the world. There are a few very common methods of looking at acoustic detection data codified in glatos, and it serves as a great jumping off point for the design of new methods of analysis and visualization. The Pincock calculation above exists as a prebuilt function in the glatos toolbox, and there are a few others we’ll peek at now to help us with the visualization of these datasets.
The notebook concept is a bit new to the glatos package, so be aware that its functions save most of their output to files. Those files will be in your project folder.
False Detection Filtering using the Pincock algorithm.
Doug Pincock defined a temporal threshhold algorithm to determine whether detections in a set of detections from a station could be considered real (Source). The thrust of the filter is that a single detection at a station could very well be false, and it would require multiple detections of a tag by a receiver within a certain time frame to confirm that tag actually existed and was pinging at that station, and its ID was not the result of a collision event between two other tags.
Tag collision resulting in no detection:
Tag collision resulting in false detection: (figs from False Detections: What They Are and How to Remove Them from Detection Data, Pincock 2012)
library(glatos)
dets_file <- file.path('data', 'detections.csv')
dets <- read_glatos_detections(dets_file)
dets <- false_detections(dets, tf = 3600)
The result of false_detections() adds a passed_filter column to the table. We can use this column to get only the detections that passed the filter.
library(tidyverse)
dets_filtered <- dets %>% filter(passed_filter != FALSE)
dets_filtered
Key Points
The GLATOS package is a collection of data analysis and visualization tools.
False detections are produced by tag collisions.
The Pincock algorithm filters out false detections by comparing pings across nearby stations.