BarbourLab / lussac

Package for automatic post-processing and merging of multiple spike-sorting analyses.
GNU Affero General Public License v3.0
24 stars 3 forks source link

Python version Documentation Status Build status Coverage report

Lussac 2.0

:warning: Lussac 2.0 is in beta! :warning:

You can use the version 1 with git checkout v1

Lussac is an automated and configurable analysis pipeline for post-processing and/or merging multiple spike-sorting analyses. The goal is to improve the yield and quality of data from multielectrode extracellular recordings by comparing the outputs of different spike-sorting algorithms and/or multiple runs with different parameters. For more information, check out our preprint.

Installation

You can install the latest release version of Lussac:

# OPTIONAL: Use a conda environment.
conda create -n lussac python=3.11  # Must be >= 3.10
conda activate lussac

pip install lussac
# pip install --upgrade lussac  # To upgrade in case a new version is released.

Or if you prefer downloading the latest developmental version:

# Download Lussac in any directory you want.
git clone https://github.com/BarbourLab/lussac.git --branch dev
cd lussac

# OPTIONAL: Use a conda environment.
conda create -n lussac python=3.11  # Must be >= 3.10
conda activate lussac

# Install Lussac.
pip install -e ".[dev]"

# To upgrade Lussac.
git pull

# If you want to check whether the installation was successful (optional)
pytest

Documentation

You can find the documentation here.

Migration from Lussac1

Lussac2 is not backwards-compatible with Lussac1. We advise you to make a new conda environment, and to remake your params.json file (which is also not backwards-compatible).