obspy.signal.polarization.polarization_analysis

polarization_analysis(stream, win_len, win_frac, frqlow, frqhigh, stime, etime, verbose=False, method='pm', var_noise=0.0)[source]

Method carrying out polarization analysis with the [Flinn1965b], [Jurkevics1988], ParticleMotion, or [Vidale1986] algorithm.

Parameters:
Return type:

dict

Returns:

Dictionary with keys "timestamp" (POSIX timestamp, can be used to initialize UTCDateTime objects), "azimuth", "incidence" (incidence angle) and additional keys depending on used method: "azimuth_error" and "incidence_error" (for method "pm"), "rectilinearity" and "planarity" (for methods "flinn" and "vidale") and "ellipticity" (for method "flinn"). Under each key a ndarray is stored, giving the respective values corresponding to the "timestamp" ndarray.