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

sdc function does not work for directional nfft #128

Open
aTrotier opened this issue Nov 30, 2023 · 1 comment
Open

sdc function does not work for directional nfft #128

aTrotier opened this issue Nov 30, 2023 · 1 comment

Comments

@aTrotier
Copy link

using NFFT, NFFTTools

J = 11

y = rand(J) .- 0.5
N = (16,20)
p1 = plan_nfft(y, N, dims=1)
f = randn(ComplexF64, N)
fHat = p1 * f

w=sdc(p1)

error :

MethodError: no method matching sdc(::NFFT.NFFTPlan{Float64, 2, 2})
Closest candidates are:
sdc(!Matched::AbstractNFFTs.AbstractNFFTPlan{T, D, 1}; iters) where {T, D}
@ NFFTTools ~/.julia/packages/NFFTTools/UlGIF/src/samplingDensity.jl:2
@tknopp
Copy link
Member

tknopp commented Nov 30, 2023

Yes, this is not expected to work. The easiest is to create another regular NFFT plan.

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

No branches or pull requests

2 participants