imspy-vis
Lightweight visualization tools for timsTOF proteomics data.
Installation
pip install imspy-vis
For Jupyter notebook support:
pip install imspy-vis[notebook]
Features
- Frame Rendering: DDA and DIA frame visualization with annotation overlays
- Point Cloud Visualization: Interactive 3D visualization using Plotly
- Video Generation: Generate preview videos from timsTOF datasets
- Jupyter Integration: Interactive widgets for notebook-based exploration
Quick Start
Frame Rendering
from imspy_vis import DDAFrameRenderer, DIAFrameRenderer, generate_preview_video
# Generate a quick preview video
generate_preview_video(
'/path/to/data.d',
'/path/to/output.mp4',
mode='dda',
max_frames=100,
fps=10
)
# Or use the renderer directly
renderer = DDAFrameRenderer('/path/to/data.d')
renderer.render_to_video('/path/to/output.mp4', max_frames=50)
Point Cloud Visualization (Jupyter)
from imspy_vis import DDAPrecursorPointCloudVis
# In a Jupyter notebook
visualizer = DDAPrecursorPointCloudVis(precursor_data)
visualizer.display_widgets()
Modules
- pointcloud: Interactive 3D point cloud visualization using Plotly
- frame_rendering: Frame-by-frame rendering and video generation
Dependencies
- imspy-core: Core data structures (required)
- plotly: Interactive plotting
- matplotlib: Static plotting and frame rendering
- imageio: Video generation
- ipywidgets: Jupyter notebook widgets
Related Packages
- imspy-core: Core data structures and timsTOF readers
- imspy-predictors: ML-based predictors
- imspy-simulation: TimSim simulation tools
- imspy-search: Database search functionality
License
MIT License - see LICENSE file for details.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imspy_vis-0.4.1.tar.gz
(29.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
imspy_vis-0.4.1-py3-none-any.whl
(33.0 kB
view details)
File details
Details for the file imspy_vis-0.4.1.tar.gz.
File metadata
- Download URL: imspy_vis-0.4.1.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d40341673140bd19e59f2ad4615033aeb534b17ae28c40ddb24eb7488ca5396
|
|
| MD5 |
0fc213f1979e8386a7b77a7a5587cc50
|
|
| BLAKE2b-256 |
65604a0e6f0f59efaad2c16ab593cf6790a5bd7e7e5dd6cfa8321f54102c8034
|
File details
Details for the file imspy_vis-0.4.1-py3-none-any.whl.
File metadata
- Download URL: imspy_vis-0.4.1-py3-none-any.whl
- Upload date:
- Size: 33.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37c4cb74034cf4bb1613c122963d641db359e5d43bcdcc65ca1019372c2b78e9
|
|
| MD5 |
e65b4936d382ca5e60cd279438fb872d
|
|
| BLAKE2b-256 |
14bc9cb0bc8d6bfaf9a58894a7f0b87da20150c66e38f2f33080535b0a2c2a3b
|