Skip to main content

Neuralyzer::Plots::UnitGatherContext

Neuralyzer::Plots::UnitGatherContext

Bundles a GatherResult with its TimeFrame and source key. More…

#include <EventRateEstimation.hpp>

Public Attributes

Name
std::string key
DataManager key of the source series.
GatherResult< DigitalEventSeries > gathered
Trial-aligned views of the series.
std::shared_ptr< TimeFrame const > time_frame
TimeFrame for index→time conversion.

Detailed Description

struct Neuralyzer::Plots::UnitGatherContext;

Bundles a GatherResult with its TimeFrame and source key.

Widgets require both the trial-aligned views ([gathered](/api_generated/Classes/structNeuralyzer_1_1Plots_1_1UnitGatherContext.md#variable-gathered)) and the source [TimeFrame](/api_generated/Classes/classTimeFrame.md) to convert [TimeFrameIndex](/api_generated/Classes/structTimeFrameIndex.md) event times to absolute times for bin assignment. [UnitGatherContext](/api_generated/Classes/structNeuralyzer_1_1Plots_1_1UnitGatherContext.md) keeps these together so callers do not need to re-fetch the [TimeFrame](/api_generated/Classes/classTimeFrame.md) at rate estimation time.

Public Attributes Documentation

variable key

std::string key;

DataManager key of the source series.

variable gathered

GatherResult< DigitalEventSeries > gathered;

Trial-aligned views of the series.

variable time_frame

std::shared_ptr< TimeFrame const  > time_frame;

TimeFrame for index→time conversion.


Updated on 2026-11-13 at 20:25:41 +0000