@@ -21,22 +21,23 @@ def get_slice_indices(n_slices, slice_order='ascending',
2121 Parameters
2222 ----------
2323 n_slices: int
24- the number of slices there're altogether
24+ The number of slices there're altogether.
2525
26- slice_order: string or array of ints or length n_slices
27- slice order of acquisitions in a TR
26+ slice_order: string ('ascending', 'descending'), or array of ints or
27+ length n_slices slice order of acquisitions in a TR.
2828 'ascending': slices were acquired from bottommost to topmost
29- 'descending': slices were acquired from topmost to bottommost
29+ 'descending': slices were acquired from topmost to bottommost.
30+ If list of integers, 0-based (i.e Python!) indexing is assumed.
3031
3132 interleaved: bool (optional, default False)
32- if set, then slices were acquired in interleaved order, odd-numbered
33- slices first, and then even-numbered slices
33+ Ff set, then slices were acquired in interleaved order, odd-numbered
34+ slices first, and then even-numbered slices.
3435
3536 Returns
3637 -------
3738 slice_indices: 1D array of length n_slices
38- slice indices consistent with slice order (i.e, slice_indices[k]
39- is the corrected index of slice k according to the slice order)
39+ Slice indices consistent with slice order (i.e, slice_indices[k]
40+ is the corrected index of slice k according to the slice order).
4041
4142 Raises
4243 ------
0 commit comments