[SciPy-User] splines with imposed tangent at start and end point
Del Citto Francesco
francesco.delcitto at sauber-motorsport.com
Fri Jul 24 06:00:28 EDT 2015
Thanks a lot, we’ll have a look to it!
Obviously, I would have preferred this to be already part of standard SciPy, to avoid compiling additional custom modules and rely on “official” packages, but it is already a good starting point.
Thanks again,
Francesco
From: scipy-user-bounces at scipy.org [mailto:scipy-user-bounces at scipy.org] On Behalf Of Evgeni Burovski
Sent: Freitag, 24. Juli 2015 11:49
To: SciPy Users List
Subject: Re: [SciPy-User] splines with imposed tangent at start and end point
[Shameless plug] https://github.com/scipy/scipy/pull/3174
This is not merged yet, and there is some discussion on the interface (comments welcome). I guess it's easy to just grab the spline construction code (make_interp_spline and its cython helpers) and use splev for evaluations.
On Jul 24, 2015 10:48 AM, "Del Citto Francesco" <francesco.delcitto at sauber-motorsport.com<mailto:francesco.delcitto at sauber-motorsport.com>> wrote:
Hi all,
I’m sure I’m not the first one asking a similar question, but I was not able to find an answer yet.
I need to define a 1D spline curve in the 3D space where both the coordinates and the tangent at first and last points are assigned.
scipy.interpolate.InterpolatedUnivariateSpline can build a spline passing through many points, but no constraint on the tangent can be given.
I’ve found other spline formulations where this is possible, but I was wondering if there is anything already available in SciPy.
Thanks in advance,
Francesco
Freundliche Grüsse,
Best regards,
Francesco Del Citto
CFD Development Group
[cid:image001.jpg at 01D0C608.54FED810]<http://goo.gl/LMmQvL>
www.sauberf1team.com<http://goo.gl/LMmQvL>
[cid:image002.jpg at 01D0C608.54FED810]<http://goo.gl/jI4oGH> [cid:image003.jpg at 01D0C608.54FED810] <http://goo.gl/ro1xCu> [cid:image004.jpg at 01D0C608.54FED810] <http://goo.gl/1WDTyK> [cid:image005.jpg at 01D0C608.54FED810] <http://goo.gl/EwwBvO> [cid:image006.jpg at 01D0C608.54FED810] <http://goo.gl/7R7dJB> [cid:image007.jpg at 01D0C608.54FED810] <http://goo.gl/T4uy4Z> [cid:image008.jpg at 01D0C608.54FED810] <http://goo.gl/zqKLCq> [cid:image009.jpg at 01D0C608.54FED810] <http://goo.gl/PlKpEu>
Sauber Motorsport AG
Wildbachstrasse 9
8340 Hinwil
Switzerland
Phone +41 44 937 95 10
This message contains confidential information and is intended only for the individual named herein. If you are not the herein named addressee you should not disseminate, distribute a copy or otherwise make use of this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake, and delete this e-mail from your system.
Please consider the environment before printing this email.
_______________________________________________
SciPy-User mailing list
SciPy-User at scipy.org<mailto:SciPy-User at scipy.org>
http://mail.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3304 bytes
Desc: image001.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 879 bytes
Desc: image002.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 861 bytes
Desc: image003.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 884 bytes
Desc: image004.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 913 bytes
Desc: image005.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 976 bytes
Desc: image006.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 937 bytes
Desc: image007.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 900 bytes
Desc: image008.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 1117 bytes
Desc: image009.jpg
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/bb221428/attachment-0008.jpg>
More information about the SciPy-User
mailing list