Skip to main content

Package for beamforming/backprojection.

Project description

Welcome to the beampower repository!





Code style: 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/.

Installation

The simplest way to use BeamPower:

pip install beampower

GPU support is included if available.

Learn More

  • Documentation: https://ebeauce.github.io/beampower/
  • Tutorials: See the notebooks in the notebooks/ folder
    • Download seismic data
    • Pre-process waveforms
    • Calculate travel times
    • Locate events

For Developers

Clone and install locally:

git clone https://github.com/ebeauce/beampower.git
cd beampower

# Build the libraries FIRST (required for local development)
make clean
make  # builds both CPU and GPU libraries

# Then install
pip install .

If you modify C or CUDA code:

# For C code changes:
make clean
make python_CPU

# For CUDA code changes:
make clean
make python_GPU

# For both:
make clean
make

# Then reinstall to pick up changes:
pip install --force-reinstall .

Reference

Please, if you use this package for your research, cite:

Beaucé, Eric and Frank, William B. and Seydoux, Léonard and Poli, Piero and Groebner, Nathan and van der Hilst, Robert D. and Campillo, Michel (2023). BPMF: A Backprojection and Matched‐Filtering Workflow for Automated Earthquake Detection and Location. Seismological Research Letters. DOI: https://doi.org/10.1785/0220230230.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beampower-1.0.3-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_35_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.35+ x86-64

File details

Details for the file beampower-1.0.3-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for beampower-1.0.3-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 d14d1fb1346fb42bf087743d67ca863e951f42884c626ced7b8ffca94b653676
MD5 385be539c34de7ed08a1f16842500609
BLAKE2b-256 dd520ee436fcc6fc2506600a97918d324a0ee29ed0f42ff84f091eeb925dc5f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page