Skip to content

Commit 57dc20a

Browse files
committed
Improved documentation for the win_length parameter
1 parent e07a2ef commit 57dc20a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Copyright (c) 2011-2025 Claudio Satriano <satriano@ipgp.fr>
5656

5757
### Config file
5858

59+
- Improved documentation for the `win_length` parameter
5960
- New option `r_power_n_segmented` for the `geom_spread_model` config parameter
6061
- New config parameters: `geom_spread_n_exponents`, `geom_spread_n_distances`
6162
- New config parameters: `refine_theoretical_arrivals`, `autopick_freqmin`,

sourcespec/config_files/configspec.conf

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,16 @@ noise_pre_time = float(min=0.01, default=6.0)
146146
# times (see "wave_type" below)
147147
signal_pre_time = float(default=1.0)
148148

149-
# Length (in seconds) for both noise and signal windows
149+
# Length (in seconds) for both noise and signal windows.
150+
# Notes:
151+
# 1. If the weighting mode is 'noise' (see INVERSION PARAMETERS below)
152+
# and the trace starts too late to include the full noise window,
153+
# the noise window will be shortened to fit the available data,
154+
# and the signal window will be truncated to match the shortened
155+
# noise window length.
156+
# 2. If the weighting mode is 'inv_frequency' (see INVERSION PARAMETERS below)
157+
# and the trace starts too late to include the full noise window,
158+
# the noise window will be zero-padded to match the signal window length.
150159
win_length = float(min=0, default=5.0)
151160
# Variable window length factor (fraction of travel time):
152161
# win_length = max(win_length, variable_win_length_factor * travel_time)

0 commit comments

Comments
 (0)