bundles / scipy 1.18.0 / scipy / spatial / transform / _rigid_transform / RigidTransform / __reduce__
function
scipy.spatial.transform._rigid_transform:RigidTransform.__reduce__
Signature
def __reduce__(self) → tuple[Callable, tuple]Summary
Reduce the RigidTransform for pickling.
Extended Summary
We store modules inside RigidTransforms which cannot be pickled. To circumvent this, we pickle only the matrix and restore the cached modules from the matrix type in from_matrix.
Aliases
scipy.spatial.transform.RigidTransform.__reduce__