Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Python Type1 nufft can not handle nonuniform signal out of (-3pi, 3pi) ? #315

Closed
razgzy opened this issue Jul 12, 2023 · 1 comment
Closed

Comments

@razgzy
Copy link

razgzy commented Jul 12, 2023

t1 = np.arange(0,300,1)
t2 =np.arange(500.5,700.5,1)
t = np.concatenate([t1,t2])
S = 2*np.sin(0.1*np.pi*t) + np.sin(0.02*np.pi*t)
Y = finufft.nufft1d1(t, S, 500)
f = np.arange(0,500,1)/500
plt.figure()
plt.plot(f, Y)
plt.show()

I tried to test the example given in Matlab:
https://www.mathworks.com/help/matlab/ref/double.nufft.html
But I failed with RuntimeError: FINUFFT spreader nonuniform point out of range [-3pi,3pi]^d in type 1 or 2

@razgzy razgzy changed the title Python Type1 nufft can not handle signal out of (-3pi, 3pi) ? Python Type1 nufft can not handle nonuniform signal out of (-3pi, 3pi) ? Jul 12, 2023
@ahbarnett
Copy link
Collaborator

ahbarnett commented Jul 12, 2023 via email

@flatironinstitute flatironinstitute locked and limited conversation to collaborators Jul 12, 2023
@ahbarnett ahbarnett converted this issue into discussion #316 Jul 12, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants