Skip to content

Defining partials of scipy interpolants (interp1d and RegularGridInterpolator) #3203

Answered by robfalck
TidoHoutepen asked this question in Q&A
Discussion options

You must be logged in to vote

I would recommend doing your upstream analysis that computes the inputs for the interpolants, and then using one of the interpolation components that come with OpenMDAO.

For orthogonal data, use MetaModelStructuredComp.

This will probably fit your needs, but another possible alternative is the Surrogate Modeling Toolbox, which provides derivatives of the interpolation, including the derivatives of the training data itself, if you require that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TidoHoutepen
Comment options

Answer selected by TidoHoutepen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants