Skip to content

hertzforge.drawing.plot.srs_tolerance

srs_tolerance

Drawing decisions for srs_tolerance: what a figure needs to know, with none of the code that draws it.

Functions:

Name Description
band_text

The band in words, as the title and the legend give it:

describe

One judged spectrum in a line: its polarity, the count and share

Functions:

band_text

band_text(inner: tuple[Any, Any], outer: tuple[Any, Any] | None) -> str

The band in words, as the title and the legend give it: '−1.5/+3 dB', or '−1.5/+3 dB within −3/+6 dB' with an outer band (compliance.srs_band_text, which the report captions share).

describe

describe(result: dict[str, Any]) -> str

One judged spectrum in a line: its polarity, the count and share of its points inside the band, and whether it passed, as in 'maximax: 85/92 inside (92.4 %), passes'. Short, because it is a legend entry beside two or three others.