Skip to main content

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

Project description

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.

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

datanavigator-1.5.0.tar.gz (192.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datanavigator-1.5.0-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

Details for the file datanavigator-1.5.0.tar.gz.

File metadata

  • Download URL: datanavigator-1.5.0.tar.gz
  • Upload date:
  • Size: 192.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for datanavigator-1.5.0.tar.gz
Algorithm Hash digest
SHA256 ac60fbfb3a6d41a0f2931bbff4ec11c82ebd02e1ba6456a4ab73637eefc3ac3a
MD5 96fc13c882289c115715d26f79b85f90
BLAKE2b-256 2b9dcd8bcfb844ab7730bedda81dae322a5eebd5599c1b1f517f87b8f0d1b1fd

See more details on using hashes here.

File details

Details for the file datanavigator-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: datanavigator-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 91.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for datanavigator-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 661df4c75ca2cc02950220cd8abf940b7fb058e8d603c8fc4cb7f733e508f8b9
MD5 f85c124cf31f2ae2eacaf68f397a0f41
BLAKE2b-256 dd1d6c93f20d3e5f7a20a01fc977147b3737c999326933ab06191221e83feacf

See more details on using hashes here.

Supported by

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