obspy.imaging.beachball.PrincipalAxis

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

Bases: future.types.newobject.newobject

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__ unicode(string [, encoding[, errors]]) -> object
__module__ str(object) -> string
__weakref__ list of weak references to the object (if defined)

Public Methods

next

Special Methods

__init__
__long__
__native__ Hook for the future.utils.native() function
__nonzero__
__unicode__