visualdynamics.plot.filtering¶
filtering
¶
The filtered trace, previewed over the raw one.
A corner frequency is a number; what it costs is a shape. The preview draws each visible curve again through the filter being set, so the trade — noise gone, content kept — is read on the data it will be made from, before Apply Filter makes anything.
The preview filters the y-data already on the plot. That is the whole
record in the units on screen, and filtering commutes with a unit
scale, so this is exactly what core.filters.filtered will produce —
no second implementation of the rule, just scipy called on what is
drawn. One colour for every preview rather than each channel's own:
the question this view answers is "what does the filter do", and a
preview dressed as another channel answers a different one. The
colour is theme's filter_preview, shared with the stage's twin.
Classes:
| Name | Description |
|---|---|
FilterOverlay |
Filtered twins of a plot's curves. Owns every item it adds and |
Classes¶
FilterOverlay
¶
Filtered twins of a plot's curves. Owns every item it adds and
takes them all away again on remove, so a redraw cannot leave a
preview behind.
Methods:
| Name | Description |
|---|---|
set_filtering |
Restate the previews for a new corner or order. |
remove |
Take the previews off and give the sources their pens back. |
Source code in src/visualdynamics/plot/filtering.py
Methods:¶
set_filtering
¶
Restate the previews for a new corner or order.
Source code in src/visualdynamics/plot/filtering.py
remove
¶
Take the previews off and give the sources their pens back.