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.51.tar.gz (79.9 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.51-py3-none-any.whl (82.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jrfapp-0.0.51.tar.gz
Algorithm Hash digest
SHA256 de3aca12779d3bd1b67e41fd01db9d6fb5396e9fd859864f21db140bc4b15755
MD5 f30669cf984155a09c129b884d9e9159
BLAKE2b-256 f1f2279798cef4fb75424f6ba0e6366a664e21b6eb7a232800acd1654eb0b1e9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jrfapp-0.0.51-py3-none-any.whl
Algorithm Hash digest
SHA256 ec9b03ed4aec1959d77589be4affb8765a93fd24485514cc9cfb8d488d283a0a
MD5 6309c4b119eb8912600e120b9a19594f
BLAKE2b-256 5a0e71eadb31b94c99b2bbd7418b259622995363e2bc3441da9f1b02194a51fd

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