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 #131

Open
aplavin opened this issue Sep 24, 2022 · 0 comments
Open

Interpolation #131

aplavin opened this issue Sep 24, 2022 · 0 comments

Comments

@aplavin
Copy link
Collaborator

aplavin commented Sep 24, 2022

Currently, there's no convenient interpolation integration for AxisKeys, as far as I know. The readme says

There is no interaction with interpolation, although this seems a natural fit. Why doesn't A(:left, 13.7, :) interpolate along continuous dimensions?

I think it's best to keep basic lookup like A(:left, 13.7, :) to only retrieve existing values, as it currently does.
But something more explicit could be very convenient and composable: maybe, A(:left, Interp(13.7), :)? This generalizes to A(:left, Interp(13.7, order=2), :), for example.

Such an interface looks general and intuitive. Do you think it would make sense, or there are better alternatives?

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

No branches or pull requests

1 participant