openlifu.geo.ArrayTransform

class openlifu.geo.ArrayTransform(matrix: Annotated[ndarray, OpenLIFUFieldData(name='Affine matrix', description='4x4 affine transform matrix')], units: Annotated[str, OpenLIFUFieldData(name='Units', description="The units of the space on which to apply the transform matrix , e.g. 'mm' (In order to apply the transform to points, first represent the points in these units.)")])[source]

Bases: DictMixin

An affine transform with a unit string, often intended to represent how a transducer array is positioned in space.

matrix: Annotated[ndarray, OpenLIFUFieldData(name='Affine matrix', description='4x4 affine transform matrix')]

4x4 affine transform matrix

units: Annotated[str, OpenLIFUFieldData(name='Units', description="The units of the space on which to apply the transform matrix , e.g. 'mm' (In order to apply the transform to points, first represent the points in these units.)")]

The units of the space on which to apply the transform matrix , e.g. “mm” (In order to apply the transform to points, first represent the points in these units.)