def METHOD_NAME(nominalField, tilt, longitudeOfTilt, magFieldModule):
    """
    Converts the NASA Magnetosphere parameters from https://nssdc.gsfc.nasa.gov/planetary/planetfact.html
    to IGRF compatible dipole coefficients.
    :param nominalField: nominal magnetic field parameter given in Tesla
    :param tilt: Dipole tilt to rotational axis in radians
    :param longitudeOfTilt: Longitude of tilt in radians
    :param magFieldModule: magnetic field environment module
    """
    # the following conversion is taken from Appendix D of doi:10.1007/978-1-4939-0802-8
    theta_m = np.pi - tilt
    alpha_m = np.pi - longitudeOfTilt
    magFieldModule.g11 = nominalField*np.sin(theta_m)*np.cos(alpha_m)
    magFieldModule.h11 = nominalField*np.sin(theta_m)*np.sin(alpha_m)
    magFieldModule.g10 = nominalField*np.cos(theta_m)
    return