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.53.tar.gz (82.2 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.53-py3-none-any.whl (84.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jrfapp-0.0.53.tar.gz
  • Upload date:
  • Size: 82.2 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.53.tar.gz
Algorithm Hash digest
SHA256 afe28fb8c9acbcc83f38bdc79fd4f13e600307019586fc3444ca324fd648c540
MD5 1fbc0018ca4f90f29fe13e2899d6e994
BLAKE2b-256 b1c4bb3ed721ddfb36fe28c381b37ee91c0bfe1665dd9227e9f110335d1cfb21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jrfapp-0.0.53-py3-none-any.whl
  • Upload date:
  • Size: 84.3 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.53-py3-none-any.whl
Algorithm Hash digest
SHA256 92e07f0eaade22888b46082c89162351747e8f7922c34693efc54a2738fcbaa8
MD5 7578afab6a5b74b5460fddc10e35679b
BLAKE2b-256 2643ee8ec9357ddbe4e2f7694fdd653d1d7ba1301e34ce32c099d2ad6bf8bb80

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