further explorations will take place soon-ish... :)
This repo contains code used for post processing + analysis in the SLEAP fish tracking project. Feel free to read my thesis or view the poster to learn more about it.
models: folder with the SLEAPcentroidandcentered-instancemodels used for tracking (not required for running analysis)allcsvs: folder of SLEAP csv output for all groups of tracked fish (each file labeled bygroup_id)constants.py: constants used throughout the projecterikas_1min.csv&erikas_t2_4s.csv: sample datasets for testing codeextras.ipynb: some explorations with DTW + some interactiveplotlygraphsfind_center_demo.ipynb: walkthrough tutorial for finding center of tank (least squares + midpoint methods)fish_utils.py: all core utilities for preprocessing, data analysis, calculations + some extra functionstotal_dists.ipynb: main processing loop for calculating total distances traveled on full dataset (+ size estimation)total_dists_with_sizes_.csv: output of total_dists.ipynb (includes total dists + size est)visuals_demo.ipynb&visuals_demo_2.html/Rmd: contain all visuals from the project (+ some extra plots)visuals.pyscript for automating visualizations invisuals_demo.ipynb
Recommendations:
- Run
fish_utils.pyandvisuals.pyfor the core analysis + plotting functions. - See
find_center_demo.ipynbandtotal_dists.ipynbfor some analysis examples. - Generate visualizations with
visuals_demo.ipynbandvisuals_demo_2.Rmd(also has HTML).
Repository URL: https://github.com/erikamoore/onefishtwofish.git

