import pathlib
import matplotlib.pyplot as plt

from ajustador import features

try:
    wavename
except NameError:
    import strange1 as mod
    wavename, n = 'high_baseline_post', -1

rec = mod.waves[wavename][n]

fig = plt.figure()
features.SteadyState(rec).plot(figure=fig, pre_post=True)

plt.show(block=True)