Configuration Parameter Reference
All MSNoise configuration parameters, auto-generated from
msnoise/config/config_*.csv at documentation build time.
Grouped by workflow category in pipeline order.
Global
Configuration set category: global
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
inventory |
str |
Instrument correction file(s) location (path relative to db.ini), defaults to ‘./inventory’, i.e. a subfolder in the current project folder. All files in that folder will be parsed. |
|
1970-01-01 |
str |
Start Date to process: [1970-01-01]=’since beginning of the archive’ |
|
2100-01-01 |
str |
End Date to process: [2100-01-01]=’No end’ |
|
1 |
str |
Number of days to monitor with scan_archive, typically used in cron (should be a float representing a number of days, or a string designating weeks, days, and/or hours using the format ‘Xw Xd Xh’) |
|
str |
Comma separated list of plugin names. Plugins names should be importable Python modules. |
|
|
N |
bool |
Is MSNoise going to run on an HPC? [Y/N] |
|
OUTPUT |
str |
Folder in which all the results will be output (base of the folder structure) |
|
3 |
int |
Number of retry attempts for transient FDSN/EIDA network errors (timeout etc) |
|
0.5 |
float |
Minimum fraction of the requested time window that must be returned by FDSN/EIDA for the job to succeed (0.0-1.0) |
|
N |
bool |
Y: cache raw fetched waveforms to _output/raw/<date>/ for re-use by other preprocess configsets without re-fetching [Y/N] |
Preprocessing
Configuration set category: preprocess
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
20.0 |
float |
Sampling Rate for the CrossCorrelation (in Hz) |
|
Decimate |
str |
Resampling method [Lanczos/Decimate] |
|
8.0 |
float |
Preprocessing Low-pass value (in Hz) |
|
0.01 |
float |
Preprocessing High-pass value (in Hz) |
|
10.0 |
float |
Preprocessing maximum gap length that will be filled by interpolation (in seconds) |
|
20.0 |
float |
Duration of the taper applied at the beginning and end of trace during the preprocessing, to allow highpass filtering (in seconds) |
|
N |
bool |
Remove instrument response [Y/N] |
|
(0.005, 0.006, 30.0, 35.0) |
eval |
Remove instrument correction pre-filter (in Hz, see <a href=’https://docs.obspy.org/packages/autogen/obspy.core.trace.Trace.remove_response.html’ target=”_blank”>ObsPy Doc</a> for what it means.) |
|
E,N,Z |
str |
Components to preprocess: |
Cross-Correlation
Configuration set category: cc
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
20.0 |
float |
Sampling Rate for the CrossCorrelation (in Hz) |
|
NO |
str |
Normalisation method for individual corr_duration) CCFs, default is not normalized (NO), but can be normalized based on the power of the two traces (POW), or by the maximum (MAX) or absolute maximum (ABSMAX) of the CCF [NO/POW/MAX/ABSMAX] |
|
120.0 |
float |
Maximum lag (in seconds) |
|
1800.0 |
float |
Data windows to correlate (in seconds) |
|
0.0 |
float |
Amount of overlap between data windows [0:1] |
|
3.0 |
float |
Winsorizing at N time RMS , 0 disables winsorizing, -1 enables 1-bit normalization |
|
A |
str |
Whiten Traces before cross-correlation: [A]ll (except for autocorr), [N]one, or only if [C]omponents are different [A/N/C] |
|
B |
str |
Type of spectral whitening function to use: [B]rutal (amplitude to 1.0), divide spectrum by its [PSD] or by band-passing the white spectrum with a hanning-window [HANN]. WARNING: only works for compute_cc, not compute_cc_rot, where it will always be B [B/PSD/HANN] |
|
N |
bool |
Do the clipping (winsorizing) after whitening? [Y/N] |
|
linear |
str |
Stack Method: Linear Mean or Phase Weighted Stack [linear/pws] |
|
10.0 |
float |
If |
|
2.0 |
float |
If |
|
ZZ |
str |
List (comma separated) of components to compute between two different stations |
|
CC |
str |
Cross-Correlation type: CC for classical FFT-based correlation ; PCC for Phase Crosse Correlation (FastPCC’s PCC2, Ventosa et al) [CC/PCC] |
|
str |
List (comma separated) of components within a single station. ZZ would be the autocorrelation of Z component, while ZE or ZN are the cross-components. Defaults to [], no single-station computations are done. |
|
|
CC |
str |
Auto-Correlation type (same as for cc_type) [CC/PCC] |
|
CC |
str |
Cross-Correlation type for Cross-Components (same as for cc_type: CC or PCC) [CC/PCC] |
|
Y |
bool |
Keep all cross-corr (length: |
|
Y |
bool |
Keep all daily cross-corr [Y/N] |
|
0.04 |
float |
Fraction of each trace to taper (cosine) before cross-correlation. Applied symmetrically to both ends. Standard seismological convention is 0.04 (4%). Range: 0.0 (no taper) to 0.5 (full Hann window). |
Filters
Configuration set category: filter
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
0.1 |
float |
Lower frequency bound (Hz) |
|
1.0 |
float |
Upper frequency bound (Hz) |
|
Y |
bool |
Compute cross-correlation between different stations [Y/N] |
|
N |
bool |
Compute cross-correlation between different components of same station [Y/N] |
|
N |
bool |
Compute auto-correlation from single station components [Y/N] |
|
Y |
bool |
Whether this filter is active [Y/N] |
Moving Stack
Configuration set category: stack
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
linear |
str |
Stack Method: Linear Mean or Phase Weighted Stack [linear/pws] |
|
10.0 |
float |
If |
|
2.0 |
float |
If |
|
((‘1D’,’1D’)) |
eval |
A list of two parameters: the time to “roll” over (default 1 day) and the granularity (step) of the resulting stacked CCFs (default 1 day) to stack for the Moving-window stacks. This can be a list of tuples, e.g. ((‘1d’,’1d’),(‘2d’,’1d’)) corresponds to the MSNoise 1.6 “1,2” before. Time deltas can be anything pandas can interpret (“d”, “min”, “sec”, etc). |
|
N |
bool |
Apply wiener filter before stacking? Y[N] [Y/N] |
|
24h |
str |
Smoothing along date axis (time delta) |
|
0.5s |
str |
Smoothing along lag time axis (time delta) |
Reference Stack
Configuration set category: refstack
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
1970-01-01 |
str |
Start of REF period. Absolute date (YYYY-MM-DD) OR negative integer for rolling-index mode (e.g. -5 means 5 windows before current) |
|
2100-01-01 |
str |
End of REF period. Absolute date (YYYY-MM-DD) OR negative integer (e.g. -1 means exclude self). Must be > ref_begin when both are negative. |
|
linear |
str |
Stack method for REF computation (Mode A only) [linear/pws] |
|
10.0 |
float |
If stack_method=pws: smoothing width in seconds (Mode A only) |
|
2.0 |
float |
If stack_method=pws: power of the weighting (Mode A only) |
|
N |
bool |
Apply Wiener filter to daily CCFs before REF stacking (Mode A only). Y/N [Y/N] |
|
24h |
str |
Wiener smoothing along date axis (time delta, e.g. 24h) |
|
0.5s |
str |
Wiener smoothing along lag-time axis (time delta, e.g. 0.5s) |
MWCS
Configuration set category: mwcs
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
0.1 |
float |
The lower frequency bound to apply MWCS |
|
1.0 |
float |
The upper frequency bound to apply MWCS |
|
10.0 |
float |
Window length to perform MWCS |
|
2.0 |
float |
Step of the windowing procedure in MWCS |
MWCS dt/t
Configuration set category: mwcs_dtt
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
5.0 |
float |
Minimum lag time |
|
30.0 |
float |
Width of the time lag window |
|
static |
str |
How is the lag window defined for MWCS [static/dynamic] |
|
1.0 |
float |
What velocity to use to avoid ballistic waves |
|
both |
str |
Which sides to use [both/left/right] |
|
0.5 |
float |
Minimum coherence on dt measurement |
|
1.0 |
float |
Maximum error on dt measurement |
|
1.0 |
float |
Maximum dt/t value |
MWCS dv/v Aggregate
Configuration set category: mwcs_dtt_dvv
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
Y |
bool |
Split dv/v by pair type (CC/SC/AC) separately. CC=inter-station; SC=same station different location; AC=autocorrelation. [Y/N] |
|
Y |
bool |
Split dv/v by component pair (ZZ/RR/TT/etc) separately. [Y/N] |
|
m |
str |
dv/v column to use for CC (inter-station) pairs. m=free-intercept slope; m0=forced-through-zero slope. [m/m0] |
|
em |
str |
Error column for CC pairs. Must match dvv_cc_value: em for m; em0 for m0. [em/em0] |
|
m0 |
str |
dv/v column for SC (single-station different location) pairs. m0 recommended: no clock error expected. [m/m0] |
|
em0 |
str |
Error column for SC pairs. [em/em0] |
|
m0 |
str |
dv/v column for AC (autocorrelation) pairs. m0 recommended: no clock error expected. [m/m0] |
|
em0 |
str |
Error column for AC pairs. [em/em0] |
|
0.0 |
float |
Minimum mean coherence (mcoh) to include a pair at a given time step. Set to 0 to disable. |
|
Y |
bool |
Compute 1/error^2 weighted mean across pairs. [Y/N] |
|
Y |
bool |
Compute trimmed mean: reject pairs whose dv/v deviates more than dvv_trim_limit sigma from the mean. [Y/N] |
|
3.0 |
float |
Sigma cutoff for trimmed mean. |
|
5,25,75,95 |
str |
Comma-separated list of percentiles to save (e.g. 5,25,75,95). |
|
Y |
bool |
Output dv/v in percent (multiply slope by 100). If N output as fraction. [Y/N] |
Stretching
Configuration set category: stretching
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
5.0 |
float |
Minimum lag time |
|
30.0 |
float |
Width of the time lag window |
|
static |
str |
How the lag window is defined for stretching [static/dynamic] |
|
1.0 |
float |
What velocity to use to avoid ballistic waves |
|
both |
str |
Which sides to use [both/left/right] |
|
0.02 |
float |
Maximum stretching coefficient |
|
1000 |
int |
Number of stretching steps |
Stretching dv/v Aggregate
Configuration set category: stretching_dvv
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
Y |
bool |
Split dv/v by pair type (CC/SC/AC) separately. CC=inter-station; SC=same station different location; AC=autocorrelation. [Y/N] |
|
Y |
bool |
Split dv/v by component pair (ZZ/RR/TT/etc) separately. [Y/N] |
|
0.65 |
float |
Minimum cross-correlation coefficient (Coeff) between stretched reference and data. Pairs below this threshold at a given time step are excluded. |
|
Y |
bool |
Compute 1/Error^2 weighted mean across pairs. Error is the half-width at full maximum of the Gaussian fit. [Y/N] |
|
Y |
bool |
Compute trimmed mean: reject pairs whose dv/v deviates more than dvv_trim_limit sigma from the mean. [Y/N] |
|
3.0 |
float |
Sigma cutoff for trimmed mean. |
|
5,25,75,95 |
str |
Comma-separated list of percentiles to save (e.g. 5,25,75,95). |
|
Y |
bool |
Output dv/v in percent: dv/v(%) = (Delta-1)*100. If N output as raw Delta-1 fraction. [Y/N] |
Wavelet Coherence
Configuration set category: wavelet
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
0.1 |
float |
The lower frequency bound to apply WCT |
|
1.0 |
float |
The upper frequency bound to apply WCT |
|
5 |
float |
Smoothing parameter in frequency |
|
5 |
float |
Smoothing parameter in time |
|
12 |
float |
Voices per octave: controls the scale resolution of the CWT. Values of 10-12 are standard in ambient-noise WCT literature and give adequate time-frequency resolution for dv/v measurements. 20 (old default) is very fine and rarely changes results while tripling computation time. Default reduced from 20 to 12. |
|
100 |
int |
Number of frequency points sampled linearly between wct_freqmin and wct_freqmax. Because adjacent wavelet scales are correlated over ~1/vpo octaves, having more points than ~vpo*(log2(freqmax/freqmin)) adds no independent information. For a 0.1-1.0 Hz band at vpo=12 that is ~40 independent scales; 100 points is a safe over-sample. Default reduced from 300 (overkill). |
|
True |
bool |
If the REF and CCF are normalized before computing wavelet [True/False] |
|
(‘Morlet’,6.) |
str |
Type of wavelet function used |
|
True |
bool |
When True (default), compute dt/t inline during the wavelet step using ALL downstream wavelet_dtt config sets, and write only the compact DTT/ERR/COH output — no intermediate WCT files are stored on disk. This eliminates ~14000x of intermediate storage (a WCT file for a single pair/component/year is ~2.5 GB compressed vs ~175 KB for DTT). Set to False to store the full WCT arrays (WXamp, Wcoh, WXdt) for inspection or to re-run wavelet_dtt separately with different parameters without recomputing the CWT. [True/False] |
Wavelet dt/t
Configuration set category: wavelet_dtt
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
0.1 |
float |
The lower frequency bound to compute the dv/v from the WCT |
|
1.0 |
float |
The upper frequency bound to compute the dv/v from the WCT |
|
5.0 |
float |
Minimum lag time |
|
30.0 |
float |
Width of the time lag window |
|
static |
str |
How is the lag window defined for WCT [static/dynamic] |
|
1.0 |
float |
Velocity parameter used for dynamic lag calculation |
|
both |
str |
Which sides to use [both/left/right] |
|
0.0 |
float |
Minimum coherence on dt measurement |
|
1.0 |
float |
Maximum dt values |
|
5 |
int |
Number of cycles of period |
|
0.1 |
float |
Percentage of data points with non-zero weighting |
Wavelet dv/v Aggregate
Configuration set category: wavelet_dtt_dvv
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
0.1 |
float |
Lower frequency bound (Hz) for dv/v extraction from the WCT-DTT output. Can be a subset of the parent wct_dtt computation band — enables multi-band analysis from one broadband WCT run. |
|
1.0 |
float |
Upper frequency bound (Hz) for dv/v extraction. Multiple wavelet_dtt_dvv configsets with different freqmin/freqmax can be linked to the same wct_dtt step. |
|
mean |
str |
How to collapse the frequency dimension to a scalar dv/v time series: mean or median over the selected band. [mean/median] |
|
0.5 |
float |
Minimum wavelet coherence (coh) to include a time-frequency cell before frequency averaging. Cells below this threshold are masked. |
|
Y |
bool |
Split dv/v by pair type (CC/SC/AC) separately. CC=inter-station; SC=same station different location; AC=autocorrelation. [Y/N] |
|
Y |
bool |
Split dv/v by component pair (ZZ/RR/TT/etc) separately. [Y/N] |
|
Y |
bool |
Compute 1/err^2 weighted mean across pairs after frequency averaging. [Y/N] |
|
Y |
bool |
Compute trimmed mean: reject pairs whose dv/v deviates more than dvv_trim_limit sigma from the mean. [Y/N] |
|
3.0 |
float |
Sigma cutoff for trimmed mean. |
|
5,25,75,95 |
str |
Comma-separated list of percentiles to save (e.g. 5,25,75,95). |
|
Y |
bool |
Output dv/v in percent. [Y/N] |
PSD
Configuration set category: psd
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
E,N,Z |
str |
Components to process for PSD, defaults to [E,N,Z], but can be any comma separated list (e.g. ‘Z,E,N’) |
|
3600.0 |
float |
Length of data segments passed to psd in seconds. In the paper by McNamara et al (2004) a value of 3600 (1 hour) was chosen. Longer segments increase the upper limit of analyzed periods but decrease the number of analyzed segments. |
|
0.0 |
float |
Overlap of segments passed to psd. Overlap may take values between 0 and 1 and is given as fraction of the length of one segment, e.g. psd_ppsd_length=3600 and psd_ppsd_overlap=0.5 result in an overlap of 1800s of the segments. |
|
0.125 |
float |
Determines over what period/frequency range the psd is smoothed around every central period/frequency. Given in fractions of octaves (default of |
|
0.0125 |
float |
Step length on frequency axis in fraction of octaves (default of |
|
(0.01,100) |
eval |
Set custom lower and upper end of period range (e.g. |
|
(-200, -50, 1.) |
eval |
Specify the lower and upper boundary and the width of the db bins. The bin width might get adjusted to fit a number of equally spaced bins in between the given boundaries. |
PSD RMS
Configuration set category: psd_rms
Parameter |
Default |
Type |
Description |
|---|---|---|---|
|
[(1.0, 20.0), (4.0, 14.0), (4.0, 40.0), (4.0, 9.0)] |
eval |
Specify the frequency bounds (in Hz) to compute the RMS from PSDs |
|
DISP |
str |
What units do you want for the exported RMS [DISP/VEL/ACC] |