<< CL_mod_atmUS76Density Models CL_mod_siderealTime >>

CelestLab >> Models > CL_mod_geomagField

CL_mod_geomagField

Earth's magnetic field (IGRF model)

Calling Sequence

[b, bdot] = CL_mod_geomagField(cjd, pos)

Description

Parameters

cjd:

Date (modified julian day from 1950.0) at which the magnetic field is computed. (1xN or 1x1)

pos:

Position at which the magnetic field is computed, in cartesian coordinates [m]. (3xN or 3x1)

b:

Magnetic field in cartesian coordinates [tesla]. (3xN)

bdot:

Magnetic field time derivative in cartesian coordinates [tesla/sec]. (3xN)

Authors

Examples

cjd = CL_dat_cal2cjd(2010:2013,1,1);
// position - geodetic coordinates (lon,lat,alt)
pos_ell = [0*%pi/180; 45*%pi/180; 0];
// magnetic field in topocentric North frame - nanotesla
b = CL_mod_geomagField(cjd, CL_co_ell2car(pos_ell));
b_topo = CL_fr_topoNMat(pos_ell) * b * 1.e9

Report an issue
<< CL_mod_atmUS76Density Models CL_mod_siderealTime >>