def gamma_to_g_expr(model):
    """convert gyromagnetic ratio to g-factor"""
    h = 6.62607004e-34
    mu_b = 9.274009994e-24
    fmt = '{factor:.9e}*{prefix:s}gamma'
    return fmt.format(factor=h / mu_b, prefix=model.prefix)
