Skip to content
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

Interpolation Options for Trajectory Resampling #441

Merged
merged 3 commits into from
May 27, 2024

Conversation

niclaswue
Copy link
Contributor

This PR adresses issue #440.

Changes made:

  • added interpolation_options argument to resample method in Flight.
  • extended documentation to include the new argument.
  • extended the test case test_resample_how_argument to include a quadratic interpolation.

Before merging, please check if the documentation is sufficient and whether the intersphinx link to pandas is working, I did not test that.

Also please note that I set the flag check_exact=False for the test case because I had small rounding inaccuracies at 1e-6 and I was unsure if they are deterministic.

Thanks!

src/traffic/core/flight.py Outdated Show resolved Hide resolved
@xoolive xoolive merged commit ecc34ec into xoolive:master May 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants