Skip to content

Eden-Kramer-Lab/spectral_rhythm_detector

Repository files navigation

spectral_rhythm Detector

Detect spectral_rhythms using an HMM

Installation

spectral_rhythm_detector can be installed through pypi or conda. Conda is the best way to ensure that everything is installed properly.

pip install spectral_rhythm_detector
python setup.py install

Or

conda install -c edeno spectral_rhythm_detector
python setup.py install

Usage

results_df, model = detect_spectral_rhythm(time, lfps, sampling_frequency)

Developer Installation

  1. Install miniconda (or anaconda) if it isn't already installed. Type into bash (or install from the anaconda website):
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
hash -r
  1. Go to the local repository (.../spectral_rhythm_detector) and install the anaconda environment for the repository. Type into bash:
conda env create -f environment.yml
conda activate spectral_rhythm_detector # if using older anaconda, use source activate
python setup.py develop

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published