round_bvals¶
Usage
Run using mc_script round_bvals after installation or using ~ndcn0236/bin/mc_script round_bvals on jalapeno.
Import in python using from mcutils.scripts import round_bvals
Documentation
Rounds the input b-values
Each b-value is considered to be in the same shell as each other b-value within b_delta. For each shell the median b-value of all volumes is used as in the output b-value file.
Note that even volumes, which have a difference in b-value of more than b_delta can still be in the same shell if there are intermediate b-values. For example, for a b_delta of 100, the b-values of [0, 80, 160] are all within one shells, but the b-values of [0, 160] are not.
Functions
|
Rounds an array of b-values |
CLI interface
|
|
|