Giter Site home page Giter Site logo

crs3s / deepdenoiser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ai4eps/deepdenoiser

0.0 1.0 0.0 33.76 MB

DeepDenoiser: Seismic Signal Denoising and Decomposition Using Deep Neural Networks

License: GNU General Public License v3.0

Python 100.00%

deepdenoiser's Introduction

DeepDenoiser: Seismic Signal Denoising and Decomposition Using Deep Neural Networks

1. Install miniconda and requirements

  • Download DeepDenoiser repository
git clone https://github.com/wayneweiqiang/DeeoDenoiser.git
cd DeepDenoiser
  • Install to default environment
conda env update -f=env.yml -n base
  • Install to "deepdenoiser" virtual envirionment
conda env create -f env.yml
conda activate deepdenoiser

2. Pre-trained model

Located in directory: model/190614-104802

3. Related papers

  • Zhu, Weiqiang, S. Mostafa Mousavi, and Gregory C. Beroza. "Seismic Signal Denoising and Decomposition Using Deep Neural Networks." arXiv preprint arXiv:1811.02695 (2018).

4. Interactive example

See details in the notebook: example_interactive.ipynb

5. Batch prediction

See details in the notebook: example_batch_prediction.ipynb

6. Train

Data format

Required: two csv files for signal and noise, corresponding directories of the npz files.

The csv file contains four columns: "fname", "itp", "channels"

The npz file contains four variable: "data", "itp", "channels"

The shape of "data" variables has a shape of 9001 x 3

The variables "itp" is the data points of first P arrival times.

Note: In the demo data, for simplicity we use the waveform before itp as noise samples, so the train_noise_list is same as train_signal_list here.

python deepdenoiser/train.py --mode=train --train_signal_dir=./Dataset/train --train_signal_list=./Dataset/train.csv --train_noise_dir=./Dataset/train --train_noise_list=./Dataset/train.csv --batch_size=20

Please let us know of any bugs found in the code. Suggestions and collaborations are welcomed

deepdenoiser's People

Contributors

wayneweiqiang avatar

Watchers

James Cloos 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.