PyRAT: An Open-Source Python Library for Animal Behavior Analysis

Tulio Fernandes De Almeida,Bruno Guedes Spinelli,Ramón Hypolito Lima,Maria Carolina Gonzalez,Abner Cardoso Rodrigues
DOI: https://doi.org/10.3389/fnins.2022.779106
2022-05-09
Abstract:Here we developed an open-source Python-based library called Python rodent Analysis and Tracking (PyRAT). Our library analyzes tracking data to classify distinct behaviors, estimate traveled distance, speed and area occupancy. To classify and cluster behaviors, we used two unsupervised algorithms: hierarchical agglomerative clustering and t-distributed stochastic neighbor embedding (t-SNE). Finally, we built algorithms that associate the detected behaviors with synchronized neural data and facilitate the visualization of this association in the pixel space. PyRAT is fully available on GitHub: https://github.com/pyratlib/pyrat.
What problem does this paper attempt to address?