Published July 18, 2021 | Journal article | Version v1 | https://doi.org/10.21105/joss.03202

Traja: A Python toolbox for animal trajectory analysis

Files

joss.03202.pdf

Files (7.6 MB)

Name Size Download all
md5:80e158a57a5d6ca6bd0c909d6a36cf3b
790.1 kB Preview Download
md5:9a48432acfe811c67e7c15cb19e6702e
6.8 MB Preview Download

Additional details

Dates

Issued
July 18, 2021

References

  1. Shenk, J., Byttner, W., Nambusubramaniyan, S., & Zoeller, A. (2021). Traja: A Python toolbox for animal trajectory analysis (Version v0.2.13) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.5069231
  2. Trajectory Data Mining: An Overview, https://www.microsoft.com/en-us/research/publication/trajectory-data-mining-an-overview/, ACM Transaction on Intelligent Systems and Technology, Zheng, Yu, 2015, Type: Journal Article
  3. Gillies, Sean and others, toblerity.org, Shapely: manipulation and analysis of geometric objects, 2007–, https://github.com/Toblerity/Shapely
  4. Calenge, C. (2006). The package “adehabitat” for the R software: A tool for the analysis of space and habitat use by animals. Ecological Modelling, 197(3-4), 516–519. https://doi.org/10.1016/j.ecolmodel.2006.03.017
  5. Savitzky, A., & Golay, M. J. E. (1964). Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Analytical Chemistry, 36(8), 1627–1639. https://doi.org/10.1021/ac60214a047
  6. Patterson, T. A., Eveson, J. P., Hartog, J. R., Evans, K., Cooper, S., Lansdell, M., Hobday, A. J., & Davies, C. R. (2018). Migration dynamics of juvenile southern bluefin tuna. Scientific Reports, 8(1), Article 14553. https://doi.org/10.1038/s41598-018-32949-3
  7. Patterson, T. A., Parton, A., Langrock, R., Blackwell, P. G., Thomas, L., & King, R. (2017). Statistical modelling of individual animal movement: an overview of key methods and a discussion of practical challenges. AStA Advances in Statistical Analysis, 101(4), 399–438. https://doi.org/10.1007/s10182-017-0302-7
  8. Cambridge, MA, USA, Adaptive Computation and Machine Learning, Gaussian Processes for Machine Learning, Biologische Kybernetik, Rasmussen, CE. and Williams, CKI., jan, 2006, Backup Publisher: Max-Planck-Gesellschaft, 1
  9. Gaussian Process Regression for Trajectory Analysis, en, Cox, Gregory E and Kachergis, George and Shiffrin, Richard M, 2012, 6
  10. Kareiva, P. M., & Shigesada, N. (1983). Analyzing insect movement as a correlated random walk. Oecologia, 56(2-3), 234–238. https://doi.org/10.1007/bf00379695
  11. Modeling Trajectory as Image: Convolutional Neural Networks for Multi-scale Taxi Trajectory Prediction, Modeling Trajectory as Image, https://www.academia.edu/34767293/Modeling_Trajectory_as_Image_Convolutional_Neural_Networks_for_Multi-scale_Taxi_Trajectory_Prediction, en, 2019-11-23, Wang, Xintong, 2017
  12. Graser, A. (2019). MovingPandas: Efficient Structures for Movement Data in Python. GI_Forum, 1, 54–68. https://doi.org/10.1553/giscience2019_01_s54
  13. Distributed Representations of Words and Phrases and their Compositionality, Mikolov, Tomas and Sutskever, Ilya and Chen, Kai and Corrado, Greg and Dean, Jeffrey, 2013, 1310.4546, arXiv, cs.CL
  14. Huber, P. J. (1964). Robust Estimation of a Location Parameter. The Annals of Mathematical Statistics, 35(1), 73–101. https://doi.org/10.1214/aoms/1177703732
  15. Franke, A., Caelli, T., & Hudson, R. J. (2004). Analysis of movements and behavior of caribou (Rangifer tarandus) using hidden Markov models. Ecological Modelling, 173(2-3), 259–270. https://doi.org/10.1016/j.ecolmodel.2003.06.004
  16. Holzmann, H., Munk, A., Suster, M., & Zucchini, W. (2006). Hidden Markov models for circular and linear-circular time series. Environmental and Ecological Statistics, 13(3), 325–347. https://doi.org/10.1007/s10651-006-0015-7
  17. Sgoldenlab, Choong, J. J., Nilsson, S., Islam, A., & Sophihwang26. (2021). sgoldenlab/simba: SimBA: release v1.3 (Version v1.3) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.4521178
  18. Hsu, A. I., & Yttri, E. A. (2019). An Open Source Unsupervised Algorithm for Identification and Fast Prediction of Behaviors [Preprint]. In bioRxiv. openRxiv. https://doi.org/10.1101/770271
  19. Sridhar, V. H. (2017). vivekhsridhar/tracktor: Tracktor (Version tracktor) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.1134016
  20. Wijeyakulasuriya, D. A., Eisenhauer, E. W., Shaby, B. A., Hanks, E. M., & Zhang, J. (2020). Machine learning for modeling animal movement. PLOS ONE, 15(7), e0235750. https://doi.org/10.1371/journal.pone.0235750
  21. Mathis, A., Mamidanna, P., Cury, K. M., Abe, T., Murthy, V. N., Mathis, M. W., & Bethge, M. (2018). DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nature Neuroscience, 21(9), 1281–1289. https://doi.org/10.1038/s41593-018-0209-y
  22. PyTorch: An Imperative Style, High-Performance Deep Learning Library, Paszke, Adam and Gross, Sam and Massa, Francisco and Lerer, Adam and Bradbury, James and Chanan, Gregory and Killeen, Trevor and Lin, Zeming and Gimelshein, Natalia and Antiga, Luca and Desmaison, Alban and Kopf, Andreas and Yang, Edward and DeVito, Zachary and Raison, Martin and Tejani, Alykhan and Chilamkurthy, Sasank and Steiner, Benoit and Fang, Lu and Bai, Junjie and Chintala, Soumith, Advances in Neural Information Processing Systems 32, 8024–8035, 2019, Curran Associates, Inc., https://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf
  23. Liang, J., Jiang, L., Niebles, J. C., Hauptmann, A., & Fei-Fei, L. (2019). Peeking Into the Future: Predicting Future Person Activities and Locations in Videos. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2960–2963. https://doi.org/10.1109/cvprw.2019.00358
  24. Amirian, J., Hayet, J.-B., & Pettre, J. (2019). Social Ways: Learning Multi-Modal Distributions of Pedestrian Trajectories With GANs. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2964–2972. https://doi.org/10.1109/cvprw.2019.00359
  25. Kerster, B. E., Rhodes, T., & Kello, C. T. (2016). Spatial memory in foraging games. Cognition, 148, 85–96. https://doi.org/10.1016/j.cognition.2015.12.015

1–25 of 51

Citations

  1. Deng, M., Peng, J., Tang, J., Hu, Z., Guo, Q., Liu, J., Jiang, X., & Huang, C. (2025). Spatiotemporal Pattern Mining of Moving Objects: Concepts, Methods, and Challenges. Journal of Geovisualization and Spatial Analysis, 9(2). https://doi.org/10.1007/s41651-025-00236-1
  2. Liga, D., Baucour, L., Ferrara, G., Stancher, G., & Frasnelli, E. (2025). Directional biases and individual differences in foraging strategies in Apis mellifera. Animal Behaviour, 226, 123237. https://doi.org/10.1016/j.anbehav.2025.123237
  3. Wei, Q., Wang, J., Zhai, G., Pang, R., Yu, H., Deng, Q., Liu, X., & Zhou, Y. (2025). PursuitNet: A deep learning model for predicting competitive pursuit-like behavior in mice. Brain Research, 1858, 149634. https://doi.org/10.1016/j.brainres.2025.149634
  4. Forrest, S. W., Pagendam, D., Hassan, C., Drovandi, C., Potts, J. R., Bode, M., & Hoskins, A. J. (2025). Predicting animal movement with deepSSF: a deep learning step selection framework [Preprint]. In bioRxiv. openRxiv. https://doi.org/10.1101/2025.02.13.638055
  5. Mas, A., Mignot, T., Nollmann, M., & Le Gall, A. (2025). Integration of evolutionarily distinct motility systems enables tunable cell propulsion [Preprint]. In bioRxiv. openRxiv. https://doi.org/10.1101/2025.10.29.685086
  6. Han, L., Wang, J., Li, C., Tao, F., & Fu, Z. (2025). A Novel Multiobject Tracking Framework Based on Multisensor Data Fusion for Autonomous Driving in Adverse Weather Environments. IEEE Sensors Journal, 25(9), 16068–16079. https://doi.org/10.1109/jsen.2025.3550506
  7. Forrest, S. W., Pagendam, D., Hassan, C., Potts, J. R., Drovandi, C., Bode, M., & Hoskins, A. J. (2025). Predicting animal movement with deepSSF : A deep learning step selection framework. Methods in Ecology and Evolution, 17(2), 371–391. https://doi.org/10.1111/2041-210x.70136
  8. Missik, J. E. C., Davidson, S. C., Scyphers, M. E., Hebblewhite, M., Kelly, A. P., Fieberg, J. R., Kays, R., Lohr, A., Russell, K. L., Suitor, M., & Bohrer, G. (2025). ECODATA : A toolbox to efficiently explore and communicate animal movements alongside environmental and anthropogenic context using geospatial big data. Methods in Ecology and Evolution, 16(10), 2318–2325. https://doi.org/10.1111/2041-210x.70141
  9. https://doi.org/10.21105/joss.07323
  10. https://doi.org/10.3758/s13428-024-02581-3
  11. Yantseva, V. (2024). Climate change denial and ideology in Swedish online media: measuring ideology change using a computational approach. Journal of Computational Social Science, 8(1). https://doi.org/10.1007/s42001-024-00343-x
  12. Hadjitofi, A., & Webb, B. (2024). Dynamic antennal positioning allows honeybee followers to decode the dance. Current Biology, 34(8), 1772–1779.e4. https://doi.org/10.1016/j.cub.2024.02.045
  13. Kazama, K., Fujita, K., Shinoda, Y., & Koike, S. (2024). Sika deer trajectory prediction considering environmental factors by timeseries transformer-based architecture. Expert Systems with Applications, 250, 123630. https://doi.org/10.1016/j.eswa.2024.123630
  14. Arslan, M., & Cruz, C. (2024). Challenges of spatio-temporal trajectory datasets. Journal of Location Based Services, 18(3), 302–333. https://doi.org/10.1080/17489725.2024.2371311
  15. https://doi.org/10.3390/s24155030
  16. Martin, H., Hong, Y., Wiedemann, N., Bucher, D., & Raubal, M. (2023). Trackintel: An open-source Python library for human mobility analysis. Computers, Environment and Urban Systems, 101, Article 101938. https://doi.org/10.1016/j.compenvurbsys.2023.101938
  17. Reyes, A., Viera-López, G., Morgado-Vega, J. J., & Altshuler, E. (2023). yupi: Generation, tracking and analysis of trajectory data in Python. Environmental Modelling & Software, 163, 105679. https://doi.org/10.1016/j.envsoft.2023.105679
  18. https://doi.org/10.21105/joss.05738
  19. https://doi.org/10.3390/app13095472
  20. https://doi.org/10.1523/eneuro.0169-22.2022
  21. Cataldi, S., Lacefield, C., Shashaank, N., Kumar, G., & Sulzer, D. (2021). A dopamine-dependent decrease in dorsomedial striatum direct pathway neuronal activity is required for learned motor coordination [Preprint]. In bioRxiv. openRxiv. https://doi.org/10.1101/2021.06.07.447452