Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Latest commit

 

History

History
62 lines (32 loc) · 2.02 KB

README.md

File metadata and controls

62 lines (32 loc) · 2.02 KB

ricky

Python package Build docs PyPI version PyPI versions PyPI license

Popular, and unpopular, wavelets for seismic geophysics. All the wavelets!

Installation

You can install this package with pip:

pip install ricky

Ricky depends on xarray.

Documentation

Read the documentation

Example

You can produce a Ricker wavelet with:

import ricky
w = ricky.ricker(duration=0.256, dt=0.002, f=25)
w.plot()

Testing

You can run the tests (requires pytest and pytest-cov) with

python run_tests.py

Building

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.

Continuous integration

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