obspy.core.util.obspy_types.ComplexWithUncertainties

class ComplexWithUncertainties(*args, **kwargs)[source]

Bases: obspy.core.util.obspy_types.CustomComplex

Complex class which can store uncertainties.

Accepts FloatWithUncertainties and returns FloatWithUncertainties from property methods.

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)

imag

the imaginary part of a complex number

lower_uncertainty

real

the real part of a complex number

upper_uncertainty

Public Methods

conjugate

Return the complex conjugate of its argument.

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_attr

_uncertainty

Special Methods

__dir__

Default dir() implementation.

__format__

Convert to a string according to format_spec.

__getnewargs__

__iadd__

__imul__

__init__

Complex type with optional keywords:

__init_subclass__

This method is called when a class is subclassed.

__new__

Create and return a new object.

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__sizeof__

Size of object in memory, in bytes.

__subclasshook__

Abstract classes can override this to customize issubclass().