Skip to main content

Pyfk is the python version of FK used to calculate the Green's function and the synthetic waveforms for the 1D Earth model.

Project description

https://github.com/ziyixi/pyfk/workflows/pyfk/badge.svg https://codecov.io/gh/ziyixi/pyfk/branch/master/graph/badge.svg?token=5EL7IDTYLJ https://img.shields.io/badge/docs-dev-blue.svg

About

🚨 This package is still undergoing rapid development. 🚨

Pyfk is the python version of FK used to calculate the Green’s function and the synthetic waveforms for the 1D Earth model.

Pyfk has mainly provided functions as:

  • compute the Green’s function for the explosion, single force, and double couple source using the frequency-wavenumber method.

  • compute the static displacements and corresponding Green’s function.

  • compute the synthetic waveforms by convolving the Green’s function with the seismic source.

  • have a close integration with Obspy, and is naturally to process the waveforms using this package.

and it has the features as:

  • all the code is written in pure python, and it’s compatible with Linux and Mac at the moment. The Windows is not supported, as i am using the complex number in Cython, which will use the C99 standard of “complex.h” that has not been supported by the Visual Studio compiler.

  • it uses Cython to speed up the computationally expensive part (mainly the wavenumber integration).

  • a complete test has been performed to ensure pyfk has the same result as FK.

License

Pyfk is a free software: you can redistribute it and/or modify it under the terms of the MIT License. A copy of this license is provided in LICENSE.

Project details


Download files

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

Source Distribution

pyfk-0.1.0a2.tar.gz (367.7 kB view hashes)

Uploaded Source

Supported by

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