datacube.utils.geometry.affine_from_pts

datacube.utils.geometry.affine_from_pts(X, Y)[source]

Given points X,Y compute A, such that: Y = A*X.

Needs at least 3 points.

Return type

Affine