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

Releasing 0.2.1 #22

Merged
merged 8 commits into from
Oct 10, 2023
Merged

Releasing 0.2.1 #22

merged 8 commits into from
Oct 10, 2023

Conversation

anchal-physics
Copy link
Collaborator

Added option of reusing the matrix calculations in thin plate spline method for interpolation.

project_prop_on_subset was not working properly when the property
values are not tagged as values but some other name. Added a new
argument for that.

Also notices that interp(prop_values::Vector{T}, space::OMAS.edge_profiles__grid_ggd___space)
had a typo in return call and would have failed.
In project_prop_on_subset!, when the dimensions of to_subset is
lower, then an interpolation is required. This commit adds an
option to choose between thin plate spline (:thin_plate_spline)
(slower, more accurate) and using KD trees (:kd_tree)
(faster, less accurate).
While doing thin plate spline method for interpolation, it is beneficial
to reuse the matrix calculations done if the same grid susbset is
being used. So just like sharing a KDTree object, we can share the
TPS_mats which is a tuple of matrices and vectors required for this
spline function.
Added option for reusing TPS matrices
@anchal-physics anchal-physics merged commit 6a19d6f into master Oct 10, 2023
2 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.

1 participant