obspy.imaging.beachball.NodalPlane
- class NodalPlane(strike=0, dip=0, rake=0)[source]
Bases:
object
A nodal plane.
All values are in degrees.
>>> a = NodalPlane(13, 20, 50) >>> a.strike 13 >>> a.dip 20 >>> a.rake 50
Special Methods
- NodalPlane.__delattr__(name, /)
Implement delattr(self, name).
- NodalPlane.__dir__()
Default dir() implementation.
- NodalPlane.__eq__(value, /)
Return self==value.
- NodalPlane.__format__(format_spec, /)
Default object formatter.
- NodalPlane.__ge__(value, /)
Return self>=value.
- NodalPlane.__getattribute__(name, /)
Return getattr(self, name).
- NodalPlane.__gt__(value, /)
Return self>value.
- NodalPlane.__hash__()
Return hash(self).
- NodalPlane.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- NodalPlane.__le__(value, /)
Return self<=value.
- NodalPlane.__lt__(value, /)
Return self<value.
- NodalPlane.__ne__(value, /)
Return self!=value.
- NodalPlane.__new__(**kwargs)
- NodalPlane.__reduce__()
Helper for pickle.
- NodalPlane.__reduce_ex__(protocol, /)
Helper for pickle.
- NodalPlane.__repr__()
Return repr(self).
- NodalPlane.__setattr__(name, value, /)
Implement setattr(self, name, value).
- NodalPlane.__sizeof__()
Size of object in memory, in bytes.
- NodalPlane.__str__()
Return str(self).
- NodalPlane.__subclasshook__()
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).