obspy.core.util.obspy_types

Various types used in ObsPy.

copyright:

The ObsPy Development Team (devs@obspy.org)

license:

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Classes

ComplexWithUncertainties

Complex class which can store uncertainties.

CustomComplex

Helper class to inherit from and which stores a complex number that is extendable.

CustomFloat

Helper class to inherit from and which stores a float number that is extendable.

Enum

Enumerated type (enum) implementation for Python.

FloatWithUncertainties

Helper class to inherit from and which stores a float with a given valid range, upper/lower uncertainties and eventual additional attributes.

FloatWithUncertaintiesAndUnit

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

FloatWithUncertaintiesFixedUnit

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

Exceptions

ObsPyException

ObsPyReadingError

ZeroSamplingRate