AnalogMeasurer

Base class for custom measurement extensions.

Subclass this to create a custom measurer that processes a span of contiguous analog samples and produces measures and annotations.

Declare measures and annotations as class attributes, then implement

measure_range to compute values from the provided data.

Methods

measure_range(data: AnalogSpan)

This method is called when running a measurement over a span of analog data.

This must be overridden by subclasses.

data
The span of data to run the measurement on.
AI/LLM users: see llms-extensions.txt for machine-readable documentation.