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 functionf_xfrom 1 outside the intervals[a-lwidth, a]and[b, b+rwidth]to the original functionf_xinside 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
- Load the site response spectra from
.npzfiles using theload_freq_geomean(files)function, which extracts frequency and geometric mean arrays and stores them in a dictionary. - Read seismic records using
obspyand apply thedeconv_site_respfunction 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_PLOTflag can be set toTrueto visualize the site response spectra and the effects of deconvolution for debugging purposes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b143be358426ff7e730bf770c7c7392402accdbc6b385f1558f94040276c2a7
|
|
| MD5 |
7092e2790a59980d009a1ea0e15ada2e
|
|
| BLAKE2b-256 |
5745835502addd20a122402b95c604d914f3b255d66b0c263d077a2589b2a856
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7df92aab6a6f8475c4f0caa453d3fb396d8e255a9a8358d5a5cecb2dc7372646
|
|
| MD5 |
930377132584579e195aca842e49cc76
|
|
| BLAKE2b-256 |
bb3611fcbb9a055a72c246ba7d624b01231900e140d1a10e6159722846ee585f
|