nvector.objects.FrameE¶
-
class
nvector.objects.
FrameE
(a=None, f=None, name='WGS84', axes='e')[source][source]¶ Earth-fixed frame
Parameters: a: real scalar, default WGS-84 ellipsoid.
Semi-major axis of the Earth ellipsoid given in [m].
f: real scalar, default WGS-84 ellipsoid.
Flattening [no unit] of the Earth ellipsoid. If f==0 then spherical Earth with radius a is used in stead of WGS-84.
name: string
defining the default ellipsoid.
axes: ‘e’ or ‘E’
defines axes orientation of E frame. Default is axes=’e’ which means that the orientation of the axis is such that: z-axis -> North Pole, x-axis -> Latitude=Longitude=0.
Notes
The frame is Earth-fixed (rotates and moves with the Earth) where the origin coincides with Earth’s centre (geometrical centre of ellipsoid model).
Methods
ECEFvector
(*args, **kwds)Geographical position given as Cartesian position vector in frame E GeoPoint
(*args, **kwds)Geographical position given as latitude, longitude, depth in frame E Nvector
(*args, **kwds)Geographical position given as n-vector and depth in frame E __init__
([a, f, name, axes])direct
(lat_a, lon_a, azimuth, distance[, z, ...])Return position B computed from position A, distance and azimuth. inverse
(lat_a, lon_a, lat_b, lon_b[, z, ...])Return ellipsoidal distance between positions as well as the direction.