obspy.imaging.beachball.PrincipalAxis

class PrincipalAxis(val=0, strike=0, dip=0)[source]

Bases: builtins.object

A principal axis.

Strike and dip values are in degrees.

>>> a = PrincipalAxis(1.3, 20, 50)
>>> a.dip
50
>>> a.strike
20
>>> a.val
1.3

Attributes

__dict__
__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Special Methods

__dir__ default dir() implementation
__format__ default object formatter
__init__
__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().