pogona.Modulation

class pogona.Modulation[source]

Bases: pogona.component.Component

Attributes

component_name

Unique name of this component, unless it is "Generic component".

symbol_duration

__init__()[source]

Methods

__init__()

finalize(simulation_kernel)

initialize(simulation_kernel, init_stage)

Use InitStages to initialize this Component instance.

process_new_time_step(simulation_kernel, ...)

set_arguments(**kwargs)

Read arguments as key value pairs and set this component's member variables accordingly.

transmit_bitstream(bitstream, ...)

__init__()[source]
finalize(simulation_kernel: pogona.simulation_kernel.SimulationKernel)
initialize(simulation_kernel: pogona.simulation_kernel.SimulationKernel, init_stage: pogona.component.InitStages)

Use InitStages to initialize this Component instance.

process_new_time_step(simulation_kernel: pogona.simulation_kernel.SimulationKernel, notification_stage: pogona.component.NotificationStages)
set_arguments(**kwargs)

Read arguments as key value pairs and set this component’s member variables accordingly. Validity of the argument values will be checked in initialize().

transmit_bitstream(bitstream: str, simulation_kernel: pogona.simulation_kernel.SimulationKernel, finish_callback: Optional[Callable])[source]
component_name = 'Generic component'

Unique name of this component, unless it is “Generic component”.

id

Unique integer component ID

abstract property symbol_duration