Skip to main content

Deconvolution of seismic records using site spectral responses to compensate for site amplification effects. Part of the 'ipeutils' collection of utilities for processing seismic data at the Institute of Physics of the Earth, Masaryk University.

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.

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.0.tar.gz (5.4 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.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipeutils_desr-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 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.0.tar.gz
Algorithm Hash digest
SHA256 5b143be358426ff7e730bf770c7c7392402accdbc6b385f1558f94040276c2a7
MD5 7092e2790a59980d009a1ea0e15ada2e
BLAKE2b-256 5745835502addd20a122402b95c604d914f3b255d66b0c263d077a2589b2a856

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipeutils_desr-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7df92aab6a6f8475c4f0caa453d3fb396d8e255a9a8358d5a5cecb2dc7372646
MD5 930377132584579e195aca842e49cc76
BLAKE2b-256 bb3611fcbb9a055a72c246ba7d624b01231900e140d1a10e6159722846ee585f

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