analysis.UtsuBValueEstimator#

class seismostats.analysis.UtsuBValueEstimator#

Estimator to calculate the b-value and other parameters of the Gutenberg-Richter (GR) law using the Utsu method.

Source:

Utsu 1965 (Geophysical bulletin of the Hokkaido University, vol 13, pp 99-103).

Examples

>>> import numpy as np
>>> from seismostats.analysis import UtsuBValueEstimator

>>> 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 = UtsuBValueEstimator()
>>> my_estimator.calculate(
...     magnitudes=magnitudes, mc=2.0, delta_m=0.1)

>>> my_estimator.b_value

1.1088369750721319

Attributes

b_value

The b-value of the Gutenberg-Richter law.

beta

The beta value of the Gutenberg-Richter law.

delta_m

Bin size of the discretized magnitudes.

magnitudes

The magnitudes used to estimate the b-value.

mc

The completeness magnitude used to estimate the b-value.

n

Number of magnitudes used to estimate the b-value.

std

Shi and Bolt uncertainty of the b-value estimate.

std_beta

Shi and Bolt uncertainty of the beta estimate.

value

The b-value of the Gutenberg-Richter law.

weights

The weights used to estimate the b-value.

Methods

calculate

Calculates the b-value of the Gutenberg-Richter (GR) law.

p_lilliefors

p-value of the Lilliefors test.