ndx-probeinterface Extension for NWB
ndx-probeinterface is an extension of the NWB format to formally define information about neural probes as data types in NWB files. It comes with helper functions to easily construct ndx-probeinterface.Probe from probeinterface.Probe and vice versa.
Installation
pip install ndx_probeinterface
Usage
Going from a probeinterface.Probe/ProbeGroup object to a ndx_probeinterface.Probe object
import ndx_probeinterface
pi_probe = probeinterface.Probe(...)
pi_probegroup = probeinterface.ProbeGroup()
# from_probeinterface always returns a list of ndx_probeinterface.Probe devices
ndx_probes1 = ndx_probeinterface.from_probeinterface(pi_probe)
ndx_probes2 = ndx_probeinterface.from_probeinterface(pi_probegroup)
ndx_probes = ndx_probes1.extend(ndx_probes2)
nwbfile = pynwb.NWBFile(...)
# add Probe as NWB Devices
for ndx_probe in ndx_probes:
nwbfile.add_device(ndx_probe)
Going from a ndx_probeinterface.Probe object to a probeinterface.Probe object
import ndx_probeinterface
# load ndx_probeinterface.Probe objects from NWB file
io = pynwb.NWBH5IO(file_path, 'r', load_namespaces=True)
nwbfile = io.read()
ndx_probes = []
for device in nwbfile:
if isinstance(device, ndx_probeinterface.Probe):
ndx_probes.append(device)
# convert to probeinterface.Probe objects
pi_probes = []
for ndx_probe in ndx_probes:
pi_probe = ndx_probeinterface.to_probeinterface(ndx_probe)
pi_probes.append(pi_probe)
Future plans
- Add information about the headstage used for data acquisition
- Remove redundant information from
ElectrodeTable - Incorporate this NDX into the core NWB schema
This extension was created using ndx-template.
Metadata
Release files for ndx-probeinterface 0.2.1
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 |
|---|---|---|---|---|
| ndx_probeinterface-0.2.1.tar.gz | 15.5 kB | Without provenance | Details for ndx_probeinterface-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ndx_probeinterface-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ndx_probeinterface-0.2.1-py2.py3-none-any.whl |
Total release size: 22.5 kB
Release files / ndx_probeinterface-0.2.1.tar.gz
| Download URL | ndx_probeinterface-0.2.1.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1fd5ffb7df504f5b752c69e49c7d0c8298de3601bbc581bad9e88fdb53fcc4f
|
|
BLAKE2b-256 checksum How to use checksums |
5eeb9e7440edb64e60f8ee38e3af0d072f7568dad82962e21db360761bf4b9e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / ndx_probeinterface-0.2.1-py2.py3-none-any.whl
| Download URL | ndx_probeinterface-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
df9ec04c0e255c676adbe6b4c94833c0d20077f50ae8edb2f5f2f6d09731fc77
|
|
BLAKE2b-256 checksum How to use checksums |
798e406182e0add81230c05d394604b51718464982927c2a87e166d09a2796c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Security for ndx-probeinterface 0.2.1
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.