Receptual is a lightweight, interactive tool for computing and visualizing neuron receptive fields and linear decoders.
Overview
Linear encoding and decoding methods are essential tools for:
Systems neuroscience
Computational neuroscience
Deep learning interpretability
However, these methods often produce high-dimensional arrays, which are difficult to analyze and interpret. Additionally, despite the ubiquity of linear methods, implementing them can be challenging.
Receptual helps by providing standardized algorithm implementations for linear encoding and decoding methods. We also provide a visualization tool to help you explore the high-dimensional arrays that often result from these methods.
Key Features
Interactive 3D Visualization OpenGL + Qt-based viewer for receptive fields, stimuli, activity traces, and decoders
Efficient Algorithms Fast NumPy and SciPy implementations tailored for neuroscience use cases
Implemented Algorithms
Receptual provides the following out-of-the-box:
Receptive field estimation
Linear activity encoding
Installation
Receptual requires Python 3.13 or later and is available on PyPI:
# Using uv
uv venv $HOME/venvs/receptual --python 3.13 # or wherever you keep your environments
source $HOME/venvs/receptual/bin/activate
uv pip install receptual
# Using conda
conda create -n receptual python=3.13
conda activate receptual
pip install receptual
Quick Start
Launch the visualization tool with:
receptual
Or use the algorithms yourself:
import receptual
activity = receptual.encoder(stimulus, receptive_field)
Documentation
For detailed usage instructions, examples, and API reference, please visit our documentation.
Metadata
Release files for receptual 0.1.4
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 | Actions |
|---|---|---|---|---|
| receptual-0.1.4.tar.gz | 6.9 MB | Without provenance | Details for receptual-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| receptual-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for receptual-0.1.4-py3-none-any.whl |
Total release size: 6.9 MB
Release files / receptual-0.1.4.tar.gz
| Download URL | receptual-0.1.4.tar.gz |
|---|---|
| Size | 6.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db783d41145f264fece45ed5d7a052e63a0ce0d45311989958af90f915884392
|
|
BLAKE2b-256 checksum How to use checksums |
be819c10660b2f86c4e265bd5d557dbe2df1e45fb079a6490596f45c0f007417
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.14
|
Release files / receptual-0.1.4-py3-none-any.whl
| Download URL | receptual-0.1.4-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
072266119708fbc886a6791c7b51ea8cfe0d155d18926eb267b05f3aeec06627
|
|
BLAKE2b-256 checksum How to use checksums |
c422d4d7915e87a5c147327c089c2ee69c0b62b20b0edfd49c31ccf112777295
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.14
|
Security for receptual 0.1.4
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.