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

[core] Fix spatial derivatives when using mode='bspline' or mode='gaussian' #135

Merged

Conversation

aschuh-hf
Copy link
Collaborator

After this change, the spatial_derivatives() modes forward_central_backward (finite differences), bspline, and gaussian produce similar results. For flow fields, it is important to set spacing correctly. The default assumes flow fields with respect to normalized grid coordinates with align_corners=True.

@aschuh-hf aschuh-hf added the bug Something isn't working label Dec 14, 2023
@schuhschuh schuhschuh force-pushed the core-fix-spatial-derivative-with-mode-bspline-or-gaussian branch from 36441b2 to d6075a8 Compare December 14, 2023 14:54
@aschuh-hf aschuh-hf force-pushed the core-fix-spatial-derivative-with-mode-bspline-or-gaussian branch from d6075a8 to 99263ea Compare December 14, 2023 15:23
@aschuh-hf aschuh-hf merged commit 41bcc55 into main Dec 14, 2023
3 checks passed
@aschuh-hf aschuh-hf deleted the core-fix-spatial-derivative-with-mode-bspline-or-gaussian branch December 14, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant