Edward Lavender
Patter: particle algorithms for animal tracking in R and Julia
Lavender, Edward; Scheidegger, Andreas; Albert, Carlo; Biber, Stanisław W.; Illian, Janine; Thorburn, James; Smout, Sophie; Moor, Helen
Authors
Andreas Scheidegger
Carlo Albert
Stanisław W. Biber
Janine Illian
Dr James Thorburn J.Thorburn2@napier.ac.uk
Associate Professor
Sophie Smout
Helen Moor
Abstract
In the field of movement ecology, state-space models have emerged as a powerful modelling framework that represents individual movements and the processes that connect movements to observations. However, fitting state-space models to animal tracking data is often difficult and computationally expensive.
Here, we introduce patter, a package that provides particle filtering and smoothing algorithms that fit Bayesian state-space models to tracking data, with a focus on data from aquatic animals in autonomous receiver arrays. patter is written in R, with a high-performance Julia backend. Package functionality supports data simulation, preparation, filtering, smoothing and mapping.
In two worked examples, we demonstrate how to implement patter to reconstruct the movements of a tagged animal in an acoustic telemetry system from acoustic detections and ancillary observations. With perfect information, the particle filter reconstructs the true (unobserved) movement path (Example One). More generally, particle-based methods represent an individual’s possible location probabilistically as a weighted series of samples (‘particles’). In our illustration, we resolve an individual’s (unobserved) location every two minutes during one month in minutes and use particles to visualise movements, map space use and quantify residency (Example Two).
Patter facilitates robust, flexible and efficient analyses of animal tracking data. The methods are widely applicable and enable refined analyses of home ranges, residency and habitat preferences.
Citation
Lavender, E., Scheidegger, A., Albert, C., Biber, S. W., Illian, J., Thorburn, J., Smout, S., & Moor, H. Patter: particle algorithms for animal tracking in R and Julia
Working Paper Type | Preprint |
---|---|
Deposit Date | Feb 17, 2025 |
Publicly Available Date | Feb 17, 2025 |
DOI | https://doi.org/10.1101/2024.07.30.605733 |
Public URL | http://researchrepository.napier.ac.uk/Output/4121461 |
Files
patter: particle algorithms for animal tracking in R and Julia
(906 Kb)
PDF
Publisher Licence URL
http://creativecommons.org/licenses/by/4.0/
You might also like
Fine-scale residency and temperature-driven habitat selection in a migratory shark species
(2024)
Journal Article
Particle algorithms for animal movement modelling in autonomous receiver networks
(2024)
Preprint / Working Paper
Downloadable Citations
About Edinburgh Napier Research Repository
Administrator e-mail: repository@napier.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search