@@ -64,7 +64,7 @@ def norm_transformation(input_mat):
6464
6565 Parameters
6666 ----------
67- input_mat: str or numpy.ndarray
67+ input_mat : str or numpy.ndarray
6868 Either the path to text file matrix or a matrix already imported.
6969
7070 Returns
@@ -105,12 +105,12 @@ def template_convergence(mat_file, mat_type='matrix',
105105
106106 Parameters
107107 ----------
108- mat_file: str
108+ mat_file : str
109109 path to an fsl flirt matrix
110- mat_type: str
110+ mat_type : str
111111 'matrix'(default), 'ITK'
112112 The type of matrix used to represent the transformations
113- convergence_threshold: float
113+ convergence_threshold : float
114114 (numpy.finfo(np.float64).eps (default)) threshold for the convergence
115115 The threshold is how different from no transformation is the
116116 transformation matrix.
@@ -141,22 +141,22 @@ def create_temporary_template(input_brain_list, input_skull_list,
141141
142142 Parameters
143143 ----------
144- input_brain_list: list of str
144+ input_brain_list : list of str
145145 list of brain image paths
146- input_skull_list: list of str
146+ input_skull_list : list of str
147147 list of skull image paths
148- output_brain_path: Nifti1Image
148+ output_brain_path : Nifti1Image
149149 temporary longitudinal brain template
150- output_skull_path: Nifti1Image
150+ output_skull_path : Nifti1Image
151151 temporary longitudinal skull template
152- avg_method: str
152+ avg_method : str
153153 function names from numpy library such as 'median', 'mean', 'std' ...
154154
155155 Returns
156156 -------
157- output_brain_path: Nifti1Image
157+ output_brain_path : Nifti1Image
158158 temporary longitudinal brain template
159- output_skull_path: Nifti1Image
159+ output_skull_path : Nifti1Image
160160 temporary longitudinal skull template
161161 """
162162
@@ -189,29 +189,29 @@ def register_img_list(input_brain_list, ref_img, dof=12, interp='trilinear', cos
189189
190190 Parameters
191191 ----------
192- input_brain_list: list of str
192+ input_brain_list : list of str
193193 list of brain image paths
194- ref_img: str
194+ ref_img : str
195195 path to the reference image to which the images will be registered
196- dof: integer (int of long)
196+ dof : integer (int of long)
197197 number of transform degrees of freedom (FLIRT) (12 by default)
198- interp: str
198+ interp : str
199199 ('trilinear' (default) or 'nearestneighbour' or 'sinc' or 'spline')
200200 final interpolation method used in reslicing
201- cost: str
201+ cost : str
202202 ('mutualinfo' or 'corratio' (default) or 'normcorr' or 'normmi' or
203203 'leastsq' or 'labeldiff' or 'bbr')
204204 cost function
205- thread_pool: int or multiprocessing.dummy.Pool
205+ thread_pool : int or multiprocessing.dummy.Pool
206206 (default 2) number of threads. You can also provide a Pool so the
207207 node will be added to it to be run.
208- duplicated_basename: boolean
208+ duplicated_basename : boolean
209209 whether there exists duplicated basename which may happen in non-BIDS dataset
210- unique_id_list: list
210+ unique_id_list : list
211211 a list of unique IDs in data
212212 Returns
213213 -------
214- node_list: list of Node
214+ node_list : list of Node
215215 each Node 'node' has been run and
216216 node.inputs.out_file contains the path to the registered image
217217 node.inputs.out_matrix_file contains the path to the transformation
0 commit comments