visualdynamics.plot.field_limit¶
field_limit
¶
A set of measured spectra drawn with the limit taken over them and the straight-line envelope written over the limit.
One plot on log-log axes, in the unit system's units
(core.field_limit):
- every record of the set, thin and faint, named once in the legend with the count;
- the mean of the levels in decibels, dotted;
- the limit, solid and heavy, named by its statistic and count;
- the envelope, solid, each breakpoint a filled square numbered from the low end, as the breakpoint table reads;
- the gap between the envelope and the limit, hatched, with the area it adds (a PSD) or the most it stands above (an SRS) in the legend;
- with a margin, the envelope raised by it, dashed.
The title says what the limit is, what it rests on (the number of records and the assumption it needs), the breakpoints, the overshoot and the area added; a fit stopped by the breakpoints it was allowed says so there. Nothing is told apart by hue alone: the curves differ by weight and line style, the breakpoints by their markers, the gap by its hatching, and every one is named.
Functions:
| Name | Description |
|---|---|
summary |
The reading in one line, for the status bar: the limit and the |
build_field_limit |
Draw |
Functions:¶
summary
¶
The reading in one line, for the status bar: the limit and the envelope over it.
build_field_limit
¶
build_field_limit(layout: Any, fit: Any, *, margin_db: float = 0.0, unit_system: Any = None, theme: Any = None) -> Any
Draw fit, a core.field_limit.EnvelopeFit, into layout and
return the plot.
margin_db, when not zero, draws the envelope raised by it as well,
on the set's convention (EnvelopeFit.margined).
Source code in src/visualdynamics/plot/field_limit.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | |