[SciPy-User] sinc interpolation

18 views
Skip to first unread message

David Trem

unread,
Nov 20, 2009, 3:26:06 PM11/20/09
to scipy...@scipy.org
Hello,

Is sinc interpolation available in Scipy ?

I've just ask this question to Travis Oliphant during
the entought webinar that had just ended but unfortunately
I was not able to ear the reply due to poor sound quality just at
that moment :-(
Hope someone could give me his or a reply to this question.

Thanks,

David
_______________________________________________
SciPy-User mailing list
SciPy...@scipy.org
http://mail.scipy.org/mailman/listinfo/scipy-user

Sturla Molden

unread,
Nov 21, 2009, 5:18:46 AM11/21/09
to SciPy Users List

I have a least-sqaures interpolator similar to Matlab's interp function.
Basically it just constructs a FIR filter that can be used with
scipy.signal.lfilter.

Also you can use FFTs for interpolation. Just rfft the signal, append
zeros, and invert the transform.

Sturla


David Trem skrev:

Fabricio Silva

unread,
Nov 21, 2009, 7:42:19 AM11/21/09
to scipy...@scipy.org
Le vendredi 20 novembre 2009 à 21:26 +0100, David Trem a écrit :
> Hello,
>
> Is sinc interpolation available in Scipy ?

David Cournapeau has a scikit for that :
http://pypi.python.org/pypi/scikits.samplerate/

--
Fabrice Silva
Laboratory of Mechanics and Acoustics (CNRS, UPR 7051)

David Cournapeau

unread,
Nov 25, 2009, 9:55:57 AM11/25/09
to SciPy Users List
On Sat, Nov 21, 2009 at 9:42 PM, Fabricio Silva <si...@lma.cnrs-mrs.fr> wrote:
> Le vendredi 20 novembre 2009 à 21:26 +0100, David Trem a écrit :
>> Hello,
>>
>> Is sinc interpolation available in Scipy ?
>
> David Cournapeau has a scikit for that :
> http://pypi.python.org/pypi/scikits.samplerate/

It is mostly useful for audio signals, though, and limited to 1d
signals. A more general sinc-based interpolation scheme would be nice
for scipy.signal.

David

Reply all
Reply to author
Forward
0 new messages