def METHOD_NAME(magFieldModule, name):
    """
    Sets the centered dipole magnetic field model parameters for a particular planet
    :param magFieldModule: magnetic field environment module
    :param name: planet name string
    """
    if name == "earth":
        # The following parameters are from the 2020 IGRF model
        # (https://www.ngdc.noaa.gov/IAGA/vmod/igrf.html)
        magFieldModule.g10 = -30926.00/1e9     # Tesla
        magFieldModule.g11 =  -2318.00/1e9     # Tesla
        magFieldModule.h11 =   5817.00/1e9     # Tesla
        magFieldModule.planetRadius = 6371.2*1000   # meters
    elif name == "mercury":
        # The following parameters are from NASA planetary fact sheet
        # (https://nssdc.gsfc.nasa.gov/planetary/planetfact.html)
        magFieldModule.planetRadius = 2440.0*1000   # meters
        convertToIgrfDipoleCoefficients(0.002/10000,        # [T]   dipole strength
                                        0.0*macros.D2R,     # [rad] Dipole tilt to rotational axis
                                        0.0*macros.D2R,     # [rad] Longitude of tilt
                                        magFieldModule)
    elif name == "jupiter":
        # The following parameters are from NASA planetary fact sheet
        # (https://nssdc.gsfc.nasa.gov/planetary/planetfact.html)
        magFieldModule.planetRadius = 71398.0*1000   # meters
        convertToIgrfDipoleCoefficients(4.30/10000,         # [T]   dipole strength
                                        9.4*macros.D2R,     # [rad] Dipole tilt to rotational axis
                                        200.1*macros.D2R,   # [rad] Longitude of tilt
                                        magFieldModule)
    elif name == "saturn":
        # The following parameters are from NASA planetary fact sheet
        # (https://nssdc.gsfc.nasa.gov/planetary/planetfact.html)
        magFieldModule.planetRadius = 60330.0*1000   # meters
        convertToIgrfDipoleCoefficients(0.215/10000,        # [T]   dipole strength
                                        0.0*macros.D2R,     # [rad] Dipole tilt to rotational axis
                                        0.0*macros.D2R,     # [rad] Longitude of tilt
                                        magFieldModule)
    elif name == "uranus":
        # The following parameters are from NASA planetary fact sheet
        # (https://nssdc.gsfc.nasa.gov/planetary/planetfact.html)
        magFieldModule.planetRadius = 25600.0*1000   # meters
        convertToIgrfDipoleCoefficients(0.228/10000,        # [T]   dipole strength
                                        58.6*macros.D2R,    # [rad] Dipole tilt to rotational axis
                                        53.6*macros.D2R,    # [rad] Longitude of tilt
                                        magFieldModule)
    elif name == "neptune":
        # The following parameters are from NASA planetary fact sheet
        # (https://nssdc.gsfc.nasa.gov/planetary/planetfact.html)
        magFieldModule.planetRadius = 24765.0*1000   # meters
        convertToIgrfDipoleCoefficients(0.142/10000,        # [T]   dipole strength
                                        46.9*macros.D2R,    # [rad] Dipole tilt to rotational axis
                                        288.*macros.D2R,    # [rad] Longitude of tilt
                                        magFieldModule)
    else:
        print("ERROR: " + name + " not setup for centered dipole magnetic field model. Options include mercury, earth, jupiter, saturn, uranus and neptune. \n")
    return