{"action":"created","issue":{"url":"https://api.github.com/repos/jyhmiinlin/pynufft/issues/1","repository_url":"https://api.github.com/repos/jyhmiinlin/pynufft","labels_url":"https://api.github.com/repos/jyhmiinlin/pynufft/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jyhmiinlin/pynufft/issues/1/comments","events_url":"https://api.github.com/repos/jyhmiinlin/pynufft/issues/1/events","html_url":"https://github.com/jyhmiinlin/pynufft/issues/1","id":196065608,"number":1,"title":"pynufft.forward(x) output should have a reasonable shape, probably Kd","user":{"login":"Ritchizh","id":18049634,"avatar_url":"https://avatars.githubusercontent.com/u/18049634?v=3","gravatar_id":"","url":"https://api.github.com/users/Ritchizh","html_url":"https://github.com/Ritchizh","followers_url":"https://api.github.com/users/Ritchizh/followers","following_url":"https://api.github.com/users/Ritchizh/following{/other_user}","gists_url":"https://api.github.com/users/Ritchizh/gists{/gist_id}","starred_url":"https://api.github.com/users/Ritchizh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ritchizh/subscriptions","organizations_url":"https://api.github.com/users/Ritchizh/orgs","repos_url":"https://api.github.com/users/Ritchizh/repos","events_url":"https://api.github.com/users/Ritchizh/events{/privacy}","received_events_url":"https://api.github.com/users/Ritchizh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jyhmiinlin","id":4564348,"avatar_url":"https://avatars.githubusercontent.com/u/4564348?v=3","gravatar_id":"","url":"https://api.github.com/users/jyhmiinlin","html_url":"https://github.com/jyhmiinlin","followers_url":"https://api.github.com/users/jyhmiinlin/followers","following_url":"https://api.github.com/users/jyhmiinlin/following{/other_user}","gists_url":"https://api.github.com/users/jyhmiinlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyhmiinlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyhmiinlin/subscriptions","organizations_url":"https://api.github.com/users/jyhmiinlin/orgs","repos_url":"https://api.github.com/users/jyhmiinlin/repos","events_url":"https://api.github.com/users/jyhmiinlin/events{/privacy}","received_events_url":"https://api.github.com/users/jyhmiinlin/received_events","type":"User","site_admin":false},"assignees":[{"login":"jyhmiinlin","id":4564348,"avatar_url":"https://avatars.githubusercontent.com/u/4564348?v=3","gravatar_id":"","url":"https://api.github.com/users/jyhmiinlin","html_url":"https://github.com/jyhmiinlin","followers_url":"https://api.github.com/users/jyhmiinlin/followers","following_url":"https://api.github.com/users/jyhmiinlin/following{/other_user}","gists_url":"https://api.github.com/users/jyhmiinlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyhmiinlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyhmiinlin/subscriptions","organizations_url":"https://api.github.com/users/jyhmiinlin/orgs","repos_url":"https://api.github.com/users/jyhmiinlin/repos","events_url":"https://api.github.com/users/jyhmiinlin/events{/privacy}","received_events_url":"https://api.github.com/users/jyhmiinlin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-12-16T14:00:40Z","updated_at":"2017-01-26T14:30:37Z","closed_at":null,"body":"**#create object**\r\n> NufftObj = pyn.pynufft(om, Nd,Kd,Jd, None)   \r\n>  \r\n**#this is the Forward Fourier Transform**\r\n> data= NufftObj.forward(image)\r\n> \r\n**#recalculate the density compensation**   \r\n> NufftObj.pipe_density() \r\n> \r\n**#this is the Inverse Fourier Transform**    \r\n> image_blur = NufftObj.adjoint(data*NufftObj.st['W'])\r\n\r\nUploaded \"image\" has the shape [256,256], \"data\" is the \"image\" spectrum which I was looking for. But somewhere in \"def forward\" function \"data\" is reshaped into [Mx1] array, where M is initialized as om.shape[0], so the Fourier spectrum can not be used or even plotted directly, which is very inconvenient.\r\nProbably the package functions should be changed so that they do not flatten the \"forward\" result."},"comment":{"url":"https://api.github.com/repos/jyhmiinlin/pynufft/issues/comments/275401575","html_url":"https://github.com/jyhmiinlin/pynufft/issues/1#issuecomment-275401575","issue_url":"https://api.github.com/repos/jyhmiinlin/pynufft/issues/1","id":275401575,"user":{"login":"jyhmiinlin","id":4564348,"avatar_url":"https://avatars.githubusercontent.com/u/4564348?v=3","gravatar_id":"","url":"https://api.github.com/users/jyhmiinlin","html_url":"https://github.com/jyhmiinlin","followers_url":"https://api.github.com/users/jyhmiinlin/followers","following_url":"https://api.github.com/users/jyhmiinlin/following{/other_user}","gists_url":"https://api.github.com/users/jyhmiinlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyhmiinlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyhmiinlin/subscriptions","organizations_url":"https://api.github.com/users/jyhmiinlin/orgs","repos_url":"https://api.github.com/users/jyhmiinlin/repos","events_url":"https://api.github.com/users/jyhmiinlin/events{/privacy}","received_events_url":"https://api.github.com/users/jyhmiinlin/received_events","type":"User","site_admin":false},"created_at":"2017-01-26T14:30:37Z","updated_at":"2017-01-26T14:30:37Z","body":"That's great! \r\n\r\nJ-M"}}
{"actor":{"display_login":"jyhmiinlin"}}