qsirecon.interfaces.ants module

class qsirecon.interfaces.ants.ConvertTransformFile(command=None, terminal_output=None, write_cmdline=False, **inputs)[source]

Bases: CommandLine

Wrapped executable: ConvertTransformFile.

Mandatory Inputs:

in_transform (a string or os.PathLike object referring to an existing file) – Maps to a command-line argument: %s (position: 1).

Optional Inputs:
  • args (a string) – Additional parameters to the command. Maps to a command-line argument: %s.

  • dimension (3 or 2) – Maps to a command-line argument: %d (position: 0). (Nipype default value: 3)

  • 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_transform (a string or os.PathLike object) – Maps to a command-line argument: %s (position: 2).

Outputs:

out_transform (a string or os.PathLike object referring to an existing file)

class qsirecon.interfaces.ants.ImageMath(command=None, terminal_output=None, write_cmdline=False, **inputs)[source]

Bases: CommandLine

Wrapped executable: ImageMath.

Mandatory Inputs:

in_file (a pathlike object or string representing an existing file) – Maps to a command-line argument: %s (position: 3).

Optional Inputs:
  • dimension (3 or 2 or 4) – Maps to a command-line argument: %d (position: 0). (Nipype default value: 3)

  • operation (a string) – Maps to a command-line argument: %s (position: 2).

  • out_file (a pathlike object or string representing a file) – Maps to a command-line argument: %s (position: 1).

  • secondary_arg (a string) – Maps to a command-line argument: %s.

  • secondary_file (a pathlike object or string representing a file) – Maps to a command-line argument: %s.

Outputs:

out_file (a pathlike object or string representing an existing file)