Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.48 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.48 KB

Communication subspace

Implementation of the communication subspace analysis using scikit-learn.

Loosely following the MATLAB implementation

How to use this repo

For more information on the structure of this repo, see this template repo.

Analysis pipelines

The Jupyter notebooks in notebooks/ are workflows for the individual steps in the analysis pipeline.

notebook file use case
example.ipynb detailed explanation on data handling and regression models
batch_mode.ipynb convenience workflow to analyze many recordings

Installation

# get source code
git clone https://github.com/inagaki-lab/communication_subspace
cd communication_subspace

# create conda environment with necessary dependencies
conda env create -n communication_subspace -f environment.yml
conda activate communication_subspace

# install code as local local python module
pip install -e .

Update

# pull from github
cd communication_subspace
git pull origin main

Note that will result in an error, if you have modified any file tracked by version control. To revert any changes, use git status to see which files have been modified and then git reset --hard to revert the changes. Then run the git pull command again.