datacube.utils.geometry.apply_affine

datacube.utils.geometry.apply_affine(A, x, y)[source]

broadcast A*(x_i, y_i) across all elements of x/y arrays in any shape (usually 2d image)

Return type

Tuple[ndarray, ndarray]