interfaces.bru2nii

Bru2

Link to code

Wraps command Bru2

Uses bru2nii’s Bru2 to convert Bruker files

Examples

>>> from nipype.interfaces.bru2nii import Bru2
>>> converter = Bru2()
>>> converter.inputs.input_dir = "brukerdir"
>>> converter.cmdline  
'Bru2 -o .../nipype/testing/data/brukerdir brukerdir'

Inputs:

[Mandatory]
input_dir: (an existing directory name)
        Input Directory
        flag: %s, position: -1

[Optional]
actual_size: (a boolean)
        Keep actual size - otherwise x10 scale so animals match human.
        flag: -a
append_protocol_name: (a boolean)
        Append protocol name to output filename.
        flag: -p
args: (a unicode string)
        Additional parameters to the command
        flag: %s
compress: (a boolean)
        gz compress images (".nii.gz").
        flag: -z
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', nipype default value: {})
        Environment variables
force_conversion: (a boolean)
        Force conversion of localizers images (multiple slice orientations).
        flag: -f
output_filename: (a unicode string)
        Output filename (".nii" will be appended, or ".nii.gz" if the "-z"
        compress option is selected)
        flag: -o %s

Outputs:

nii_file: (an existing file name)