Git Product home page Git Product logo

etas's Introduction

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; The Effect of Declustering on the Size Distribution of Mainshocks.
Seismological Research Letters 2021; doi: https://doi.org/10.1785/0220200231

To cite the code, please cite the article.
For more documentation on the code, see the (electronic supplement of the) article.
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.
  • 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

Parts of the code, especially regarding regional polygons, only work with specific versions of the packages.
Here is my pip freeze:

  • Fiona==1.8.13.post1
  • geopandas==0.6.1
  • numpy==1.19.1
  • pandas==1.1.1
  • pymap3d==2.4.3
  • pynverse==0.1.4.4
  • pyproj==1.9.6
  • scikit-learn==0.23.2
  • scipy==1.5.2
  • Shapely==1.7.1

etas's People

Contributors

lmizrahi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.