https://github.com/ebeauce/beampower
Package for beamforming/backprojection of seismic data on CPUs or GPUs.
https://github.com/ebeauce/beampower
Last synced: 3 months ago
JSON representation
Package for beamforming/backprojection of seismic data on CPUs or GPUs.
- Host: GitHub
- URL: https://github.com/ebeauce/beampower
- Owner: ebeauce
- License: gpl-3.0
- Created: 2022-02-16T14:36:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T20:52:46.000Z (12 months ago)
- Last Synced: 2024-04-22T01:21:23.450Z (12 months ago)
- Language: Cuda
- Size: 17.1 MB
- Stars: 17
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-seismology - beampower - Beamforming (or backprojection) of seismic signal for event detection and location.  (Array seismology)
README
# Welcome to the __beampower__ repository!
![]()
[](https://github.com/psf/black)


### About the package
`beampower` is a package for beamforming (or backprojection) of seismic signal for event detection and location. The Python wrapper
can call the C (CPU) or CUDA-C (GPU) implementation. See the documentation at [https://ebeauce.github.io/beampower/](https://ebeauce.github.io/beampower/).### How to cite this package
There is no publication (yet) for this repository, but if you use it, please acknowledge it in your manuscript's _Data and Resources_ or _Acknowledgements_ section.
## Installation
### Option 1: manual build
Download the repository on your computer at any location with the following command or with another GitHub repository manager
git clone https://github.com/ebeauce/beampower.git
Then, from the root of the repository, run the following commands:
python setup.py build_ext
pip install .### Option 2: via `pip`
From anywhere, run:
pip install git+https://github.com/ebeauce/beampower
## Documentation and tutorials
See the [documentation](https://ebeauce.github.io/beampower/) on how to use `beampower` to detect and locate earthquakes. The package also comes with several tutorial notebooks (included also in the doc):
- [Download data](notebooks/0_download.ipynb)
- [Pre-process data](notebooks/1_preprocess.ipynb)
- [Calculate travel times](notebooks/2_travel_times.ipynb)
- [Locate events](notebooks/3_localization.ipynb)These notebooks require to install the following packages to be ran properly:
- `obspy>=1.3.0`
- `matplotlib`
- `tqdm`
- `pykonal`