Skip to main content

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.

Metadata

Release files for ndx-zebrafish 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ndx-zebrafish 0.1.0
File Size Uploaded
ndx-zebrafish-0.1.0.tar.gz 12.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ndx-zebrafish 0.1.0
File Interpreter ABI Platform
ndx_zebrafish-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 16.8 kB

Release files / ndx-zebrafish-0.1.0.tar.gz

Download URL ndx-zebrafish-0.1.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cca92796252964bd75539fc1c5538fd68170c279b502195570b98f34d91007ca
BLAKE2b-256 checksum
How to use checksums
bd20d2c5191fbd759efa6aa115b559becc8d407fe23fce9439844b9748598097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Release files / ndx_zebrafish-0.1.0-py2.py3-none-any.whl

Download URL ndx_zebrafish-0.1.0-py2.py3-none-any.whl
Size 4.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3b7639cb6cafd7232e7c07e5de025bd6791dbc50b769d0ed4c00af289ec02b58
BLAKE2b-256 checksum
How to use checksums
9c9165a127239726204b964ade16c61a0528301e3475842c1148b8c2371c6fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page