ndx-dandi-icephys extension for NWB:N
Extension of the lab_meta_data field.
Python Installation
pip install ndx-dandi-icephys
Python Usage
from datetime import datetime
from pynwb import NWBFile, NWBHDF5IO
from ndx_dandi_icephys import DandiIcephysMetadata
nwb = NWBFile('session_description', 'identifier', datetime.now().astimezone())
# Creates LabMetaData container
lab_metadata = DandiIcephysMetadata(
cell_id='cell_id',
tissue_sample_id='tissue_sample_id',
)
# Add to file
nwb.add_lab_meta_data(lab_metadata)
# Write nwb file
with NWBHDF5IO('test_labmetadata.nwb', 'w') as io:
io.write(nwb)
# Read nwb file and check its content
with NWBHDF5IO('test_labmetadata.nwb', 'r', load_namespaces=True) as io:
nwb = io.read()
print(nwb.lab_meta_data['DandiIcephysMetadata'])
Release files for ndx-dandi-icephys 0.4.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 | |
|---|---|---|---|
| ndx-dandi-icephys-0.4.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ndx_dandi_icephys-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / ndx-dandi-icephys-0.4.0.tar.gz
| Download URL | ndx-dandi-icephys-0.4.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc667f2b8f8cb2b7448ffb74d810f3508b31c135023117327f80e6d3dbd2544e
|
|
BLAKE2b-256 checksum How to use checksums |
9fc6b3d967c1d340392784d0949e7bdaf33ef2a87ee11a2d27332f0fe658a477
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Release files / ndx_dandi_icephys-0.4.0-py3-none-any.whl
| Download URL | ndx_dandi_icephys-0.4.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55e8a03d2715242701be280186ae9c3e085f275143fdb56a4a6e92020eaeb690
|
|
BLAKE2b-256 checksum How to use checksums |
aad805e3fefca88dc47895fe662ed17bd1a3566a6898778cded19a305823c04a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|