Skip to main content

datanavigator

src PyPI - Version Documentation Status GitHub license

Interactive data visualization for signals, videos, and complex data objects.

datanavigator is a matplotlib-based toolkit for interactive data visualization that handles signals, videos, and complex data objects. It provides both simple tools for navigating data with minimal programming and a user-friendly API for building sophisticated data interaction applications. This versatility makes it both powerful and accessible, regardless of a user's programming expertise.

Installation

pip install datanavigator

If you encounter dependency issues and are using conda, set up your environment with conda using the requirements.yml file in this repository.

conda env create -n env-datanavigator -f https://github.com/praneethnamburi/datanavigator/raw/master/requirements.yml
conda activate env-datanavigator
pip install datanavigator

Quickstart

1. Browse video frames and extract a clip

import datanavigator as dnav

video_browser = dnav.VideoBrowser(dnav.get_example_video())
# Use the arrow keys to browse through frames.
# Press Ctrl+K to bring up a list of available keyboard shortcuts
# To extract a clip, 
#   1. navigate to the start frame and press 1
#   2. navigate to the end frame and press 2
#   3. press e to save the extracted clip
# run dnav.get_clip_folder() to find the saved video clip

# Or, you can extract a clip from the command line
clip_path = video_browser.extract_clip(start_frame=100, end_frame=200)
print(f"Extracted clip saved to: {clip_path}")

2. Browse time series data and mark events of interest

import datanavigator as dnav
signal_browser = dnav.EventPickerDemo()

See also

  • DUSTrack -- video point tracking + annotation UI, built on top of datanavigator's VideoBrowser. Owns VideoPointAnnotator / VideoAnnotation (the annotation containers used to live in datanavigator.pointtracking through 1.4.0; they relocated to dustrack in 1.5.0a1 so datanavigator stays modality-agnostic and dustrack owns its DeepLabCut workflow end-to-end). git log --follow dustrack/pointtracking.py on the dustrack side traces the full pre-relocation history.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Praneeth Namburi

Project Link: https://github.com/praneethnamburi/datanavigator

Acknowledgments

This tool was developed as part of the ImmersionToolbox initiative at the MIT.nano Immersion Lab. Thanks to NCSOFT for supporting this initiative.

Metadata

Release files for datanavigator 1.5.2

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

Source distribution (sdist)

Source distribution for datanavigator 1.5.2
File Size Uploaded Provenance Actions
datanavigator-1.5.2.tar.gz 207.0 kB Without provenance Details for datanavigator-1.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datanavigator 1.5.2
File Interpreter ABI Platform Actions
datanavigator-1.5.2-py3-none-any.whl Python 3 none any Details for datanavigator-1.5.2-py3-none-any.whl

Total release size: 307.7 kB

Release files / datanavigator-1.5.2.tar.gz

Download URL datanavigator-1.5.2.tar.gz
Size 207.0 kB
Tags Source
SHA-256 checksum
How to use checksums
16ba1246ff66f4a4d6d11c08d745cd6f4798dd0a68cd6bd7a40891ec11651105
BLAKE2b-256 checksum
How to use checksums
51a91dbb0abd9dd4e3f671387fe0efbd64e12f010df8718ea43dc413af465f28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / datanavigator-1.5.2-py3-none-any.whl

Download URL datanavigator-1.5.2-py3-none-any.whl
Size 100.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dd304dde9b1e3e9d9b2d13174dda4f69dc0179514f2b4e3247b9aaa545d7332
BLAKE2b-256 checksum
How to use checksums
f403e5bbbd8085b4adedff5c7600e0e6cbaa55abe2c3a901a44363c4faba1ea1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Security for datanavigator 1.5.2

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.

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