Read b-table from the disk
B-table is a 2D array which contains b-values in the first column and b-vectors in the last column.
Parameters : | fbtab : str,
|
---|---|
Returns : | bvals : array, (N,) bvecs : array, (N, 3) |
Read b-values and b-vectors from the disk
Parameters : | fbvals : str
fbvecs : str
|
---|---|
Returns : | bvals : array, (N,) or None bvecs : array, (N, 3) or None |
Notes
Files can be either ‘.bvals’/’.bvecs’ or ‘.txt’ or ‘.npy’ (containing arrays stored with the appropriate values).