Package pygeodesy :: Module unitsBase :: Class _NamedUnit
[frames] | no frames]

Class _NamedUnit

  object --+    
           |    
named._Named --+
               |
              _NamedUnit
Known Subclasses:

(INTERNAL) Base class for units.

Instance Methods

Inherited from named._Named: __imatmul__, __matmul__, __repr__, __rmatmul__, __str__, attrs, classof, copy, dup, methodname, rename, toRepr, toStr, toStr2

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

Properties
  std_repr
Class property with retrievable name.
  units
Class property with retrievable name.

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

Inherited from object: __class__

Property Details

std_repr

Class property with retrievable name.

Get method:
std_repr(self) - Get the representation (bool, True means standard).
Set method:
std_repr(self, std) - Set the representation (True or "std" for standard).

units

Class property with retrievable name.

Get method:
units(self) - Get the units name (str).
Set method:
units(self, units) - Set the units name for this instance (str or None for default).