Closed kcho closed 3 years ago
Thank you for your contribution. We were made aware of this issue in the past and I am pretty confident that I fixed it. Now that I am thinking about it, the fix may have been in a different branch.
Regardless, I have fixed it here again. The fix is deployed across PNL platforms. Similar fix in multi-shell software to follow soon.
Similar fix in multi-shell software to follow soon.
Done
Hi Tashrif,
Some diffusion data has very low b-value, eg. 5, 0.1, 4 etc., for their b0 bvalue.
In
remapBval
function inlib/bvalMap.py
,Below is the test-simulation snippet
which returns incorrect new bvalues.
Maybe we should do something like below to bypass b0 indices, using the information stored in
where_b0
to the line https://github.com/pnlbwh/dMRIharmonization/blob/58405565c0b076bd519ddca112d7a1da64c5beef/lib/bvalMap.py#L31-L32
Thanks!