[SciPy-User] splines with imposed tangent at start and end point

Evgeni Burovski evgeny.burovskiy at gmail.com
Fri Jul 24 05:49:22 EDT 2015


[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> 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
>
> <http://goo.gl/LMmQvL>
>
>
>
> www.sauberf1team.com <http://goo.gl/LMmQvL>
>
>
>
> [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\GooglePlus.gif]
> <http://goo.gl/jI4oGH>     [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\Facebook.gif]
> <http://goo.gl/ro1xCu>     [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\Twitter.gif]
> <http://goo.gl/1WDTyK>     [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\Instagram.gif]
> <http://goo.gl/EwwBvO>     [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\YouTube.gif]
> <http://goo.gl/7R7dJB>     [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\Pinterest.gif]
> <http://goo.gl/T4uy4Z>     [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\Vine.gif]
> <http://goo.gl/zqKLCq>     [image: Beschreibung:
> I:\Marketing\I_Social-Media\SocialNetwork_Logos\Logos_GIF_Blau\SportLobster.gif]
> <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
> 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/804312da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 976 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 913 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 900 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3304 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 879 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 1117 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 937 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 884 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 861 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20150724/804312da/attachment-0008.jpg>


More information about the SciPy-User mailing list