Package to generate Spinograms from moseq data.
moseq-spinogram can be installed into a moseq2-app environment, or you could make your own virtual environment:
conda create -n moseq-spinogram python=3.7
conda activate moseq-spinogramPlease ensure the following dependencies are installed:
pip install git+https://github.com/dattalab/moseq2-viz.gitThen install this package:
pip install git+https://github.com/tischfieldlab/moseq-spinogram.gitspinogram --helpThere are a few sub commands depending on the extent you want to generate spinograms. These all mostly share the same options.
plot-one Plot just one example of a given syllable
plot-many Plot many examples of a given syllable
plot-corpus Plot one example of each syllable
plot-clustered Plot one example of each syllable, clustered by behavioral distance