Closed kamdh closed 5 years ago
@kharris Can you clarify where there's an indexing error? The modeled time does include the infinite epoch in the current implementation, e.g. we have this assert: https://github.com/WSDeWitt/dement/blob/08c6bcf0aae36daa69fb4dd49a0ef5d71cf07462/dement.py#L23
Yeah I added that. However, in the paper t[0] = 0 (true for us) but they never use y[0], whereas in our case we do use it.
See commit comment https://github.com/WSDeWitt/dement/commit/cc4fd48151f83cdd706fa3f2fe6d4d291efa501e#r33188986
They do use y[0]
, but they call it _y1 because python indexing starts at 0.
What they call y_1 is the time in the first window, from t_0 = 0 to t_1. Anyway, just double check everything. I was thinking there might be a disagreement.
The indices of the y vectors do not exactly match the formulation in the Rosen. y[-1] should be equivalent to eta_k, which is actually eta at time infinity, whereas now we are treating it as the end of our modeled time.