Giter Site home page Giter Site logo

marscfeng / fast_matched_filter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beridel/fast_matched_filter

0.0 1.0 0.0 22.91 MB

An efficient seismic matched-filter search for both CPU and GPU architectures.

License: GNU General Public License v3.0

Makefile 3.35% Python 34.86% MATLAB 12.25% C 26.68% Cuda 22.86%

fast_matched_filter's Introduction

fast_matched_filter (FMF)

An efficient seismic matched-filter search for both CPU and GPU architectures. Documentation at https://ebeauce.github.io/FMF_documentation/.

If you use FMF in research to be published, please reference the following article: Beaucé, Eric, W. B. Frank, and Alexey Romanenko (2017). Fast matched-filter (FMF): an efficient seismic matched-filter search for both CPU and GPU architectures. Seismological Research Letters, doi: 10.1785/0220170181

FMF is available @ https://github.com/beridel/fast_matched_filter and can be downloaded with: $ git clone https://github.com/beridel/fast_matched_filter.git

Required software/hardware:

  • A C compiler that supports OpenMP (default Mac OS compiler clang does not support OpenMP; gcc can be easily downloaded via homebrew)
  • CPU version: either Python (v2.7 or 3.x) or Matlab
  • GPU version: Python (v2.7 or 3.x) and a discrete Nvidia graphics card that supports CUDA C with CUDA toolkit installed

Installation A simple make + whichever implementation does the trick.  Possible make commands are: $ make python_cpu $ make python_gpu $ make matlab

NB: Matlab compiles via mex, which needs to be setup before running. Any compiler can be chosen during the setup of mex, because it will be bypassed by the CC environment variable in the Makefile. Therefore CC must be set to an OpenMP-compatible compiler.

Installation as a Python module is possible via setup tools or even pip (which supports clean uninstalling): $ python setup.py build $ python setup.py install OR $ python setup.py build $ pip install .

Running Python: Both CPU and GPU versions are called with the matched_filter function. Matlab: The CPU version is called with the fast_matched_filter function

fast_matched_filter's People

Contributors

beridel avatar ebeauce avatar calum-chamberlain 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.