docstr: Normalized macroscopic anisotropy.
  
  Returns
  -------
  c_m : numpy.ndarray
  
  Notes
  -----
  Normalized macroscopic anisotropy is calculated as
  
      .. math::
  
          C_      ext{M} = rac{3}{2} rac{\langle \mathbf{D} 
  angle
          \otimes \langle \mathbf{D} 
  angle : \mathbb{E}_     ext{shear}}
          {\langle \mathbf{D} 
  angle \otimes \langle \mathbf{D} 
  angle :
          \mathbb{E}_     ext{iso}}
docstr_tok: ["Normalized","macroscopic","anisotropy",".","Returns","--","--","--","-","c_m",":","numpy.ndarray","Notes","--","--","-","Normalized","macroscopic","anisotropy","is","calculated","as","..","math",":",":","C_","ext","{","M","}","=","rac","{","3","}","{","2","}","rac","{","\\langle","\\mathbf","{","D","}","angle","\\otimes","\\langle","\\mathbf","{","D","}","angle",":","\\mathbb","{","E","}","_","ext","{","shear","}","}","{","\\langle","\\mathbf","{","D","}","angle","\\otimes","\\langle","\\mathbf","{","D","}","angle",":","\\mathbb","{","E","}","_","ext","{","iso","}","}"]
code: def c_m(self):
      """Normalized macroscopic anisotropy.
  
      Returns
      -------
      c_m : numpy.ndarray
  
      Notes
      -----
      Normalized macroscopic anisotropy is calculated as
  
          .. math::
  
              C_\text{M} = \frac{3}{2} \frac{\langle \mathbf{D} \rangle
              \otimes \langle \mathbf{D} \rangle : \mathbb{E}_\text{shear}}
              {\langle \mathbf{D} \rangle \otimes \langle \mathbf{D} \rangle :
              \mathbb{E}_\text{iso}}
      """
      c_m = (
          1.5
          * np.matmul(
              np.swapaxes(from_6x6_to_21x1(self.d_sq), -1, -2),
              from_6x6_to_21x1(E_shear),
          )
          / np.matmul(
              np.swapaxes(from_6x6_to_21x1(self.d_sq), -1, -2),
              from_6x6_to_21x1(E_iso),
          )
      )[..., 0, 0]
      return c_m
  
imports: from warnings import warn
  import numpy
  from dipy.reconst.base import ReconstModel
  from dipy.reconst.dti import auto_attr
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 13 for calling the QtiFit obj's underlying member method code with example usage: obj.c_m() and returns: c_m