StepTimeMixin

class StepTimeMixin(step_time: float)[source]

Bases: object

Mixin for encoders with a base step time.

Parameters:

step_time (float) – length of a simulation time step, in \(ms\).

property dt: float

Length of the simulation time step, in milliseconds.

Parameters:

value (float) – new simulation time step length.

Returns:

present simulation time step length.

Return type:

float