Hi,
I have tried the example from the docstring with the 'real' data, i.e.
import ttide as tt
import numpy as np
t = np.arange(1001)
m2_freq = 2 * np.pi / 12.42
elev = 5 * np.cos(m2_freq * t)
tfit_e = tt.t_tide(elev)
elev_fit = tfit_e(t)
When comparing the original elevation, 'elev', to the reconstructed one, 'elev_fit', the phases and frequencies are different, as shown in the figure below. Shouldn't these be the same or am I missing something?

Hi,
I have tried the example from the docstring with the 'real' data, i.e.
import ttide as tt
import numpy as np
t = np.arange(1001)
m2_freq = 2 * np.pi / 12.42
elev = 5 * np.cos(m2_freq * t)
tfit_e = tt.t_tide(elev)
elev_fit = tfit_e(t)
When comparing the original elevation, 'elev', to the reconstructed one, 'elev_fit', the phases and frequencies are different, as shown in the figure below. Shouldn't these be the same or am I missing something?