chaosmagpy.coordinate_utils.basevectors_mag

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

Compute the unit base vectors of the centered dipole coordinate system (sometimes referred to as MAG).

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 the cartesian components of GEO.