Skip to main content

OSS-DBS v2: faster and modular open-source code for deep brain stimulation

Reason this release was yanked:

Unpinned MKL version made NGSolve unusable

Project description

pre-commit.ci status

OSS-DBSv2

This is the development version of the OSS-DBS rewrite. Use with caution and please wait for the first official release before deploying it. Bug reports are highly welcome, though!

Installation

OSS-DBS is tested with Python 3.8, 3.9, 3.10, and 3.11.

Windows users and Mac users with Python 3.8: Please install NEURON separately before installing OSS-DBS. The instructions can be found here.

All other users can run

pip install ossdbs

Developers

To install OSS-DBS, clone it into a local directory, cd into this directory and run

pip install -e .

To also run the test suite of OSS-DBS, run

pip install -e ".[test]"

To develop OSS-DBS, run

pip install -e ".[dev]"

To locally build the docs of OSS-DBS, run

pip install -e ".[doc]"

To do everything of the above, run

pip install -e ".[all]"

Run OSS-DBS

To run OSS-DBS, cd into the input_files directory, insert your parameters in the input.json and start the simulation with

ossdbs input.json

Also check out the examples directory and the documentation.

Development

The code uses the input_files and tests directories to check the functionality upon each commit. If you add a new feature, please add a test to tests. Make sure that the test does not run long and does not consume much memory. It shall be rather a unit test than a full simulation run. Likewise, only change input_files after opening an issue.

The examples directory is meant for users to understand what has been implemented. Place heavy and/or experimental code there (e.g., code that may crash or consume many resources).

The code development follows different coding styles that are checked by git pre-commit hooks. Install pre-commit via pip install pre-commit and run pre-commit install to activate it.

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

ossdbs-0.5.5.tar.gz (272.3 kB view details)

Uploaded Source

Built Distribution

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

ossdbs-0.5.5-py3-none-any.whl (211.8 kB view details)

Uploaded Python 3

File details

Details for the file ossdbs-0.5.5.tar.gz.

File metadata

  • Download URL: ossdbs-0.5.5.tar.gz
  • Upload date:
  • Size: 272.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ossdbs-0.5.5.tar.gz
Algorithm Hash digest
SHA256 d8ffc91a873023f08019f4fe9987a601fa20aa25a288b4f7a362173d51a055bd
MD5 ba0629f0a78a70cf839527a516a0a825
BLAKE2b-256 2a15e6756e2b18c17b5ef6499377e94cf324ce873955f2cfc849a438b8c36ca3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ossdbs-0.5.5.tar.gz:

Publisher: ci.yml on SFB-ELAINE/OSS-DBSv2

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

File details

Details for the file ossdbs-0.5.5-py3-none-any.whl.

File metadata

  • Download URL: ossdbs-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 211.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ossdbs-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 30e45c1363040ddfb629d34641f0fab880a09c5f2215fb0a43b653b8f577506a
MD5 f249c00ceb73e308fdff43895f07eb26
BLAKE2b-256 5393d56d0029e44c6caced157e3a48c7ee2a3529a3211e18e9f14b90150501c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ossdbs-0.5.5-py3-none-any.whl:

Publisher: ci.yml on SFB-ELAINE/OSS-DBSv2

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