# chaosmagpy.coordinate_utils.basevectors_mag¶

chaosmagpy.coordinate_utils.basevectors_mag(dipole=None)[source]

Computes the unit base vectors of the central-dipole coordinate system (sometimes referred to as MAG) with respect to the standard geographic coordinate system (GEO).

Parameters:
dipolendarray, shape (3,), optional

Dipole spherical harmonics $$g_1^0$$, $$g_1^1$$ and $$h_1^1$$. Defaults to basicConfig['params.dipole'].

Returns:
mag_1, mag_2, mag_3ndarray, shape (3,)

MAG unit base vectors resolved into components in GEO.