pulse2percept: A Python-based simulation framework for bionic vision
An estimated 43 million people worldwide are blind. For some causes of blindness, a visual neuroprosthesis (a retinal or cortical implant) is the only treatment option. What implant users see depends on the device, the stimulus, and the stimulated tissue, and is difficult to predict.
pulse2percept (p2p) is an open-source Python package for simulating these percepts. It provides spatiotemporal models of common retinal and cortical implants.
If you use p2p in a scholarly publication, please cite as:
M Beyeler, GM Boynton, I Fine, A Rokem (2017). pulse2percept: A Python-based simulation framework for bionic vision. Proceedings of the 16th Python in Science Conference (SciPy), p.81-88, doi:10.25080/shinma-7f4c6e7-00c.
Installation
To install the stable release of p2p, run:
pip install pulse2percept
To install the current development version directly from GitHub:
pip install git+https://github.com/pulse2percept/pulse2percept
pip installs the dependencies and selects a release that supports your Python version (see Compatibility and Building from Source).
You can find the full documentation here.
Compatibility
Python |
3.14 |
3.13 |
3.12 |
3.11 |
3.10 |
3.9 |
3.8 |
3.7 |
|---|---|---|---|---|---|---|---|---|
p2p 0.11 Foundations |
Yes |
Yes |
Yes |
Yes |
||||
p2p 0.10 Encoders |
Yes |
Yes |
Yes |
Yes |
||||
p2p 0.9.1 |
Yes |
Yes |
Yes |
Yes |
||||
p2p 0.9 Cortex |
Yes |
Yes |
Yes |
Yes |
||||
p2p 0.8 Retina |
Yes |
Yes |
Yes |
Yes |
Prebuilt wheels are available for 64-bit Linux, macOS 11 and later (Apple silicon and Intel), and 64-bit Windows. On other platforms, pip may build pulse2percept from source, which requires a C compiler. NumPy, Cython, and other build dependencies are installed automatically.
Our GitHub Action Runners test the current release on Linux, macOS, and Windows for every supported Python version listed above.
Upgrading and Uninstalling
To upgrade p2p to the latest stable version:
pip install -U pulse2percept
To uninstall:
pip uninstall pulse2percept -y
Where to go from here
Run the Quickstart Guide.
Read the core concepts in order: implants, stimulation, and models and percepts.
Browse the model reproductions.
Check the FAQ for common questions.
Request features or report bugs on the Issue Tracker.
Metadata
Release files for pulse2percept 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pulse2percept-0.11.0.tar.gz | 66.9 MB | Without provenance | Details |
Built distributions (wheels)
Total release size: 211.0 MB
Release files / pulse2percept-0.11.0.tar.gz
| Download URL | pulse2percept-0.11.0.tar.gz |
|---|---|
| Size | 66.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a9ba4997212ca1b9e386814808c4aadf2a6ba5427664f3961911ab461104b34
|
|
BLAKE2b-256 checksum How to use checksums |
baff9885136bf8eb0bc7a47344b72a4eb4334695eaf1b44c52a1fcb45f175ace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp314-cp314-win_amd64.whl
| Download URL | pulse2percept-0.11.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fd232aa3fd5c97b51ccbf05b1cf63c72678e56d64ac62be80ee037ad2075653d
|
|
BLAKE2b-256 checksum How to use checksums |
148d497897952e1e133d1c08848dd0c24a9ad44f2859bf2364f2aa5d9ce43960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1b8f63e6d56347f3150b7f4de4bc8cd869386a821a89847e0d66d7854c5a8c59
|
|
BLAKE2b-256 checksum How to use checksums |
754d19ae16d838973058fda34c3e20e20ede7b0e183280b4b6212953895fbef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp314-cp314-macosx_11_0_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp314-cp314-macosx_11_0_x86_64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.14 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
ee18ec9b600c5a5891f76eb5b758f860093f8380098c2c28796c6985d7b3af3e
|
|
BLAKE2b-256 checksum How to use checksums |
eb5ef8f37715f6bbccfa96e01bc4a71d21f51b5083835e773febde522a656345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | pulse2percept-0.11.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
39e1963728e4f0780f3619bbcf381426479b26449bee8cdf78e8a0f85e1ea8de
|
|
BLAKE2b-256 checksum How to use checksums |
304418dae7abde52cb7380ecc3ddef53b76fed9dddf2c15abb9ef73f4b4e470a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp313-cp313-win_amd64.whl
| Download URL | pulse2percept-0.11.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 8.2 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2c30aeabf10dda8124d7e92fff8e698fb0a1ed2beeb0b3bc5905ccf0e0e90928
|
|
BLAKE2b-256 checksum How to use checksums |
634a46db0ce939c78b3b2136c48257a9cb463b2d623cbea0393f1dab29c7280c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.0 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
bac17174a2bcf81512b8051737a729051270b96e96986c3b3865879b3d13e523
|
|
BLAKE2b-256 checksum How to use checksums |
fb3d87087010563a46ca8faa10492e3ae6f1b242762b1215416ec81c879cffdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp313-cp313-macosx_11_0_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp313-cp313-macosx_11_0_x86_64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.13 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
e6348dee1ff067aca1526d39bece59b38ca49c91e5d3beb25706b2dd0745b307
|
|
BLAKE2b-256 checksum How to use checksums |
0fc81eb87e2f0117b52370d9efd7a79d55523ec52fd395d941e2a90a16790087
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | pulse2percept-0.11.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2437f69ddf17c5911d9a18a7f47deed8f66c878ce69a883a3c04481deda0df52
|
|
BLAKE2b-256 checksum How to use checksums |
729a6b27b051919da8800c3d5f0a89608b27be457f440df4ad439f7198570790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp312-cp312-win_amd64.whl
| Download URL | pulse2percept-0.11.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 8.2 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
688867f008f2d01358ea4fbc890f56b44ae8cd052b5020fef043e0e08ae1fd37
|
|
BLAKE2b-256 checksum How to use checksums |
1824b818212893e5093598a478534fcad69d73b09b6cb002ffa98a9c282f4eea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
f95d04b7fdc5abebed0262712a0bd767126dda2144b471024222203ecebf30b4
|
|
BLAKE2b-256 checksum How to use checksums |
6b92d65e7ae6561774d1e539e7d63f7f01458614afcbe830c035ec13c0749bac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp312-cp312-macosx_11_0_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp312-cp312-macosx_11_0_x86_64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.12 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
83d22013a69cda7443ab3036b8dba2d68aed11e74509974452b370c7ab9e3986
|
|
BLAKE2b-256 checksum How to use checksums |
314e9c2839e7235ccfce98223be651086bc21890bd0b7bc66be2dffa854fba66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | pulse2percept-0.11.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
267ca08a368191bae0e8915cc16644d6b90311381af9178560873a325d289a6c
|
|
BLAKE2b-256 checksum How to use checksums |
674aa84d04110108680094a21a1b9d9566a436ee4c5e3bc04a07d330a6ac0307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp311-cp311-win_amd64.whl
| Download URL | pulse2percept-0.11.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 8.2 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ef6a1dfac64ff00337821c1c15a49880c06c8d25f41288ea645d027e640aa431
|
|
BLAKE2b-256 checksum How to use checksums |
a20aa59ab108e9863b12e22a37ef8504fcbe61efb3ce52a7b5588331a0c817c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d7ccfceed3e8054693722133aa7969ea51482c278cde14091ed649d4c5f0e1a6
|
|
BLAKE2b-256 checksum How to use checksums |
9428136212831a2b7154299a4e258e43fe4daea197e93515178879298244bd3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp311-cp311-macosx_11_0_x86_64.whl
| Download URL | pulse2percept-0.11.0-cp311-cp311-macosx_11_0_x86_64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.11 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
fc0dad03337e36fa462fddd62651e5eda84949e0cc15893da5d90ea214a59206
|
|
BLAKE2b-256 checksum How to use checksums |
fd799f81ebaee98a85816f9b0a7fb41cc5d36eca15bbef8e74d9a450dd98f912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pulse2percept-0.11.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | pulse2percept-0.11.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5317ec46e9e985f237bee3f118a2cfd666a4461d1fd32a8a6f721635ae815bb2
|
|
BLAKE2b-256 checksum How to use checksums |
e1ceee4e535630be7e35c471ba8b178ff9673b0450efc8cfcd4018ed4f85686b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for pulse2percept 0.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.