analysis.BMorePositiveBValueEstimator#
- class seismostats.analysis.BMorePositiveBValueEstimator#
Estimator to calculate the b-value and other parameters of the Gutenberg-Richter (GR) law using earthquake pairs for which the latter is the first one that is larger than the former by some margin, \(m_j \ge m_{i} + dmc\).
- Source:
E. Lippiello and G. Petrillo. Journal of Geophysical Research: Solid Earth, 129(2):e2023JB027849, 2024.
Examples
>>> import numpy as np >>> from seismostats.analysis import BMorePositiveBValueEstimator >>> 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 = BMorePositiveBValueEstimator() >>> my_estimator.calculate( ... magnitudes=magnitudes, mc=2.0, delta_m=0.1, dmc=0.2) >>> my_estimator.b_value 2.253092817258629
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.
Bootstrap uncertainty of the b-value estimate.
Bootstrap 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.