Giter VIP home page Giter VIP logo

seisaug's Introduction

SeisAug: A Comprehensive Data Augmentation Python Toolkit for Deep Learning

The SeisAug toolkit addresses a significant challenge in seismological studies: the limited availability of region- and depth-specific labeled data. This scarcity poses a preliminary drawback when applying deep learning and machine learning techniques. To enhance model performance, we propose data augmentation as a simple yet effective solution.

Getting Started

Clone the Repository Locally

To clone the repository to your local machine, use the following command:

git clone https://github.com/ISR-AIML/SeisAug.git

Running in Google Colab

  1. Open a new notebook in Google Colab.
  2. Execute each step individually in separate cells using the following commands:
!git clone https://github.com/ISR-AIML/SeisAug
%cd SeisAug
!pip install -r requirements.txt  # After restarting the session
%cd SeisAug
%run SeisAug.ipynb

Installation Via pip

pip install -r requirements.txt

Installation Via Conda

Choose one of the following options:

  1. Create a Conda environment from the provided environment.yml file:
conda env create -f environment.yml
  1. Alternatively, install the dependencies directly from the requirements.txt file:
conda install --file requirements.txt

Example mseed files provided in the Repo are from SCEDC

SCEDC (2013): Southern California Earthquake Data Center. Caltech. Dataset. doi:10.7909/C3WD3xH1.

White_noise Example of adding random noise at levels 20%, 40%, 60%, and 80% to the signal.

bandpass_noise Example of adding non-periodic noise in the range of 15-30 Hz. Changes in frequency content of the added noise can be observed in the corresponding signal.

mono_freq Example of adding periodic noise at 30 Hz, change in frequency content of added noise can be observed in the corresponding spectrograms.

seisaug's People

Contributors

isr-aiml avatar

Watchers

 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.