mrirecon/bart

Assertion `1 == ksp_dims[MAPS_DIM]' failed

duancaohui opened this issue · 2 comments

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)

Hello,

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

Please refer to the mailing list for help.