PlotDataExport::PerTrialHeatmapInput
PlotDataExport::PerTrialHeatmapInput
Per-trial data for one unit, suitable for per-trial CSV export. More…
#include <HeatmapCSVExport.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | unit_key |
| std::vector< double > | times Bin centers (shared across trials). |
| std::vector< std::vector< double > > | per_trial_values [trial_idx][time_idx] |
Detailed Description
struct PlotDataExport::PerTrialHeatmapInput;Per-trial data for one unit, suitable for per-trial CSV export.
Precondition: times.size() == [per_trial_values](/api_generated/Classes/structPlotDataExport_1_1PerTrialHeatmapInput.md#variable-per-trial-values)[i].size() for all trials i.
Widgets convert RateEstimateWithTrials to this struct before calling [exportHeatmapPerTrialToCSV()](/api_generated/Namespaces/namespacePlotDataExport.md#function-exportheatmappertrialtocsv). This keeps [PlotDataExport](/api_generated/Namespaces/namespacePlotDataExport.md) independent of the EventRateEstimation library.
Public Attributes Documentation
variable unit_key
std::string unit_key;variable times
std::vector< double > times;Bin centers (shared across trials).
variable per_trial_values
std::vector< std::vector< double > > per_trial_values;[trial_idx][time_idx]
Updated on 2026-11-13 at 20:25:41 +0000