Skip to content

NuTufts/lantern_scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Lantern Scanner

Plotly/Dash visualization for lantern outputs stored in HDF5 files.

Features

  • 3D scatter plot of spacepoints colored by prong
  • 2D image crops arranged in (2,3) grid for each prong
  • Navigation buttons to move through events

Requirements

Package Purpose
h5py Reading HDF5 data files
numpy Numerical array operations
dash Web application framework
plotly Interactive plotting

Installation

pip install h5py numpy dash plotly

Usage

python visualize_lantern_outputs.py <hdf5_file> [--start-entry N] [--port PORT]

Arguments

  • hdf5_file - Path to the HDF5 file containing lantern outputs
  • --start-entry N - Starting entry index (default: 0)
  • --port PORT - Port for Dash server (default: 8050)

Example

python visualize_lantern_outputs.py output.h5 --start-entry 10 --port 8080

Once running, open your browser to http://localhost:8050 (or the specified port) to view the visualization.

About

Plotly/Dash visualization for lantern outputs stored in HDF5 files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages