mrirecon / bart

BART: Toolbox for Computational Magnetic Resonance Imaging
https://mrirecon.github.io/bart/
BSD 3-Clause "New" or "Revised" License
290 stars 161 forks source link

Assertion `1 == ksp_dims[MAPS_DIM]' failed #268

Closed duancaohui closed 3 years ago

duancaohui commented 3 years ago

bart pics -l1 -r0.001 file_ks file_sensemap image_out

bart: src/pics.c:230: main_pics: Assertion `1 == ksp_dims[MAPS_DIM]' failed.
Aborted (core dumped)

file_ks: size = (1, 8, 256, 320, 4), 8 is the number of coils, 4 is the slices

file_sensemap: size = (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 256, 320, 4)

sidward commented 3 years ago

Hello,

In BART, the locations of the dims are important. Please reshape both arrays to (256, 320, 4, 8, 1)

uecker commented 3 years ago

Please refer to the mailing list for help.