Equilibrium populations of the energy levels of a user-specified spin at the user-specified temperature. Energies are reported as fractions of kT at the temperature supplied. Note that the function is sensitive to the sign of the magnetogyric ratio (negative for electrons, positive for pro- tons, etc.). Syntax:
isotope - character string specifying the isotope. e.g. '1H', '13C', 'E', etc.
field - primary magnet field in Tesla
temperature - spin temperature, Kelvin
E - vector of level energies
P - vector of level populations
dP - vector of level population differences