psychopy.tools.mathtools.isAffine

psychopy.tools.mathtools.isAffine(m)[source]

Check if a 4x4 square matrix describes an affine transformation.

Parameters:

m (array_like) – 4x4 transformation matrix.

Returns:

True if the matrix is affine.

Return type:

bool


Back to top