src/IntRank2/IntG.cc
/* These functions allow for conversions between field, frequency, & g factor.
   Employing the previous equation, if we have any two values we know the 3rd.

                   g*Beta*H              h*Om              h*Om
              Om = --------         H = ------        g = ------
                      h                 g*Beta            H*Beta

           Input                Om      : Spectrometer frequency (GHz)
                                H       : The resonance field (Gauss)
                                g       : The electron g factor
           Output               g       : The electron g factor
                                H       : The resonance field (Gauss)
                                Om      : The spectrometer frequency (GHz) 
           Note				: GAMMA defined constants are used
					  g*Beta = Bohr Magneton  -> BOHRMAG
					  h      = Plancks Const. -> PLANK   */
These functions allow for conversions between field, frequency, & g factor.
Employing the previous equation, if we have any two values we know the 3rd.




These functions allow for conversions between field frequency & g factor . Employing the previous equation if we have any two values we know the 3rd .
double IntG::gvalue(double Om, double H)
  {
  double PCOVERBM = PLANCK*1.e4/BOHRMAG;	
  return Om*1.e9*PCOVERBM/H;			
  }
double IntG :: gvalue ( double Om , double H ) { double PCOVERBM = PLANCK * 1.e4 / BOHRMAG ; return Om * 1.e9 * PCOVERBM / H ; }
These functions allow for conversions between field, frequency, & g factor.
These functions allow for conversions between field frequency & g factor .
// h/beta in Gauss/Hz // Return g (unitless)