pygrenade_vx.signal_flow.Data

class pygrenade_vx.signal_flow.Data

Bases: pybind11_builtins.pybind11_object

__init__(self: _pygrenade_vx_signal_flow.Data)None

Methods

__init__(self)

batch_size(self)

Get number of elements in each batch of data.

clear(self)

Clear content of map.

empty(self)

Get whether the map does not contain any elements.

is_match(entry, List[List[grenade, …)

Get whether the data held in the entry match the port shape and type information.

merge(self, other)

Merge other map content into this one’s.

valid(self)

Check that all map entries feature the same batch_size value.

batch_size(self: _pygrenade_vx_signal_flow.Data)int

Get number of elements in each batch of data.

clear(self: _pygrenade_vx_signal_flow.Data)None

Clear content of map.

empty(self: _pygrenade_vx_signal_flow.Data)bool

Get whether the map does not contain any elements.

static is_match(entry: Union[List[List[grenade::vx::common::TimedData<std::vector<grenade::vx::signal_flow::UInt32, std::allocator<grenade::vx::signal_flow::UInt32> > >]], List[List[grenade::vx::common::TimedData<std::vector<haldls::vx::PADIEvent::HagenActivation, std::allocator<haldls::vx::PADIEvent::HagenActivation> > >]], List[List[grenade::vx::common::TimedData<std::vector<grenade::vx::signal_flow::Int8, std::allocator<grenade::vx::signal_flow::Int8> > >]], List[List[grenade::vx::common::TimedData<std::variant<haldls::vx::SpikePack1ToChip, haldls::vx::SpikePack2ToChip, haldls::vx::SpikePack3ToChip> >]], List[List[grenade::vx::common::TimedData<halco::hicann_dls::vx::SpikeLabel>]], List[List[grenade::vx::common::TimedData<grenade::vx::signal_flow::MADCSampleFromChip>]]], port: grenade::vx::signal_flow::Port)bool

Get whether the data held in the entry match the port shape and type information.

merge(self: _pygrenade_vx_signal_flow.Data, other: _pygrenade_vx_signal_flow.Data)None

Merge other map content into this one’s.

valid(self: _pygrenade_vx_signal_flow.Data)bool

Check that all map entries feature the same batch_size value.