obspy.core.util.obspy_types.FloatWithUncertaintiesAndUnit

class FloatWithUncertaintiesAndUnit(value, lower_uncertainty=None, upper_uncertainty=None, unit=None)[source]

Bases: obspy.core.util.obspy_types.FloatWithUncertainties

Float value that has lower and upper uncertainties and a unit associated with it.

Parameters:
  • value (float) Actual float value.
  • lower_uncertainty (float) Lower uncertainty (aka minusError)
  • upper_uncertainty (float) Upper uncertainty (aka plusError)
  • unit (str) Unit for physical interpretation of the float value.

Attributes

__dict__
__doc__ str(object=’‘) -> string
__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

Special Methods

__add__
__iadd__
__imul__
__init__
__mul__

This Page