Skip to content

Allow user to choose (irregularly-spaced) integration points #41

Description

@Jacob-Stevens-Haas

Thanks for your work with this package!

I'm hoping to generate some data to test out a collocation approach using different choices of points, which means integrating the ODE and evaluating at irregularly spaced points. It's common in integration methods to allow the user to choose the points to evaluate the solution. E.g. solve_ivp's parameter t_eval.

Desired

It would be great if DynSys.make_trajectory() could handle t_eval.

Alternative

User finds highest dt that divides all their evaluation times, oversamples using make_trajectory(), then determines the indices to thin out to the desired evaluation times.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions