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).
Raises:
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:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

azimuth

Get the Azimuth, bearing from North (degrees360).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

bearing

DEPRECATED, use azimuth.

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

down

Get the Down component (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

east

Get the East component (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

elevation

Get the Elevation, tilt above horizon (degrees90).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

groundrange

Get the ground range, distance (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

length

DEPRECATED, use slantrange.

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

ltp

Get the local tangent plane (Ltp).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

ned

DEPRECATED, use property ned4.

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

ned4

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

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

north

Get the North component (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

slantrange

Get the slant Range, distance (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

up

Get the Up component (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

x

Get the X component (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

xyz

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

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

xyz4

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

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

xyzLocal

Get this NED as an XyzLocal.

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

y

Get the Y component (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)

z

Get the Z component (meter).

Get method:
_fget(inst)
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst)