photon_mosaic.widgets.series#
Classes
|
Widget for visualizing an ImagingExtractor series with interactive controls. |
- class photon_mosaic.widgets.series.ImagingSeriesWidget(imaging, epoch_index=0, frame_index=0, time_range=None, colormap='gray', vmin_percentile=2.0, vmax_percentile=98.0, backend=None, **backend_kwargs)[source]#
Widget for visualizing an ImagingExtractor series with interactive controls.
This widget provides an interactive video player for imaging data using ipywidgets, following the SpikeInterface BaseWidget design pattern.
- Parameters:
imaging (
BaseImaging|dict) – The imaging extractor to visualize. Can be a single BaseImaging object or a dictionary of BaseImaging objects for synchronized multi-view display.epoch_index (
int) – Which segment to display, by default 0frame_index (
int) – Initial frame to display, by default 0time_range (
tuple|None) – Time range to display (start, end) in seconds, by default None (full range)colormap (
str) – Colormap for image display, by default ‘gray’vmin_percentile (
float) – Minimum percentile for contrast (0-100), by default 2.0vmax_percentile (
float) – Maximum percentile for contrast (0-100), by default 98.0backend (str, optional) – Backend to use, by default None
**backend_kwargs – Additional backend-specific arguments
Methods
plot_ipywidgets(data_plot, **backend_kwargs)Interactive ipywidgets plot with video controls.
seek_to_frame(frame_number)Seek to a specific frame.
seek_to_time(time_seconds)Seek to a specific time.
- plot_ipywidgets(data_plot, **backend_kwargs)[source]#
Interactive ipywidgets plot with video controls.
- photon_mosaic.widgets.series.plot_imaging_series#
alias of
ImagingSeriesWidget