aslprep.interfaces.fsl module
Interfaces from FSL.
- class Split(**inputs)[source]
Bases:
Split
Wrapped executable:
fslsplit
.Adapted version of FSLSplit interface that enforces a list output.
In the official Nipype version of Split, out_files is an OutputMultiPath, which will return a string if the output is a single file.
- Mandatory Inputs:
dimension (‘t’ or ‘x’ or ‘y’ or ‘z’) – Dimension along which the file will be split. Maps to a command-line argument:
-%s
(position: 2).in_file (a pathlike object or string representing an existing file) – Input filename. Maps to a command-line argument:
%s
(position: 0).
- Optional Inputs:
args (a string) – Additional parameters to the command. Maps to a command-line argument:
%s
.environ (a dictionary with keys which are a bytes or None or a value of class ‘str’ and with values which are a bytes or None or a value of class ‘str’) – Environment variables. (Nipype default value:
{}
)out_base_name (a string) – Outputs prefix. Maps to a command-line argument:
%s
(position: 1).output_type (‘NIFTI’ or ‘NIFTI_PAIR’ or ‘NIFTI_GZ’ or ‘NIFTI_PAIR_GZ’) – FSL output type.
- Outputs:
out_files (a list of items which are a pathlike object or string representing an existing file)