|
|
|
|
|
__getattr__(self,
name)
Get the value of an attribute or item by name. |
|
|
|
|
|
|
|
|
|
|
__setattr__(self,
name,
value)
Set attribute or item name to
value. |
|
|
|
|
|
|
|
dup(self,
name='',
**items)
Duplicate this tuple replacing one or more items. |
|
|
|
|
items(self)
Yield the items, each as a (name, value) pair
(2-tuple). |
|
|
|
|
iteritems(self)
Yield the items, each as a (name, value) pair
(2-tuple). |
|
|
|
|
iterunits(self,
**Error)
Yield the items, each as a 2-tuple (name, value) with
the value wrapped as an instance of its units class. |
|
|
|
|
reUnit(self,
*Units,
**name)
Replace some of this Named-Tuple's Units. |
|
|
|
|
toRepr(self,
prec=6,
sep=', ',
fmt='F',
**unused)
Return this Named-Tuple items as name=value
string(s). |
|
|
|
|
toStr(self,
prec=6,
sep=', ',
fmt='F',
**unused)
Return this Named-Tuple items as string(s). |
|
|
|
|
toUnits(self,
Error=<class 'pygeodesy.errors.UnitError'>,
**name)
Return a copy of this Named-Tuple with each item value
wrapped as an instance of its units class. |
|
|
|
|
units(self,
**Error)
Yield the items, each as a 2-tuple (name, value) with
the value wrapped as an instance of its units class. |
|
|
|
Inherited from tuple:
__add__,
__contains__,
__eq__,
__ge__,
__getattribute__,
__getitem__,
__getnewargs__,
__getslice__,
__gt__,
__iter__,
__le__,
__len__,
__lt__,
__mul__,
__ne__,
__rmul__,
count,
index
Inherited from _Named:
__imatmul__,
__matmul__,
__rmatmul__,
attrs,
classof,
copy,
methodname,
rename,
renamed,
toStr2
Inherited from object:
__format__,
__init__,
__reduce__,
__reduce_ex__,
__sizeof__,
__subclasshook__
|