Skip to main content

Module analog_renderer

Module analog_renderer 

Source
Expand description

Analog signal rendering: command generation and waveform drawing.

Structsยง

CommandBuilder ๐Ÿ”’
Builds drawing commands by iterating viewport pixels.
CommandOutput ๐Ÿ”’
Accumulates commands and tracks value bounds.
InterpolatedStrategy
Interpolated rendering: diagonal lines connecting consecutive values.
RenderContext
Coordinate transformation state shared between rendering strategies. Invariant: min_val and max_val are always finite.
StepStrategy
Step-style rendering: horizontal segments with vertical transitions.

Enumsยง

AnalogDrawingCommand

Traitsยง

RenderStrategy
Rendering strategy for analog waveforms.

Functionsยง

draw_amplitude_labels ๐Ÿ”’
draw_analog
Render analog waveform from pre-computed commands.
draw_building_indicator ๐Ÿ”’
Draw a building indicator with animated dots while analog cache is being built.
format_amplitude_value ๐Ÿ”’
Format amplitude value for display, using scientific notation for extreme values.
render_with_strategy ๐Ÿ”’
Render commands using the given strategy.
select_value_range ๐Ÿ”’
variable_analog_draw_commands ๐Ÿ”’
Generate draw commands for a displayed analog variable. Returns None if unrenderable, or a cache-build command if cache not ready.