# mhz2gauss.m

Converts hyperfine couplings from MHz (linear frequency) to Gauss. The Gauss specification may be defined as "the magnetic field at which the electron frequency is equal to the frequency provided".

## Syntax

    hfc_gauss=mhz2gauss(hfc_mhz,g)


## Arguments

  hfc_mhz    - an array of values in MHz

  g          - electron g-factor; if this parameter
is skipped, free electron g-factor is
used for conversion


## Outputs

    hfc_gauss  - an array of values in Gauss


## Examples

See examples/esr_liquids and examples/esr_solids directories.

## Notes

The principal advantage of Gauss and mT units for hyperfine coupling is that they make the hyperfine tensor independent of the electron g-tensor. This is very useful in ab initio calculations of hyperfine couplings because g-tensor is a much harder quantity to compute.