Package pygeodesy :: Module ltpTuples :: Class Ned
[frames] | no frames]

Class Ned

  object --+        
           |        
named._Named --+    
               |    
named._NamedBase --+
                   |
                  Ned
Known Subclasses:

Local North-Eeast-Down (NED) location in a local tangent plane.


See Also: Enu and Ltp.

Instance Methods
 
__init__(self, ned, east=0.0, down=0.0, ltp=None, name='')
New Ned vector.
 
to3ned(self)
DEPRECATED, use property ned4.
 
toRepr(self, prec=None, fmt='[%s]', sep=', ', **unused)
Return a string representation of this NED.
 
toStr(self, prec=3, fmt='[%s]', sep=', ')
Return a string representation of this NED.
 
toVector3d(self)
DEPRECATED, use property xyz.
 
toXyz(self, Xyz=None, **Xyz_kwds)
Get the local X, Y, Z (XYZ) components.

Inherited from named._NamedBase: __repr__, __str__, others

Inherited from named._Named: _DOT_, attrs, classof, copy, rename, toStr2

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties
  aer4
Get the (azimuth, elevation, slantrange, ltp) components (Aer4Tuple).
  azimuth
Get the Azimuth, bearing from North (degrees360).
  bearing
DEPRECATED, use azimuth.
  down
Get the Down component (meter).
  east
Get the East component (meter).
  elevation
Get the Elevation, tilt above horizon (degrees90).
  groundrange
Get the ground range, distance (meter).
  length
DEPRECATED, use slantrange.
  ltp
Get the local tangent plane (Ltp).
  ned
DEPRECATED, use property ned4.
  ned4
Get the (north, east, down, ltp) components (Ned4Tuple).
  north
Get the North component (meter).
  slantrange
Get the slant Range, distance (meter).
  up
Get the Up component (meter).
  x
Get the X component (meter).
  xyz
Get the local (X, Y, Z) coordinates (Vector3Tuple(x, y, z)).
  xyz4
Get the (x, y, z, ltp) components (Xyz4Tuple).
  xyzLocal
Get this NED as an XyzLocal.
  y
Get the Y component (meter).
  z
Get the Z component (meter).

Inherited from named._Named: classname, classnaming, name, named, named2, named3, named4

Inherited from object: __class__

Method Details

__init__ (self, ned, east=0.0, down=0.0, ltp=None, name='')
(Constructor)

 

New Ned vector.

Arguments:
  • ned - Scalar north component (meter) or local NED (Ned, Ned4Tuple).
  • east - Scalar east component (meter) if scalar ned.
  • down - Scalar down component, normal to inside surface of the ellipsoid or sphere (meter) if scalar ned.
  • ltp - The local tangent plane, (geodetic) origin (Ltp, LocalCartesian).
  • name - Optional name (str).
Raises:
  • TypeError - Invalid ltp.
  • UnitError - Invalid north, east or down.
Overrides: object.__init__

to3ned (self)

 

DEPRECATED, use property ned4.

Decorators:
  • @deprecated_method

toRepr (self, prec=None, fmt='[%s]', sep=', ', **unused)

 

Return a string representation of this NED.

Arguments:
  • prec - Optional number of decimals, unstripped (int).
  • fmt - Optional enclosing backets format (str).
  • sep - Optional separator between items (str).
Returns:
This NED as "[N:meter, E:meter, D:meter]" (str).
Overrides: named._Named.toRepr

toStr (self, prec=3, fmt='[%s]', sep=', ')

 

Return a string representation of this NED.

Arguments:
  • prec - Optional number of decimals, unstripped (int).
  • fmt - Optional enclosing backets format (str).
  • sep - Optional separator between NEDs (str).
Returns:
This NED as "[meter, meter, meter]" (str).
Overrides: named._Named.toStr

toVector3d (self)

 

DEPRECATED, use property xyz.

Decorators:
  • @deprecated_method

toXyz (self, Xyz=None, **Xyz_kwds)

 

Get the local X, Y, Z (XYZ) components.

Arguments:
  • Xyz - Class to return XYZ (XyzLocal, Enu, Ned, Aer) or None.
  • Xyz_kwds - Optional, additional Xyz keyword arguments, ignored if Xyz=None.
Returns:
XYZ as an Xyz instance or if Xyz=None, an Xyz4Tuple(x, y, z, ltp).
Raises:
  • TypeError - Invalid Xyz.

Property Details

aer4

Get the (azimuth, elevation, slantrange, ltp) components (Aer4Tuple).

Get method:
aer4(self) - Get the (azimuth, elevation, slantrange, ltp) components (Aer4Tuple).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

azimuth

Get the Azimuth, bearing from North (degrees360).

Get method:
azimuth(self) - Get the Azimuth, bearing from North (degrees360).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

bearing

DEPRECATED, use azimuth.

Get method:
bearing(self) - DEPRECATED, use azimuth.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

down

Get the Down component (meter).

Get method:
down(self) - Get the Down component (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

east

Get the East component (meter).

Get method:
east(self) - Get the East component (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

elevation

Get the Elevation, tilt above horizon (degrees90).

Get method:
elevation(self) - Get the Elevation, tilt above horizon (degrees90).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

groundrange

Get the ground range, distance (meter).

Get method:
groundrange(self) - Get the ground range, distance (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

length

DEPRECATED, use slantrange.

Get method:
length(self) - DEPRECATED, use slantrange.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

ltp

Get the local tangent plane (Ltp).

Get method:
ltp(self) - Get the local tangent plane (Ltp).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

ned

DEPRECATED, use property ned4.

Get method:
ned(self) - DEPRECATED, use property ned4.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

ned4

Get the (north, east, down, ltp) components (Ned4Tuple).

Get method:
ned4(self) - Get the (north, east, down, ltp) components (Ned4Tuple).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

north

Get the North component (meter).

Get method:
north(self) - Get the North component (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

slantrange

Get the slant Range, distance (meter).

Get method:
slantrange(self) - Get the slant Range, distance (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

up

Get the Up component (meter).

Get method:
up(self) - Get the Up component (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

x

Get the X component (meter).

Get method:
x(self) - Get the X component (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyz

Get the local (X, Y, Z) coordinates (Vector3Tuple(x, y, z)).

Get method:
xyz(self) - Get the local (X, Y, Z) coordinates (Vector3Tuple(x, y, z)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyz4

Get the (x, y, z, ltp) components (Xyz4Tuple).

Get method:
xyz4(self) - Get the (x, y, z, ltp) components (Xyz4Tuple).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyzLocal

Get this NED as an XyzLocal.

Get method:
xyzLocal(self) - Get this NED as an XyzLocal.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

y

Get the Y component (meter).

Get method:
y(self) - Get the Y component (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

z

Get the Z component (meter).

Get method:
z(self) - Get the Z component (meter).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.