pysdic.Transformation.copy#

Transformation.copy()[source]#

Create a copy of the transformation.

The copy is always unlocked (see is_locked), even if the transformation is locked: it can be modified independently of the original.

Note

The transformations owned by a copied pysdic.ReparametrizedTransformation are locked by the new reparametrized transformation, as for any reparametrized transformation.

Returns:

A new instance of the transformation with the same parameters and constants.

Return type:

Transformation