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__
__module__
__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 Return the complex conjugate of its argument.

Special Methods

__dir__ Default dir() implementation.
__format__ Convert to a string according to format_spec.
__getnewargs__
__iadd__
__imul__
__init__ Initialize self.
__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().