further explorations will take place soon-ish... :)
This repo contains code used for post processing + analysis in the SLEAP fish tracking project:
allcsvs
: folder of raw SLEAP data for all groups of 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 interactiveplotly
graphsfind_center_demo.ipynb
: walkthrough tutorial for finding center of tank (least squares + midpoint methods)fish_utils.py
: all core utilties 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.py
script for automating visualizations invisuals_demo.ipynb
Recommendations:
- Run
fish_utils.py
andvisuals.py
for the core analysis + plotting functions. - See
find_center_demo.ipynb
andtotal_dists.ipynb
for some analysis examples. - Generate visualizations with
visuals_demo.ipynb
andvisuals_demo_2.Rmd
(also has HTML).
Repository URL: https://github.com/erikamoore/onefishtwofish.git