import pathlib
import matplotlib.pyplot as plt

from ajustador import features

try:
    wavename
except NameError:
    import measurements1 as mod
    wavename, n = 'waves042811', 8

rec = mod.waves[wavename][n]

fig = plt.figure()
features.SteadyState(rec).plot(figure=fig)

plt.show()