Skip to main content

A Python package for seismic data processing

Project description

License GitHub code size in bytes GitHub repo size Static Badge

CRV test codecov Upload Python Package Seispy docs

Anaconda-Server Badge Conda Version Anaconda-Server Badge

PyPI PyPI - Python Version

GitHub stars

Seispy is a Python module for processing seismological data and calculating Receiver Functions. The advanced functions are available to improve the Obspy.

Acknowledgements

For the use of the Seispy package, please cite as:

  • Xu, M. & He, J. (2023). Seispy: Python Module for Batch Calculation and Postprocessing of Receiver Functions. Seismological Research Letters, 94 (2A): 935–943. Static Badge

For 3D time-difference correction, please also consider citing:

  • Xu, M., Huang, H., Huang, Z., Wang, P., Wang, L., Xu, M., ... & Yuan, X. (2018). Insight into the subducted Indian slab and origin of the Tengchong volcano in SE Tibet from receiver function analysis. Earth and Planetary Science Letters, 482, 567-579. Static Badge

  • Xu, M., Huang, Z., Wang, L., Xu, M., Mi, N., & Yu, D. (2020). Lateral variation of the mantle transition zone beneath the Tibetan plateau: Insight into thermal processes during Indian–Asian collision. Physics of the Earth and Planetary Interiors, 301, 106452. Static Badge

For 2D and 3D CCP stacking, please also consider citing:

  • Xu, M., Huang, Z., Wang, L., Xu, M., Zhang, Y., Mi, N., ... & Yuan, X. (2020). Sharp lateral Moho variations across the SE Tibetan margin and their implications for plateau growth. Journal of Geophysical Research: Solid Earth, 125(5), e2019JB018117. Static Badge

Installation

See Seispy documentation in detail.

Libraries

  • seispy.distaz: Calculate distance and azimuth credited by the lithospheric seismology program at USC, but numpy.ndarray operations are supported.
  • seispy.geo: Tiny codes of geophysics.
  • seispy.decon: Functions of deconvolution transferred from iwbailey/processRFmatlab including
    • Iterative time domain deconvolution method (Ligorría and Ammon 1999 BSSA).
    • Water level frequency domain deconvolution method (CJ. Ammon 1991 BSSA)
  • seispy.rf: Procedure for RF calculation. The functions of match_eq, search_eq invoked obspy.core.UTCDateTime and obspy.clients from the Obspy.
  • seispy.eq: RF processing for each event, which invoked obspy.io.sac, obspy.signal, obspy.taup and obspy.core.Stream from the Obspy.
  • seispy.hk: H-k stacking for single station (Zhu and Kanamori 2000 JGR).
  • seispy.rfani: A joint method for crustal anisotropic calculation (Liu and Niu 2011 GJI).
  • seispy.slantstack: Slant stacking for single station (Tauzin et al., 2008)
  • seispy.rfcorrect: Subsequent process of RFs including moveout correction and time to depth conversion (1D and 3D) (see Xu et al., 2018 EPSL)
  • seispy.ccpprofile: CCP stacking along a profile.
  • seispy.ccp3d: 3-D CCP stacking with extracting depth D410 and D660.

Commands

Receiver Functions

  • prf: Calculate PRFs for a station.
  • pickrf: Pick PRFs with virtual quality control after the calculation.
  • plotrt: Plot PRFs with R and T components order by back-azimuth.
  • plotr: Plot PRFs with R component order by back-azimuth.
  • hk: H-Kappa stacking for estimating Moho depth and crustal Vp/Vs.
  • rf2depth: Convert PRFs to depth axis.
  • ccp_profile: Stack PRFs along a profile with a CCP stacking method.
  • ccp3d: Stack PRFs with spaced bins.
  • rfani: Estimating crustal anisotropy with a joint method.
  • rfharmo: Harmonic decomposition to extract constant component of RF and plot dip/anisotropic components.
  • pickdepth: Pick depth of stacked PRFs following ccp3d

Others

  • veltxt2mod: Create 3D velocity model with numpy.lib.npyio.NpzFile format from a ASCII table file.
  • downlod_catalog: Download catalogs from FDSN web-service.
  • gen_rayp_lib: Generate a rap-parameter library with depth of source and epicentral distance.
  • setpar: Set up the values in configure files.

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

python_seispy-1.3.10.tar.gz (958.1 kB view details)

Uploaded Source

Built Distribution

python_seispy-1.3.10-py3-none-any.whl (984.6 kB view details)

Uploaded Python 3

File details

Details for the file python_seispy-1.3.10.tar.gz.

File metadata

  • Download URL: python_seispy-1.3.10.tar.gz
  • Upload date:
  • Size: 958.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for python_seispy-1.3.10.tar.gz
Algorithm Hash digest
SHA256 a5c259116b5d5a30cb53c227208f6160fd088d232776ee839c7619bbb1a64161
MD5 d90b6214612d9987a32d8e51d7f8b71f
BLAKE2b-256 5a7ee656dd819581d7b81f80fa3371e7bf671717761818fdbea4031461a4b19d

See more details on using hashes here.

File details

Details for the file python_seispy-1.3.10-py3-none-any.whl.

File metadata

  • Download URL: python_seispy-1.3.10-py3-none-any.whl
  • Upload date:
  • Size: 984.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for python_seispy-1.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 37409ca42e539b1adb8d3967b76910b60cab2e04977bf8009663c344305fdf90
MD5 a9101934d654c8f23583bbb9f38e4d26
BLAKE2b-256 d5873501f67d9ca71bf4c954746b7fa5c20682d48490ca75b99a1c44922dc641

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page