This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / spatial / transform / _rigid_transform / RigidTransform / __reduce__

function

scipy.spatial.transform._rigid_transform:RigidTransform.__reduce__

source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/transform/_rigid_transform.py:1931

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__