obspy.core.inventory.util.Latitude¶
- class Latitude(value, lower_uncertainty=None, upper_uncertainty=None, datum=None)[source]¶
Bases: obspy.core.util.obspy_types.FloatWithUncertaintiesFixedUnit
Latitude object
Parameters: Attributes
__dict__ __doc__ unicode(object=’‘) -> unicode object __module__ str(object=’‘) -> string __weakref__ list of weak references to the object (if defined) imag the imaginary part of a complex number real the real part of a complex number unit Public Methods
as_integer_ratio Returns a pair of integers, whose ratio is exactly equal to the original float and with a positive denominator. conjugate Returns self, the complex conjugate of any float. fromhex Create a floating-point number from a hexadecimal string. hex Return a hexadecimal representation of a floating-point number. is_integer Returns True if the float is an integer. Special Methods
__format__ Formats the float according to format_spec. __getformat__ You probably don’t want to use this function. __getnewargs__ __iadd__ __imul__ __init__ __new__ __reduce__ helper for pickle __reduce_ex__ helper for pickle __setformat__ You probably don’t want to use this function. __sizeof__ size of object in memory, in bytes __subclasshook__ Abstract classes can override this to customize issubclass(). __trunc__ Returns the Integral closest to x between 0 and x.