Skip to main content

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


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)

Uploaded Source

Built Distribution

ndx_zebrafish-0.1.0-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

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

Hashes for ndx-zebrafish-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cca92796252964bd75539fc1c5538fd68170c279b502195570b98f34d91007ca
MD5 90c1a93684a500dd8663c7c83613e818
BLAKE2b-256 bd20d2c5191fbd759efa6aa115b559becc8d407fe23fce9439844b9748598097

See more details on using hashes here.

File details

Details for the file ndx_zebrafish-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ndx_zebrafish-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3b7639cb6cafd7232e7c07e5de025bd6791dbc50b769d0ed4c00af289ec02b58
MD5 5277291b176824b960068bb3145a6afb
BLAKE2b-256 9c9165a127239726204b964ade16c61a0528301e3475842c1148b8c2371c6fba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page