pnlbwh / dMRIharmonization

Multi-site dMRI harmonization
Other
43 stars 14 forks source link

use B0_THRESH centrally #33

Closed tashrifbillah closed 4 years ago

tashrifbillah commented 4 years ago

If B0_THRESH control needs to be given to user, it can be introduced as an argument in harmonization.py and written in config.ini.

The config file can be read in:

determineNshm.py
findBshells.py

bvalMap.py
resample.py
dti.py
rish.py

However, argument/config cannot be exploited during testing. Because:

(a) argument doesn't exist (b) config file location is unknown

Hence, the following files should still use hard-coded B0_THRESH from test_util.py.

compute_volumwise_diff.py
compute_volumwise_diff.py.example