SeismicSource/sourcespec

Handling of SV wave in _compute_h function

krisvanneste opened this issue · 1 comments

Shouldn't this line be:
if wave_type == 'SV' and channel[-1] not in ('R', 'Z'):
or perhaps
if wave_type == 'SV' and channel[-1] == 'T':

If I understand correctly, R components are currently skipped when the SV wave is selected, and instead T and Z components are combined.

Kind regards,
Kris Vanneste

if wave_type == 'SV' and channel[-1] == 'R':

That's right!

Fixed, Thanks!