ewoksndreg.transformation.lstsq#

Calculate active transformation between two sets of coordinates

Functions

calc_affine(from_coord, to_coord)

Coordinate array shape is (ndim, ncoord).

calc_identity(from_coord, to_coord)

Coordinate array shape is (ndim, ncoord)

calc_projective(from_coord, to_coord)

Coordinate array shape is (ndim, ncoord).

calc_rigid(from_coord, to_coord)

Coordinate array shape is (ndim, ncoord).

calc_similarity(from_coord, to_coord)

Coordinate array shape is (ndim, ncoord).

calc_translation(from_coord, to_coord)

Coordinate array shape is (ndim, ncoord)

centroid(arr[, axis])

lstsq(A, b)