PSTHStateData
PSTHStateData
Serializable state data for PSTHWidget.
#include <PSTHState.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | instance_id |
| std::string | display_name |
| std::string | background_color Background color as hex string (matches default OpenGL clear). |
| PlotAlignmentData | alignment Alignment settings (event key, interval type, offset, window size). |
| std::map< std::string, PSTHEventOptions > | plot_events Map of event names to their plot options. |
| PSTHStyle | style Plot style (bar or line). |
| Neuralyzer::Plots::EstimationParams | estimation_params Rate estimation parameters (default: BinningParams{}). |
| Neuralyzer::Plots::ScalingMode | scaling Normalization mode. |
| CorePlotting::ViewStateData | view_state Zoom, pan, data bounds. |
| RelativeTimeAxisStateData | time_axis Time axis settings (min_range, max_range). |
| VerticalAxisStateData | vertical_axis Vertical axis settings (y_min, y_max). |
Public Attributes Documentation
variable instance_id
std::string instance_id;variable display_name
std::string display_name = "PSTH Plot";variable background_color
std::string background_color = "#1A1A1A";Background color as hex string (matches default OpenGL clear).
variable alignment
PlotAlignmentData alignment;Alignment settings (event key, interval type, offset, window size).
variable plot_events
std::map< std::string, PSTHEventOptions > plot_events;Map of event names to their plot options.
variable style
PSTHStyle style = PSTHStyle::Bar;Plot style (bar or line).
variable estimation_params
Neuralyzer::Plots::EstimationParams estimation_params;Rate estimation parameters (default: BinningParams{}).
variable scaling
Neuralyzer::Plots::ScalingMode scaling = Neuralyzer::Plots::ScalingMode::RawCount;Normalization mode.
variable view_state
CorePlotting::ViewStateData view_state;Zoom, pan, data bounds.
variable time_axis
RelativeTimeAxisStateData time_axis;Time axis settings (min_range, max_range).
variable vertical_axis
VerticalAxisStateData vertical_axis;Vertical axis settings (y_min, y_max).
Updated on 2026-11-13 at 20:25:39 +0000