cedalion.vis.quality
Tools for visualizing signal quality metrics and masks.
Functions
|
Plot a boolean quality mask as a colour-coded channel × time heatmap. |
- cedalion.vis.quality.plot_quality_mask(
- mask,
- cb_label: str,
- bool_labels=['TAINTED', 'CLEAN'],
- true_is_good=True,
- figsize=(12, 10),
Plot a boolean quality mask as a colour-coded channel × time heatmap.
- Parameters:
mask – Boolean DataArray with
"channel"and"time"dimensions.cb_label – Label for the colorbar.
bool_labels – Two-element list giving the colorbar tick labels for
FalseandTruevalues respectively (default:["TAINTED", "CLEAN"]).true_is_good – Passed to
mask_cmap(); ifTrue(default),Trueis rendered in blue (good).figsize – Matplotlib figure size tuple.