Subsections


align_tensor.copy

Image align_tensor Image list-add

Synopsis

Copy alignment tensor data.

Defaults

align_tensor.copy(tensor_from=None, pipe_from=None, tensor_to=None, pipe_to=None)

Keyword arguments

tensor_from: The identification string of the alignment tensor to copy the data from.

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

tensor_to: The identification string of the alignment tensor to copy the data to.

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

Description

This will copy the alignment tensor data to a new tensor or a new data pipe. The destination data pipe must not contain any alignment tensor data corresponding to the tensor_to label. If the source or destination data pipes are not supplied, then both will default to the current data pipe. Both the source and destination tensor IDs must be supplied.

Prompt examples

To copy the alignment tensor data corresponding to `Pf1' from the data pipe `old' to the current data pipe, type one of:

[numbers=none]
relax> align_tensor.copy('Pf1', 'old')

[numbers=none]
relax> align_tensor.copy(tensor_from='Pf1', pipe_from='old')

To copy the alignment tensor data corresponding to `Otting' from the current data pipe to the data pipe new, type one of:

[numbers=none]
relax> align_tensor.copy('Otting', pipe_to='new')

[numbers=none]
relax> align_tensor.copy(tensor_from='Otting', pipe_to='new')

To copy the alignment tensor data of `Otting' to that of `Otting new', type one of:

[numbers=none]
relax> align_tensor.copy('Otting', tensor_to='Otting new')

[numbers=none]
relax> align_tensor.copy(tensor_from='Pf1', tensor_to='Otting new')


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