Plotly/Dash visualization for lantern outputs stored in HDF5 files.
- 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
| Package | Purpose |
|---|---|
| h5py | Reading HDF5 data files |
| numpy | Numerical array operations |
| dash | Web application framework |
| plotly | Interactive plotting |
pip install h5py numpy dash plotlypython visualize_lantern_outputs.py <hdf5_file> [--start-entry N] [--port PORT]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)
python visualize_lantern_outputs.py output.h5 --start-entry 10 --port 8080Once running, open your browser to http://localhost:8050 (or the specified port) to view the visualization.