Skip to main content

DARTsort

Project description

ci coveralls Zenodo DOI pypi: dartsort

dartsort

:warning: Work in progress code repository

We do not currently recommend DARTsort for production spike sorting purposes. We are in the process of implementing a robust and documented pipeline in src/dartsort, and we will update this page accordingly.

A workflow described in our preprint (https://www.biorxiv.org/content/10.1101/2023.08.11.553023v1) is in uhd_pipeline.py, which is implemented using the legacy code in src/spike_psvae.

Suggested install steps

If you already have a Python environment set up, you can install dartsort with

# get all dependencies (includes visualization and GPU packages); remove [gpu] if you don't have one
$ pip install dartsort[full,gpu]

If you don't already have Python and PyTorch 2 installed, we recommend doing this with the Miniforge distribution of conda. You can find info and installers for your platform at Miniforge's GitHub repository. After installing Miniforge, conda will be available on your computer for installing Python packages, as well as the newer and faster conda replacement tool mamba. We recommend using mamba instead of conda below, since the installation tends to be a lot faster with mamba. You can build a conda environment called dartsort with

$ mamba env create -f environment.yml
$ mamba activate dartsort

after cloning this repository. Next, visit https://pytorch.org/get-started/locally/ and follow the PyTorch install instructions for your specific OS and hardware needs.

Finish with the pip command above. Or, to work on the code, use:

(dartsort) $ pip install -e ./[full]
(dartsort) $ pytest tests/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dartsort-0.5.1.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dartsort-0.5.1-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file dartsort-0.5.1.tar.gz.

File metadata

  • Download URL: dartsort-0.5.1.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dartsort-0.5.1.tar.gz
Algorithm Hash digest
SHA256 d9c05132c78991bde237dc5dd4f03c69c1d5c764e98d4f86c8afbbc0f7dd0af9
MD5 c9c0e301b72b7d5d50b55248ecc0b0d9
BLAKE2b-256 a6ea2146f164f1e49a5033befdd066d75b0d3de859513522c57a2e6236926c4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dartsort-0.5.1.tar.gz:

Publisher: deploy.yml on cwindolf/dartsort

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dartsort-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: dartsort-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dartsort-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 320c61e2d3073c29994d38a566bd5add743fa966f4e8148670e7e46a9926c709
MD5 d2f343c85548e6d4ad0dc0fc380bbf78
BLAKE2b-256 63bf7742557a3cf817280e2182e9f1ba941ffaa22dedafb88c6a85b84db17494

See more details on using hashes here.

Provenance

The following attestation bundles were made for dartsort-0.5.1-py3-none-any.whl:

Publisher: deploy.yml on cwindolf/dartsort

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page