chaosmagpy.coordinate_utils.basevectors_gsm

chaosmagpy.coordinate_utils.basevectors_gsm(time, dipole=None)[source]

Compute the unit base vectors of the GSM coordinate system.

Parameters:
timefloat or ndarray, shape (…)

Time given as modified Julian date, i.e. with respect to the date 0h00 January 1, 2000 (mjd2000).

dipolendarray, shape (…, 3), optional

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

Returns:
gsm_1, gsm_2, gsm_3ndarray, shape (…, 3)

GSM unit base vectors resolved into the cartesian components of GEO.