samna.xylo#

Submodules#

Module content#

class samna.xylo.OperationMode#

Bases: pybind11_object

Members:

Manual

AcceleratedTime

RealTime

property name#
samna.xylo.validate_configuration(arg0: samna.xylo.configuration.XyloConfiguration) Tuple[bool, str]#

Validate the given configuration.

Parameters:

config (xylo.configuration.XyloConfiguration) – The configuration to validate.

Returns:

A pair of the validation result and the analysis string.

samna.xylo.xylo_configuration_to_event(arg0: samna.xylo.configuration.XyloConfiguration) List[samna.xylo.event.Spike | samna.xylo.event.WriteRegisterValue | samna.xylo.event.ReadRegisterValue | samna.xylo.event.WriteMemoryValue | samna.xylo.event.ReadMemoryValue | samna.xylo.event.ReadMembranePotential | samna.xylo.event.ReadSynapticCurrent | samna.xylo.event.ReadReservoirSynapticCurrent2 | samna.xylo.event.ReadReservoirSpike | samna.xylo.event.ReadVersion | samna.xylo.event.TriggerProcessing | samna.xylo.event.TriggerReadout]#

Get the events for the given Xylo configuration.

Parameters:

config (xylo.configuration.XyloConfiguration) – The configuration to turn into events.

Returns:

A list of events.