class_docstr: Matrices with integer entries and determinant $\pm$ 1
docstr: Must have determinant  $\pm$ 1
docstr_tok: ["Must","have","determinant","$","\\pm","$","1"]
code: def validate(self):
      r"""
      Must have determinant  $\pm$ 1
      """
      M = self.matrix
      return np.allclose(np.fabs(np.linalg.det(M)), 1)
  
imports: import numpy
  from nipy.core.api import AffineTransform, CoordinateSystem
  from nipy.core.reference.coordinate_map import compose
  from nipy.core.reference.coordinate_map import product
label_desc: Use image node_id 2 for calling the GLZ obj's underlying member method code with example usage: obj.validate() and returns: np