scipp.spatial.inv#

scipp.spatial.inv(var)#

Return the inverse of a spatial transformation.

Parameters:

var (Variable) –

Input variable. Its dtype must be one of

  • scipp.DType.linear_transform3

  • scipp.DType.affine_transform3

  • scipp.DType.rotation3

  • scipp.DType.translation3

Returns:

Variable – A variable holding the inverse transformation to var.