analysis.BPositiveBValueEstimator#
- class seismostats.analysis.BPositiveBValueEstimator#
Estimator to calculate the b-value and other parameters using only the earthquakes with magnitudes \(m_i \ge m_{i-1} + dmc\).
- Source:
Van der Elst 2021 (J Geophysical Research: Solid Earth, Vol 126, Issue 2)
Examples
>>> import numpy as np >>> from seismostats.analysis import BPositiveBValueEstimator >>> magnitudes = np.array([2. , 2.5, 2.1, 2.2, 2.5, 2.2, 2.6, 2.3, ... 2.7, 2.2, 2.4, 2. , 2.7, 2.2, 2.3, 2.1, ... 2.4, 2.6, 2.2, 2.2, 2.7, 2.4, 2.2, 2.5]) >>> my_estimator = BPositiveBValueEstimator() >>> my_estimator.calculate( ... magnitudes=magnitudes, mc=2.0, delta_m=0.1, dmc=0.2) >>> my_estimator.b_value 1.9188552623891313
Attributes
The b-value of the Gutenberg-Richter law.
The beta value of the Gutenberg-Richter law.
Bin size of the discretized magnitudes.
The dmc value used for the calculation.
The positive magnitude differences used for the calculation.
The completeness magnitude used to estimate the b-value.
Number of magnitudes used to estimate the b-value.
Shi and Bolt uncertainty of the b-value estimate.
Shi and Bolt uncertainty of the beta estimate.
The b-value of the Gutenberg-Richter law.
The weights used to estimate the b-value.
Methods
Calculates the b-value of the Gutenberg-Richter (GR) law.
p-value of the Lilliefors test.