harmonica.ellipsoid_magnetic#
- harmonica.ellipsoid_magnetic(coordinates, ellipsoids, external_field)[source]#
Forward model magnetic fields of ellipsoids.
Compute the magnetic field components for an ellipsoidal body at specified observation points.
Important
The magnetic field components are returned in nT.
- Parameters:
- coordinates
listofarray List of arrays containing the
easting,northingandupwardcoordinates of the computation points defined on a Cartesian coordinate system. All coordinates should be in meters.- ellipsoid
ellipsoidorlistofellipsoids Ellipsoidal body represented by an instance of
harmonica.TriaxialEllipsoid,harmonica.ProlateEllipsoid, orharmonica.OblateEllipsoid, or a list of them.- external_field
tuple The uniform magnetic field (B) as and array with values of (magnitude, inclination, declination). The magnitude should be in nT, and the angles in degrees.
- coordinates
- Returns:
- be, bn, bu
array Easting, northing and upward magnetic field components in nT.
- be, bn, bu
References