parameters: (self,tol=1e-6)
docstring: (`Internal API`) Determine whether the spheroid is isotropic (constant 
          radius) and internally store the result.
  
          Parameters
          ----------
          tol : `float, optional, default 1e-6`
              Tolerance used to judge equal axis length and axis orthogonality.
docstring_summary: (`Internal API`) Determine whether the spheroid is isotropic (constant 
          radius) and internally store the result.
docstring_tokens: ( Internal API ) Determine whether the spheroid is isotropic ( constant radius ) and internally store the result .
function: def set_isotropic(self,tol=1e-6):
          """
          (`Internal API`) Determine whether the spheroid is isotropic (constant 
          radius) and internally store the result.
  
          Parameters
          ----------
          tol : `float, optional, default 1e-6`
              Tolerance used to judge equal axis length and axis orthogonality.
          """
          isotropic = True
          ax_norm = np.linalg.norm(self.axes[0])
          for i,ax1 in enumerate(self.axes):
              axn1 = np.linalg.norm(ax1)
              for j,ax2 in enumerate(self.axes):
                  axn2 = np.linalg.norm(ax2)
                  if i==j:
                      isotropic &= np.abs(axn1-ax_norm)/ax_norm < tol
                  else:
                      isotropic &= np.abs(np.dot(ax1,ax2))/(axn1*axn2) < tol
                  #end if
              #end for
          #end for
          self.isotropic = bool(isotropic)
function_tokens: def set_isotropic ( self , tol = 1e-6 ) : isotropic = True ax_norm = np . linalg . norm ( self . axes [ 0 ] ) for i , ax1 in enumerate ( self . axes ) : axn1 = np . linalg . norm ( ax1 ) for j , ax2 in enumerate ( self . axes ) : axn2 = np . linalg . norm ( ax2 ) if i == j : isotropic &= np . abs ( axn1 - ax_norm ) / ax_norm < tol else : isotropic &= np . abs ( np . dot ( ax1 , ax2 ) ) / ( axn1 * axn2 ) < tol #end if #end for #end for self . isotropic = bool ( isotropic )