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.6.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.6-py3-none-any.whl (85.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jrfapp-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 2b71186131a672918ac4ba7efef836a6d4ff4526667fd89433d4a92ab136dbd1
MD5 dc2d727361af2922a85128e50e51d023
BLAKE2b-256 bff97375751ed7eae94fa5d83259244417b0ad4fdfaa749fb0bd50a0c44dd025

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jrfapp-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 99ce6b5e9f3d0067ec8a884818a82274aa9511e9686b6d97a6455a8a927563cc
MD5 56d216b6cd9f30640c766f7b6ce61119
BLAKE2b-256 fd107db2bc90be8ed2400b7e900b28e273b82a1839110fe301c883b85024fd23

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