scipp.spatial.translations#

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

Creates translation transformations from multiple 3-vectors.

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

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

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