obspy.signal.spectral_estimation.PPSD.get_percentile

PPSD.get_percentile(percentile=50)[source]

Returns periods and approximate psd values for given percentile value.

Parameters:

percentile (int) – percentile for which to return approximate psd value. (e.g. a value of 50 is equal to the median.)

Returns:

(periods, percentile_values)