All Projects → lmizrahi → etas

lmizrahi / etas

Licence: MIT License
calibrate ETAS, simulate using ETAS, estimate completeness magnitude & magnitude frequency distribution

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to etas

nllgrid
Python class for reading and writing NLLoc grid files.
Stars: ✭ 23 (-37.84%)
Mutual labels:  seismology, earthquakes
Lazylyst
Lazylyst is a GUI created for time series review, using a flexible framework for new workflows
Stars: ✭ 16 (-56.76%)
Mutual labels:  seismology, earthquakes
pf
PF: a header only template library for fast particle filtering!
Stars: ✭ 41 (+10.81%)
Mutual labels:  statistical-models
gadget2
Gadget is the Globally applicable Area Disaggregated General Ecosystem Toolbox
Stars: ✭ 13 (-64.86%)
Mutual labels:  statistical-models
axisem
AxiSEM is a parallel spectral-element method to solve 3D wave propagation in a sphere with axisymmetric or spherically symmetric visco-elastic, acoustic, anisotropic structures.
Stars: ✭ 34 (-8.11%)
Mutual labels:  seismology
mtuq
moment tensor uncertainty quantification
Stars: ✭ 40 (+8.11%)
Mutual labels:  seismology
exageostat
A High Performance Unified Framework for Geostatistics on Manycore Systems.
Stars: ✭ 20 (-45.95%)
Mutual labels:  statistical-models
MuRAT
A multi-resolution seismic attenuation tomography code - currently in its 3.0 release
Stars: ✭ 24 (-35.14%)
Mutual labels:  seismology
openeew
Introduction to OpenEEW, an open-source Earthquake Early-Warning toolkit
Stars: ✭ 137 (+270.27%)
Mutual labels:  earthquakes
obsplus
A Pandas-Centric ObsPy Expansion Pack
Stars: ✭ 28 (-24.32%)
Mutual labels:  seismology
noisi
A tool for modeling and source inversion of auto- and cross-correlations of ambient seismic "noise".
Stars: ✭ 32 (-13.51%)
Mutual labels:  seismology
geoist
An Open-Source Geophysical Python Library for Geoscience Prototype Research
Stars: ✭ 57 (+54.05%)
Mutual labels:  earthquakes
seispy
Python module of seismology and receiver functions
Stars: ✭ 50 (+35.14%)
Mutual labels:  seismology
ARCHModels.jl
A Julia package for estimating ARMA-GARCH models.
Stars: ✭ 63 (+70.27%)
Mutual labels:  statistical-models
Telewavesim
Teleseismic body wave modeling through stacks of (submarine/anisotropic) layers
Stars: ✭ 41 (+10.81%)
Mutual labels:  seismology
stream2segment
A Python project to download, process and visualize medium-to-massive amount of seismic waveforms and metadata
Stars: ✭ 18 (-51.35%)
Mutual labels:  seismology
seisman.info.posts
SeisMan博客的内容部分,引擎部分见 https://github.com/seisman/blog.seisman.info
Stars: ✭ 50 (+35.14%)
Mutual labels:  seismology
fteikpy
Accurate Eikonal solver for Python
Stars: ✭ 34 (-8.11%)
Mutual labels:  seismology
scrtdd
Double Difference Relocator for SeisComP
Stars: ✭ 17 (-54.05%)
Mutual labels:  seismology
Jupyter-Notebooks-Statistic-Walk-Throughs-Using-R
Jupyter notebooks with examples of statistical methods and analyses using R.
Stars: ✭ 21 (-43.24%)
Mutual labels:  statistical-models

ETAS: Epidemic-Type Aftershock Sequence

This code was written by Leila Mizrahi with help from Shyam Nandan for the following article:

Leila Mizrahi, Shyam Nandan, Stefan Wiemer 2021;
The Effect of Declustering on the Size Distribution of Mainshocks.
Seismological Research Letters; doi: https://doi.org/10.1785/0220200231

The option for (space-time-)varying completeness magnitude in the parameter inversion is described in:

Leila Mizrahi, Shyam Nandan, Stefan Wiemer 2021;
Embracing Data Incompleteness for Better Earthquake Forecasting. (Section 3.1)
Journal of Geophysical Research: Solid Earth; doi: https://doi.org/10.1029/2021JB022379


To cite the code, please cite the article(s).
For more documentation on the code, see the (electronic supplement of the) articles.
For Probabilistic, Epidemic-Type Aftershock Incomplenteness, see PETAI.
In case of questions or comments, contact me: [email protected].

Contents:

  • inversion.py: Expectation Maximization algorithm to estimate ETAS parameters.
  • simulation.py: Catalog simulation given ETAS parameters.
  • mc_b_est.py: Coupled estimation of beta and Mc. including example estimation.
  • invert_etas.py: run example parameter inversion.
  • invert_etas_mc_var.py: run example parameter inversion with varying magnitude of completeness.
  • simulate_catalog.py: simulate one example catalog.
  • magnitudes.npy: magnitude sample for mc/beta estimation.
  • california_shape.npy: polygon coordinates of California.
  • synthetic_catalog.csv: synthetic catalog to be inverted by invert_etas.py
  • synthetic_catalog_mc_var.csv: synthetic catalog to be inverted by invert_etas_mc_var.py

Previous dependencies on certain package versions should now be gone, but just in case, here is my pip freeze:

  • geopandas==0.9.0
  • numpy==1.19.1
  • pandas==1.1.1
  • pymap3d==2.4.3
  • pynverse==0.1.4.4
  • pyproj==3.0.1
  • scikit-learn==0.23.2
  • scipy==1.5.2
  • Shapely==1.7.1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].