From 49e0a0a13163b8ecaa57d7494a6bb2e2db560e48 Mon Sep 17 00:00:00 2001 From: Derek Pisner <16432683+dPys@users.noreply.github.com> Date: Tue, 24 Mar 2020 13:09:51 -0500 Subject: [PATCH] Update dmriprep/utils/vectors.py Co-Authored-By: Ariel Rokem --- dmriprep/utils/vectors.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dmriprep/utils/vectors.py b/dmriprep/utils/vectors.py index 19ff10ff..61febfea 100644 --- a/dmriprep/utils/vectors.py +++ b/dmriprep/utils/vectors.py @@ -456,6 +456,10 @@ def _rasb_to_bvec_list(in_rasb): Returns ------- List of b-vectors as floats. + + Returns + -------- + list : each element is a b-vector """ import numpy as np @@ -480,4 +484,4 @@ def _rasb_to_bval_floats(in_rasb): import numpy as np ras_b_mat = np.genfromtxt(in_rasb, delimiter="\t") - return [float(bval) for bval in ras_b_mat[:, 3] if bval > 0] \ No newline at end of file + return [float(bval) for bval in ras_b_mat[:, 3] if bval > 0]