nvector.objects.Nvector

class 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.

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.

__init__(self, normal, z=0, frame=None)[source][source]

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

__init__(self, normal[, z, frame]) x.__init__(…) initializes x; see help(type(x)) for signature
delta_to(self, other) Return cartesian delta vector from positions A to B decomposed in N.
mean(self) Return mean position of the n-vectors.
mean_horizontal_position(\*args, \*\*kwds) mean_horizontal_position is deprecated!
to_ecef_vector(self) Converts n-vector to Cartesian position vector (“ECEF-vector”)
to_geo_point(self) Converts n-vector to geo-point.
to_nvector(self)
unit(self) Normalizes self to unit vector(s)