-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Milestone
Description
The scipy code that performs integration returns an integration result one-shorter than the input, which is inconvenient. So in the utility code an extra value is prepended to that result vector to make the result same-length. It's a bit of a puzzle what should be added here, and the choice made by the existing code doesn't make perfect sense to me, because it chooses first_value = x[0] - dxdt_hat[0], and the units of x and its derivative don't match. It's possible this actually is a good choice, but while reviewing #77, @florisvb couldn't recall why this value was chosen, so I'd like us to do some experimentation or thinking and then justify this with a code comment, or change it.
Metadata
Metadata
Assignees
Labels
No labels