datanavigator
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'sVideoBrowser. OwnsVideoPointAnnotator/VideoAnnotation(the annotation containers used to live indatanavigator.pointtrackingthrough 1.4.0; they relocated todustrackin 1.5.0a1 sodatanavigatorstays modality-agnostic anddustrackowns its DeepLabCut workflow end-to-end).git log --follow dustrack/pointtracking.pyon 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
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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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
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.