macapype.nodes.register.NMTSubjectAlign2

class macapype.nodes.register.NMTSubjectAlign2(command=None, terminal_output=None, **inputs)[source]

Description: Align NMT subject to template (NMT 1.3)

Inputs:

Mandatory:

T1_file:

File, ‘Target file’

NMT_SS_file:

File, ‘Align to T1’

Outputs:

aff_file:

File, “subject image linearly transformed to the NMT template”

warp_file:

File, “shft_WARP”

warpinv_file:

File, “shft_WARPINV”

transfo_file:

File, “Combined Linear transform from subject to NMT”

inv_transfo_file:

File, “Inverse Linear Transform from NMT to subject”

Attributes
always_run

Should the interface be always run even if the inputs were not changed? Only applies to interfaces being run within a workflow context.

can_resume

Defines if the interface can reuse partial results after interruption.

cmd

sets base command, immutable

cmdline

command plus any arguments (args)

terminal_output
version

interfaces should implement a version property

Methods

aggregate_outputs([runtime, needed_outputs])

Collate expected outputs and apply output traits validation.

help([returnhelp])

Prints class help

input_spec

alias of macapype.nodes.register.NMTSubjectAlign2InputSpec

load_inputs_from_json(json_file[, overwrite])

A convenient way to load pre-set inputs from a JSON file.

output_spec

alias of macapype.nodes.register.NMTSubjectAlign2OutputSpec

run([cwd, ignore_exception])

Execute this interface.

save_inputs_to_json(json_file)

A convenient way to save current inputs to a JSON file.

set_default_terminal_output(output_type)

Set the default terminal output for CommandLine Interfaces.

raise_exception

version_from_command

__init__(command=None, terminal_output=None, **inputs)

Subclasses must implement __init__

Methods

__init__([command, terminal_output])

Subclasses must implement __init__

aggregate_outputs([runtime, needed_outputs])

Collate expected outputs and apply output traits validation.

help([returnhelp])

Prints class help

load_inputs_from_json(json_file[, overwrite])

A convenient way to load pre-set inputs from a JSON file.

raise_exception(runtime)

run([cwd, ignore_exception])

Execute this interface.

save_inputs_to_json(json_file)

A convenient way to save current inputs to a JSON file.

set_default_terminal_output(output_type)

Set the default terminal output for CommandLine Interfaces.

version_from_command([flag, cmd])

Attributes

always_run

Should the interface be always run even if the inputs were not changed? Only applies to interfaces being run within a workflow context.

can_resume

Defines if the interface can reuse partial results after interruption.

cmd

sets base command, immutable

cmdline

command plus any arguments (args) validates arguments and generates command line

package_directory

references_

resource_monitor

terminal_output

version

interfaces should implement a version property