Module for analysis of 3D animal pose sequences. Based on work by Berman et al. (2014) and Marshall et al. (2020).
Install the latest version of Miniconda on your machine.
The following steps will clone this repository, set up your conda environment, and install dappy.
Use environment.yml
if you're on a Linux machine, and environment_osx.yml
for Mac.
git clone https://github.com/joshuahwu/dappy.git
cd dappy
conda env create -n dappy -f environment.yml
conda activate dappy
conda install -c conda-forge opentsne
pip install -e .
Note that pip
and setuptools
must be updated to the most recent versions.
To begin gaining familiarity with the functionality of this package, download the demo dataset at this link or with the command line as follows:
cd dappy
wget -v -O ./tutorials/data/demo_mouse.h5 -L https://duke.box.com/shared/static/zprn76pl31a9u1pp6gvxbmehn7p9zmbx.h5
and run through the code in /tutorials/tutorial.ipynb
.
- Joshua Wu - [email protected]