scipp.spatial.translations#

scipp.spatial.translations(*, dims, unit=Unit(1), values)#

Creates translation transformations from multiple 3-vectors.

Parameters
  • dims (Sequence[str]) – The dimensions of the created variable

  • unit (Union[Unit, str], default: Unit(1)) – The unit of the translation

  • value – A list or NumPy array of 3-vectors