Skip to content

Commit

Permalink
New config section: "SPECTRAL MODEL PARAMETERS"
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiodsf committed Jul 21, 2022
1 parent efebc2a commit cb463df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Earthquake source parameters from P- or S-wave displacement spectra
- Removed `DEBUG` config parameter
- Parameters from `GENERAL PARAMETERS` section reorganized into a new
section called `TRACE AND METADATA PARAMETERS`
- Some parameters from `INVERSION PARAMETERS` moved into a new section
called `SPECTRAL MODEL PARAMETERS`

- Features:
- Support for P-wave spectral inversion (see pull request [#9])
Expand Down
5 changes: 4 additions & 1 deletion sourcespec/configspec.conf
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ spectral_sn_freq_range = float_list(min=0, default=None)
# -------- SIGNAL/NOISE PARAMETERS


# INVERSION PARAMETERS --------
# SPECTRAL MODEL PARAMETERS --------
# P and S wave velocity close to the source (km/s)
vp_source = float(min=0, default=5.5)
vs_source = float(min=0, default=3.2)
Expand All @@ -226,7 +226,10 @@ rpp = float(min=0, default=0.52)
rps = float(min=0, default=0.62)
# Radiation pattern from focal mechanism, if available
rp_from_focal_mechanism = boolean(default=False)
# -------- SPECTRAL MODEL PARAMETERS


# INVERSION PARAMETERS --------
# Weighting type: 'noise', 'frequency' or 'no_weight'
weighting = option('noise', 'frequency', 'no_weight', default='noise')
# Parameters for 'frequency' weighting (ignored for 'noise' weighting):
Expand Down

0 comments on commit cb463df

Please sign in to comment.