-
Notifications
You must be signed in to change notification settings - Fork 26
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
Derivative of Spline Surface #20
Comments
Hi Ben, Currently, csaps package does not provide any spline analysis functionality. However, I think we can convert csaps PP spline representation to scipy PPoly object for univariate/multivariate cases and NdPPoly for nd-grid cases. scipy PPoly class contains spline analysis methods (derivative, integrate, ...) and we just can use this functionality for csaps splines because it is regular cubic spline with natural boundary condition. I can try to implement converting |
Hi Eugene,
Thanks for the reply. I will need to do a bit of work to understand what to
do, but it sounds positive. I think I'm struggling with the fact that the
documentation examples in SciPy aren't immediately obviously what I need. I
will take a look.
Best Regards,
Ben
…On Tue, 2 Jun 2020 at 13:01, Eugene Prilepin ***@***.***> wrote:
Hi Ben,
Currently, csaps package do not provide any spline analysis functionality.
However, I think we can convert csaps PP spline representation to scipy
PPoly
<https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.PPoly.html#scipy.interpolate.PPoly>
object for univariate/multivariate cases and NdPPoly
<https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.NdPPoly.html#scipy.interpolate.NdPPoly>
for nd-grid cases. scipy PPoly class contains spline analysis methods
(derivative, integrate, ...) and we just can use this functionality for
csaps splines because it is regular cubic splines with natural boundary
condition.
I can try to implement converting SplinePPForm to PPoly. In fact, we just
need to reshape the array of spline coefficients and use
PPoly.construct_fast method.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMO5QIDBD2HPHFGCPDXNSL3RUTSZDANCNFSM4NQSAHWQ>
.
|
Hi Eugene, |
Same as Ben who is looking for fnder for finding derivative, I am looking for fntlr equivalent for finding unnormalized Taylor coefficient |
It seems to me I want to add support of analysis functionality to csaps package based on scipy PPoly class. We could add |
@espdev |
Spline analysis functionality has been implemented via SciPy PPoly/NdPPoly classes. These changes already in master branch and will be in 1.0.0 release. See Also I try to implement and add |
Hi Eugene,
I came across your package trying to replicate some analysis that had been done in Matlab using csaps. The tool works perfectly, however the analysis I'm replicating used the Matlab function fnders to return the derivative of the spline surface fitted using csaps.
Is there a way to do this in your package, or is it something you would consider as an additional feature?
Many thanks again for the tool.
Best Regards,
Ben
The text was updated successfully, but these errors were encountered: