-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable setting Δt in minimal_period #25
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was not really my comment. My comment was that minimal_period
should not care about Dt
. It should re-use the same points of the PO it took as input. The points on the PO remain the same if you have 5 times the period or 1. So my suggestion is that minimal_period
should never call complete_orbit
. Rather it should just remake the same periodic orbit with the same po.points
and just the reduced period.
The geometric curve in the state space remains (in theory) the same. In practice if we compute 50 * minimal_T trajectory and the PO is unstable, the ODE solver will diverge from the correct trajectory. Furthermore, N * minimal_T might have duplicate points compared to minimal_T. |
Okay. So, if I understand correctly, we, the codebase never call |
We don't call |
Enables user to select keyword argumet
Δt
, eg. time step between points inpo.points
trajectory. This refers to comment in #22. If the keyword is not specified,Δt
is set to defaultT/100
. This keyword argument is only valid for continuous-time systems.