seisgo.monitoring
The monitoring module measures relative seismic velocity changes (dv/v) from
ambient-noise cross-correlations using time-domain stretching or wavelet-based methods.
Function Summary
get_dvv Parameter Reference
Parameter |
Default |
Description |
|---|---|---|
|
required |
|
|
required |
|
|
required |
Coda window length in seconds. Accepts a scalar or list for multiple windows. |
|
|
Reference trace. If |
|
|
Stacking method to compute the reference. See |
|
|
Lag offset (s) from the main arrival (xcorr) or from zero (autocorr).
Accepts a scalar or list aligned with |
|
|
Temporal sub-stack resolution (s). Resamples the data before measuring dv/v. |
|
|
Minimum group velocity (km/s) used to set the start of the coda window. |
|
|
Normalize traces before measuring. |
|
|
Spectral whitening: |
|
|
dv/v method: |
|
|
Maximum search range for dv/v (5% by default). |
|
|
If |
|
|
Number of parallel processes. |
|
|
If |
|
|
Output format: |
dv/v Methods
Wavelet-transform stretching ("wts")
The default method. Decomposes each coda window into the time–frequency domain, applies a stretching operator at each scale, and finds the stretch factor that maximises cross-correlation with the reference. Returns a dv/v value per frequency band.
Credit: adapted from Congcong Yuan (Harvard), originally by Chengxin Jiang and Marine Denolle.
Time-domain stretching ("ts")
Applies a uniform time-axis stretch to the full coda window and maximises the
cross-correlation coefficient against the reference. Returns a single broadband dv/v value.
Set subfreq=False automatically when method="ts".
Output: DvvData
get_dvv() returns a seisgo.types.DvvData object (or saves it to disk).
Key attributes:
Attribute |
Description |
|---|---|
|
dv/v array, shape |
|
Measurement uncertainty array (same shape as |
|
Cross-correlation coefficient of each measurement |
|
Timestamps of each measurement window |
|
Frequency vector (for |
|
Method used ( |
|
Component pair (e.g. |
dvvdata.plot()
dvvdata.to_asdf("dvv_output.h5")