obspy.station.util.Distance

class Distance(value, lower_uncertainty=None, upper_uncertainty=None, unit='METERS')[source]

Bases: obspy.core.util.obspy_types.FloatWithUncertaintiesAndUnit

Distance object

Parameters:
  • value (float) Distance value
  • lower_uncertainty (float) Lower uncertainty (aka minusError)
  • upper_uncertainty (float) Upper uncertainty (aka plusError)
  • unit (str) Unit for distance measure.

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