How to retrieve fully sampled kspace data from all receive coils


I would like to retrieve the fully sampled k-space data for one brain data and all receive coils.
I am using the validation dataset and the k-space has dimensions: 320x640x16x14.
How can I downsample to 320x320x16 for one slice of choice?

Thanks in advance!

Hello @Ilias_Giannakopoulos, you can use the SliceDataset class combined with one of the masking functions in See the demo usage of the VarNetDataTransform for an example.