I have obtained the k-space data using the following code:
twix_data = twixtools.read_twix(file_path)
mdb_data = read_image_data(twix_data)
data = twix_array(mdb_data, twix_data[-1]['hdr'], flags={'squeeze_singletons': True})
raw_kspace = data[:]
slice_num, spoke_num, coil_num, spoke_length = raw_kspace.shape
Then the one-dimensional ifft is implemented
raw_kspace = torch.tensor(np.complex64(raw_kspace))
raw_kspace = torch.fft.ifftshift(torch.fft.ifft(torch.fft.fftshift(raw_kspace, dim=[0]), dim=0), dim=[0])
I use the NUFFT toolbox torchkbnufft, however, I cannot obtain the true reconstruction image. I guess the reason is that the generated trajectory is not matched with the true measurement progress in Siemens.
How to analyze the StarVIBE raw kspace data? Thanks for the help.
I have obtained the k-space data using the following code:
Then the one-dimensional ifft is implemented
I use the NUFFT toolbox
torchkbnufft, however, I cannot obtain the true reconstruction image. I guess the reason is that the generated trajectory is not matched with the true measurement progress in Siemens.How to analyze the StarVIBE raw kspace data? Thanks for the help.