Skip to main content

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.

Metadata

Release files for jrfapp 0.0.61

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jrfapp 0.0.61
File Size Uploaded Provenance Actions
jrfapp-0.0.61.tar.gz 84.0 kB Without provenance Details for jrfapp-0.0.61.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jrfapp 0.0.61
File Interpreter ABI Platform Actions
jrfapp-0.0.61-py3-none-any.whl Python 3 none any Details for jrfapp-0.0.61-py3-none-any.whl

Total release size: 169.4 kB

Release files / jrfapp-0.0.61.tar.gz

Download URL jrfapp-0.0.61.tar.gz
Size 84.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cc43c1999424d9feda735f9604cfe5b6cfbeb08e4db72c5126b215c157fe3199
BLAKE2b-256 checksum
How to use checksums
2bd1c02dc8400ac05d6c0415bc80162ee90b288c96d8b7c643b3f327dbd2bd13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / jrfapp-0.0.61-py3-none-any.whl

Download URL jrfapp-0.0.61-py3-none-any.whl
Size 85.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73078a8ec70d34fae2dc24d889f2cea237ca450417449edb84d33ed35ad35a39
BLAKE2b-256 checksum
How to use checksums
4bc5aca009d31f1b6bdcda2011eef60b941c20c66ba8ce2d28e9a8a1478afbe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for jrfapp 0.0.61

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page