The eccentric anomaly,$E$, is defined via the equation,
$$ r = a(1-e \cos E) \tag{1} $$ for radius $r$, semi-major axis $a$ and eccentricity $e$.
It is ALSO defined in terms of the Kepler Equation as,
$$ E - e \sin E = \frac{2 \pi t}{T} \tag{2} $$ for time $t$, orbital period $T$.
Now I have some data $r(t)$, where I know the orbital parameters $a,e,T$.
From my data, if I calculate $E$ from the first equation, I can calculate the LHS of Eq. 2.
I can also calculate the RHS of Eq. 2 directly from my data.
However when I do this LHS $\ne$ RHS: The RHS increases ~linearly, whilst the LHS is ~ oscillatory. Given the form of these two equations, this is what I would expect, but how can I get the two to agree?