jacobian

spizzle.jacobian(corners)

Area of each input pixel’s quadrilateral on the output grid.

Half the cross product of the diagonals, as in drizzle. It is positive when the corners go clockwise on the output grid and negative when they go counterclockwise (a flip), and so are the overlap areas, so the sign cancels in the operator.

Parameters:
cornersndarray, shape (ny, nx, 4, 2)

From corners.

Returns:
ndarray, shape (ny, nx)