Linearize 2D position to 1D using an HMM
pip install track_linearization
Or
conda install -c franklab track_linearization
Or
git clone https://github.com/LorenFrankLab/track_linearization.git
python setup.py install
- Install miniconda (or anaconda) if it isn't already installed.
- git clone https://github.com/LorenFrankLab/track_linearization.git
- Setup editiable package with dependencies
cd <package folder>
conda env create -f environment.yml
conda activate track_linearization
python setup.py develop