Closed tashrifbillah closed 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.
B0_THRESH
harmonization.py
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.
test_util.py
compute_volumwise_diff.py compute_volumwise_diff.py.example
If
B0_THRESH
control needs to be given to user, it can be introduced as an argument inharmonization.py
and written inconfig.ini
.The config file can be read in:
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
fromtest_util.py
.