Skip to main content

Deconvolution of seismic records using site spectral responses to compensate for site amplification effects.

Project description

Site Response Restitution

This module demonstrates how to use site-specific response spectra to deconvolve seismic records. The site response spectrum characterizes the frequency-dependent amplification effect at a given location. We will use it similarly to a transfer function for deconvolution. The site spectrum is described only by its amplitude spectrum, and we do not have the phase spectrum. Here, we will assume the phase spectrum is zero, which means we can expect a similar effect to zero-phase filtering in the restitution process.

The DESR module is part of the 'ipeutils' collection of utilities for processing seismic data at the Institute of Earth Physics of Masaryk University.

Functions

  • smooth_transition(x, a, b, f_x, lwidth, rwidth): Creates a smooth transition of the function f_x from 1 outside the intervals [a-lwidth, a] and [b, b+rwidth] to the original function f_x inside the interval [a,b].
  • cDFT(tr): Computes the complex spectrum of the Discrete Fourier Transform (DFT) for a given trace.
  • deconv_site_resp(st, d_ssr, cutoff_freq=None): Deconvolves the site response from a seismic record using the provided site response spectra. Optionally applies a low-pass Butterworth filter to the restitution function.

Usage

  1. Load the site response spectra from .npz files using the load_freq_geomean(files) function, which extracts frequency and geometric mean arrays and stores them in a dictionary.
  2. Read seismic records using obspy and apply the deconv_site_resp function to deconvolve the site response from the records.

Note

  • The module assumes that the site response spectra are available for the stations and components of the seismic records. If not, the original traces will be copied to the output without modification.
  • The DEBUG_PLOT flag can be set to True to visualize the site response spectra and the effects of deconvolution for debugging purposes.

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

ipeutils_desr-0.1.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipeutils_desr-0.1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ipeutils_desr-0.1.1.tar.gz.

File metadata

  • Download URL: ipeutils_desr-0.1.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for ipeutils_desr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fd49e28e1b36bc102fb692077b12c6a0079e22a5da8e7ddfb7c1e5fd756c4d9b
MD5 6536b5704ef33b2ab7e97c75ce447ad1
BLAKE2b-256 ababa6501cc8e2e2a614284c704921de570a16affe73ac1c215690cab8b392d6

See more details on using hashes here.

File details

Details for the file ipeutils_desr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ipeutils_desr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for ipeutils_desr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6dd04eb5493c682f44ff0983968c2c4c9e0de3cdd6db66f22c749c5ed347e4c
MD5 1f1aa33bbf6db2bcf41a92f6e783d8f6
BLAKE2b-256 0820f9b49b07bd092b84127e9c8d394c282f575646c8127e5483538c0cc3b008

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