Popular, and unpopular, wavelets for seismic geophysics. All the wavelets!
You can install this package with pip
:
pip install ricky
Ricky depends on xarray
.
Read the documentation
You can produce a Ricker wavelet with:
import ricky
w = ricky.ricker(duration=0.256, dt=0.002, f=25)
w.plot()
You can run the tests (requires pytest
and pytest-cov
) with
python run_tests.py
This repo uses PEP 518-style packaging. Read more about this and about Python packaging in general.
Building the project requires build
, so first:
pip install build
Then to build ricky
locally:
python -m build
The builds both .tar.gz
and .whl
files, either of which you can install with pip
.
This repo has two GitHub 'workflows' or 'actions':
- Push to
main
: Run all tests on all version of Python. This is the Run tests workflow. - Publish a new release: Build and upload to PyPI. This is the Publish to PyPI workflow. Publish using the GitHub interface, for example (read more