nvector.objects.Nvector¶
-
class
nvector.objects.
Nvector
(normal, z=0, frame=None)[source][source]¶ Geographical position given as n-vector and depth in frame E
Parameters: normal: 3 x n array
n-vector(s) [no unit] decomposed in E.
z: real scalar or vector of length n.
Depth(s) [m] relative to the ellipsoid (depth = -height)
frame: FrameE object
reference ellipsoid. The default ellipsoid model used is WGS84, but other ellipsoids/spheres might be specified.
See also
Notes
The position of B (typically body) relative to E (typically Earth) is given into this function as n-vector, n_EB_E and a depth, z relative to the ellipsiod.
Methods
__init__
(normal[, z, frame])mean_horizontal_position
()Return horizontal mean position of the n-vectors. to_ecef_vector
()Converts n-vector to Cartesian position vector (“ECEF-vector”) to_geo_point
()Converts n-vector to geo-point. to_nvector
()unit
()