We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a0f156 commit 3b38264Copy full SHA for 3b38264
1 file changed
tests/test_mdn_filter.py
@@ -276,3 +276,14 @@ def test_kwargs(draeger1: Sequence):
276
filtered_data = mdn_filter.apply(eit_data, label="Filtered EIT Data")
277
278
assert filtered_data.label == "Filtered EIT Data"
279
+
280
281
+def test_plot_filter_effects(draeger1: Sequence):
282
+ """This test only checks that the plotting function runs without error."""
283
+ impedance = draeger1.continuous_data["global_impedance_(raw)"]
284
+ mdn_filter = MDNFilter(
285
+ respiratory_rate=10 / MINUTE,
286
+ heart_rate=80 / MINUTE,
287
+ )
288
+ mdn_filter.apply(impedance, captures=(captures := {}))
289
+ mdn_filter.plotting.plot_results(**captures)
0 commit comments