BrkRaw / brkraw

BrkRaw: A comprehensive tool to access raw Bruker Biospin MRI data
https://brkraw.github.io
GNU General Public License v3.0
44 stars 27 forks source link

Phase encoding direction in json file not valid #91

Open gobejosh opened 2 years ago

gobejosh commented 2 years ago

Describe the bug Hello,

after using the tools to convert a dataset of anatomic and fMRI images acquired with PV5.1 to BIDS, the "PhaseEncodingDirection" field was filed "col_dir" instead of a simple letter in all of the generated json files. As it is a small dataset, i wouldn't mind changing it manually but i am not sure what letter corresponds to "col_dir" or "row_dir" and how to determine the sign.

To Reproduce With data acquiered with PV5.1, I used the bids_helper function, filed the task field in the generated datasheet for the fMRI acquisitions, then used the bids_convert function.

Expected behavior Expected an i, j or k, with or without a - sign in the "PhaseEncodingDirection" of the json files.

Let me know if you need more information. Thanks a lot in advance

dvm-shlee commented 1 year ago

@gobejosh Sorry for the delay on responding to this issue. There are huge update in metadata since PV6, so I haven't got a chance to work with PV5.1 related issues.

I guess the details about the parameter "PhaseEncodingDirection" field should be described in PV5.1 documents which might be in your scanner console. If you can provide some description about that parameter, I will try update it according to the BIDS standard. Thanks!