Subsections


diffusion_tensor.copy

Image diff_tensor Image list-add

Synopsis

Copy diffusion tensor data from one data pipe to another.

Defaults

diffusion_tensor.copy(pipe_from=None, pipe_to=None)

Keyword arguments

pipe_from: The name of the data pipe to copy the diffusion tensor data from.

pipe_to: The name of the data pipe to copy the diffusion tensor data to.

Description

This will copy the diffusion tensor data between data pipes. The destination data pipe must not contain any diffusion tensor data. If the source or destination data pipes are not supplied, then both will default to the current data pipe (hence specifying at least one is essential).

Prompt examples

To copy the diffusion tensor from the data pipe `m1' to the current data pipe, type:

[numbers=none]
relax> diffusion_tensor.copy('m1')

[numbers=none]
relax> diffusion_tensor.copy(pipe_from='m1')

To copy the diffusion tensor from the current data pipe to the data pipe `m9', type:

[numbers=none]
relax> diffusion_tensor.copy(pipe_to='m9')

To copy the diffusion tensor from the data pipe `m1' to `m2', type:

[numbers=none]
relax> diffusion_tensor.copy('m1', 'm2')

[numbers=none]
relax> diffusion_tensor.copy(pipe_from='m1', pipe_to='m2')


The relax user manual (PDF), created 2020-08-26.