NWB extensions for storing (larval) zebrafish expreiment related data
Project description
ndx-zebrafish Extension for NWB
Provides standard container formats for tracking zebrafish behavior. For now tail and position tracking are specified, with
Installation
python -m pip install ndx-zebrafish
Usage
Example storage of freely-swimming fish tracking data:
tail_direction = pynwb.behavior.SpatialSeries(
"fish_direction",
{},
timestamps={},
)
tail_shape = pynwb.behavior.SpatialSeries(
"tail_shape",
{},
timestamps={},
unit="radians",
)
position = pynwb.behavior.SpatialSeries(
"fish_position",
{}
timestamps={},
unit="mm",
)
behavior_storage = ZebrafishBehavior(
name=f"fish_{i_fish}_behavior",
fish_id=i_fish,
position=position,
orientation=tail_direction,
tail_shape=tail_shape,
)
This extension was created using ndx-template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ndx-zebrafish-0.1.0.tar.gz
(12.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ndx-zebrafish-0.1.0.tar.gz.
File metadata
- Download URL: ndx-zebrafish-0.1.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cca92796252964bd75539fc1c5538fd68170c279b502195570b98f34d91007ca
|
|
| MD5 |
90c1a93684a500dd8663c7c83613e818
|
|
| BLAKE2b-256 |
bd20d2c5191fbd759efa6aa115b559becc8d407fe23fce9439844b9748598097
|
File details
Details for the file ndx_zebrafish-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: ndx_zebrafish-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b7639cb6cafd7232e7c07e5de025bd6791dbc50b769d0ed4c00af289ec02b58
|
|
| MD5 |
5277291b176824b960068bb3145a6afb
|
|
| BLAKE2b-256 |
9c9165a127239726204b964ade16c61a0528301e3475842c1148b8c2371c6fba
|