Skip to main content

Joint inversion of Receiver function and Apparant velocity

Project description

Jrfapp Package

Introduction:

The Jrfapp stands for joint inversion of the Receiver Function and apparent velocity data. This is a python package to perform joint inversion of these datasets and outputs an estimated shear velocity model. For more info see "manuscript title".

Installation:

To run this code, you will need the following software and tools:

  • Computer Program in Seismology
  • Python 3.8
  • matplotlib
  • numpy
  • obspy
  • rf
  1. You can install Computer Program in Seismology (CPS) from here.

You need to path the binary of CPS in your .bashrc. Before proceeding to the next step make sure that this program is installed correctly. This package depends on the hrftn96. If you installed CPS correctly and included it in your .bashrc the output of hrftn96 in the terminal should look like this: `

Model not specified USAGE: hrftn96 [-P] [-S] [-2] [-r] [-z] -RAYP p -ALP alpha -DT dt -NSAMP nsamp -M model -P (default true ) Incident P wave -S (default false) Incident S wave -RAYP p (default 0.05 ) Ray parameter in sec/km -DT dt (default 1.0 ) Sample interval for synthetic -NSAMP nsamp (default 512 ) Number samples for synthetic -M model (default none ) Earth model name -ALP alp (default 1.0 ) Number samples for synthetic H(f) = exp( - (pi freq/alpha)**2) Filter corner ~ alpha/pi -2 (default false) Use 2x length internally -r (default false) Output radial time series -z (default false) Output vertical time series -2 (default false) use double length FFT to avoid FFT wrap around in convolution -D delay (default 5 sec) output delay sec before t=0 -? Display this usage message -h Display this usage message SAC header values set by hrftn96 B : delay USERO : gwidth KUSER0: Rftn USER4 : rayp (sec/km) USER5 : fit in % (set at 100) KEVNM : Rftn KUSER1: hrftn96 The program creates the file names hrftn96.sac This is the receiver fucntion, Z or R trace according to the command line flag `

  1. All the python package requires for Jrfapp and this package can be installed by pip install jrfapp.
Tip: I highly recommend creating a conda environment and installing the package in this environment.

Examples:

I have included four tutorials on the GitHub page that explain the main usage of the package.

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

jrfapp-0.0.58.tar.gz (84.0 kB view details)

Uploaded Source

Built Distribution

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

jrfapp-0.0.58-py3-none-any.whl (85.4 kB view details)

Uploaded Python 3

File details

Details for the file jrfapp-0.0.58.tar.gz.

File metadata

  • Download URL: jrfapp-0.0.58.tar.gz
  • Upload date:
  • Size: 84.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for jrfapp-0.0.58.tar.gz
Algorithm Hash digest
SHA256 bcad0d3fe6665551f75bc2352c95e992531feca25e38a3d7adbb79f6f3b89082
MD5 590d63b16884e49889a5868a320c078a
BLAKE2b-256 53327feb32020781db3eeac97d359c759029bea856a8135562702ceceff123b4

See more details on using hashes here.

File details

Details for the file jrfapp-0.0.58-py3-none-any.whl.

File metadata

  • Download URL: jrfapp-0.0.58-py3-none-any.whl
  • Upload date:
  • Size: 85.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for jrfapp-0.0.58-py3-none-any.whl
Algorithm Hash digest
SHA256 a3a4b6c5bd12ab476de88343277f861a24edc204a0b82a3aa26d2fb54c7474d4
MD5 2e2fc7c69784a63a0a2d7ae6db9ee66e
BLAKE2b-256 ea2f11d131f1a3b1838b1c4627cff30ee567733e959146782d08ed5c2ef2df01

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