src/GamIO/XWinAcqPar.cc
/* These are functions that can mess up things so they are private.

  Function                                Explanation
  ---------- ------------------------------------------------------------------
  SetField   Sets the stored field strength Bo from the isotope _NUCLEUS. This
             does NOT influence any other acqusition parameters.  In fact, Bo
             is itself not an acqusition parameter directly and needed only for
             resetting channel nuclei { NUC, BF, SF, O }
  FieldReset This allows for resetting of the spectrometer field strength Bo.
             It will recurse through all channels and reset their base
             frequencies as well as their spectrometer frequencies, keeping
             the offset values the same.
*/
These are functions that can mess up things so they are private.
Function                                Explanation

SetField   Sets the stored field strength Bo from the isotope _NUCLEUS. This
does NOT influence any other acqusition parameters.  In fact, Bo
is itself not an acqusition parameter directly and needed only for
resetting channel nuclei { NUC, BF, SF, O }
FieldReset This allows for resetting of the spectrometer field strength Bo.
It will recurse through all channels and reset their base
frequencies as well as their spectrometer frequencies, keeping
the offset values the same.
These are functions that can mess up things so they are private . Function Explanation SetField Sets the stored field strength Bo from the isotope _NUCLEUS . This does NOT influence any other acqusition parameters . In fact Bo is itself not an acqusition parameter directly and needed only for resetting channel nuclei { NUC BF SF O } FieldReset This allows for resetting of the spectrometer field strength Bo . It will recurse through all channels and reset their base frequencies as well as their spectrometer frequencies keeping the offset values the same .
void XWinAcqPar::CheckNuclei()
  {
  if(_NUCLEUS != _NUC[0])			
    {
    if(Isotope::known(_NUCLEUS))	
      _NUC[0] = _NUCLEUS;
    else _NUCLEUS = _NUC[0];
    }
  if(_DECNUC != _NUC[1])			
    {
    if(Isotope::known(_DECNUC))	
      _NUC[1] = _DECNUC;
    else _DECNUC = _NUC[1];
    }
  if(_DECBNUC != _NUC[2])			
    {
    if(Isotope::known(_DECBNUC))	
      _NUC[2] = _DECBNUC;
    else _DECBNUC = _NUC[2];
    }
  }
void XWinAcqPar :: CheckNuclei ( ) { if ( _NUCLEUS != _NUC [ 0 ] ) { if ( Isotope :: known ( _NUCLEUS ) ) _NUC [ 0 ] = _NUCLEUS ; else _NUCLEUS = _NUC [ 0 ] ; } if ( _DECNUC != _NUC [ 1 ] ) { if ( Isotope :: known ( _DECNUC ) ) _NUC [ 1 ] = _DECNUC ; else _DECNUC = _NUC [ 1 ] ; } if ( _DECBNUC != _NUC [ 2 ] ) { if ( Isotope :: known ( _DECBNUC ) ) _NUC [ 2 ] = _DECBNUC ; else _DECBNUC = _NUC [ 2 ] ; } }
These are functions that can mess up things so they are private.
These are functions that can mess up things so they are private .
// Insure NUCLEUS = NUC1  // Insure DECNUC = NUC2  // Insure DECBNUC = NUC3 