obspy.core.util.obspy_types.CustomComplex

class CustomComplex(*args)[source]

Bases: complex

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

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

Public Methods

conjugate Returns the complex conjugate of its argument.

Special Methods

__format__ Converts to a string according to format_spec.
__getnewargs__
__iadd__
__imul__
__init__
__new__
__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().