Skip to content
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

Sinc interpolation #145

Open
sglyon opened this issue Apr 5, 2017 · 4 comments
Open

Sinc interpolation #145

sglyon opened this issue Apr 5, 2017 · 4 comments
Labels

Comments

@sglyon
Copy link
Member

sglyon commented Apr 5, 2017

RE comment here

@sglyon sglyon added the wishlist label Apr 5, 2017
@sglyon sglyon mentioned this issue Apr 5, 2017
17 tasks
@roflmaostc
Copy link

roflmaostc commented Dec 22, 2020

I was thinking about a possible sinc interpolation implementation:

A naive (and probably the mathematically correct one?) sinc interpolation is to calculate the FFT of the samples, zero pad the FFT spectrum and calculate the IFFT of the padded spectrum.

However, this repository seems to calculate interpolations differently. It construct a itp object, which is able to calculate new values at all indices in between the original one.

A explicit sinc interpolation formula can be also written down, but it's evaluation is O(n) where n is the number of samples.

So what do you think? Is there a way that we adapt the whole API to a use case, where you need so specify a whole new grid beforehand?

Edit: I've found a similar discussion in #282 which indicates that we don't want to depend of FFTW.jl

@mkitti
Copy link
Collaborator

mkitti commented Dec 24, 2020

We probably would want to use https://github.com/JuliaMath/AbstractFFTs.jl . There a good point there that perhaps Fourier based interpolation should be a separate package.

Also see the lanczos support we added recently.

@roflmaostc
Copy link

I'm not sure whether AbstractFFT.jl helps.
Doesn't it provide a AbstractInterface for the bindings? At the end, the users still have to load a suitable FFT library.

@roflmaostc
Copy link

roflmaostc commented Dec 28, 2020

I started to work on a proper FFT interpolation and stumbled over certain problems and created a discourse post.
look here

Hopefully this helps in solving this properly and we could register this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants