| Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
Module for the manipulation of alignment tensors.
    
  | 
|||
| numpy array or float | 
      
  | 
  ||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
| float | 
      
  | 
  ||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
    
  | 
|||
        __package__ = 
     | 
  |||
Imports: pi, eigvals, g1H, h_bar, kB, mu0, return_gyromagnetic_ratio
    
  | 
|||
  
 Convert the alignment tensor into the magnetic susceptibility (chi) tensor. A can be either the full tensor (3D or 5D), a component Aij of the tensor, Aa, or Ar, anything that can be multiplied by the constants to convert from one to the other. 
  | 
  
 The dAi/dAxx gradient. This function will modify the A matrix to be equal to: dAi | 1 0 0 | ---- = | 0 0 0 | dAxx | 0 0 -1 | 
  | 
  
 The dAi/dAyy gradient. This function will modify the A matrix to be equal to: dAi | 0 0 0 | ---- = | 0 1 0 | dAyy | 0 0 -1 | 
  | 
  
 The dAi/dAxy gradient. This function will modify the A matrix to be equal to: dAi | 0 1 0 | ---- = | 1 0 0 | dAxy | 0 0 0 | 
  | 
  
 The dAi/dAxz gradient. This function will modify the A matrix to be equal to: dAi | 0 0 1 | ---- = | 0 0 0 | dAxz | 1 0 0 | 
  | 
  
 The dAi/dAyz gradient. This function will modify the A matrix to be equal to: dAi | 0 0 0 | ---- = | 0 0 1 | dAyz | 0 1 0 | 
  | 
  
 Function for calculating the kappa constant. The kappa constant is: kappa = -3/(8pi^2).gI.gS.mu0.h_bar, where gI and gS are the gyromagnetic ratios of the I and S spins, mu0 is the permeability of free space, and h_bar is Planck's constant divided by 2pi. 
  | 
  
 Find the maximal alignment - the Azz component in the alignment frame. 
  | 
  
 Convert the rank-2 3D alignment tensor matrix to the 5D vector format. 
  | 
  
 Convert the 5D vector alignment tensor form to the rank-2 3D matrix from. 
  | 
| Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Mon Mar 17 15:11:25 2014 | http://epydoc.sourceforge.net |