A system transforms an input signal into an output signal:
a seismometer turns ground motion into counts
Linear: the response to a sum of inputs is the sum of their responses,
with
Time-invariant: the system behaves the same at any time,
so a delayed input gives the same output, delayed
A system that satisfies both properties is called LTI
Seismic waves in the Earth, sensors, or digital filters are LTI to a good approximation
An LTI system is fully described by its response to a single impulse
Hit the system with a very short pulse
this is the impulse response
Hitting later gives the same response, later
Two hits give the sum of two responses
Any input can be seen as a series of small hits
with weights
When the hits get infinitely close (
The output of an LTI system is the convolution of the input with
Dry piano
Hall response
Piano in the hall
Every instant of the piano triggers a copy of the hall response
Piano, hall and microphone become source, medium and receiver:

Stein & Wysession (2003), fig. 1.1-1
Deconvolution: remove
to get the ground motion, to study the source, or to image the Earth
A sinusoid comes out as the same sinusoid,
with a gain
Any signal is also a sum of sinusoids. The Fourier transform
tells how much of each frequency
What does a convolution look like in the frequency domain? With the change of variable
Where
Convolution in time is a product in frequency
In frequency, removing the instrument response is a division
Unstable where
With ObsPy:
trace.remove_response(inventory)
Piano record
file size 1.6 MB
Piano record
file size 95 kB
16 times smaller, but audio quality is low.
Resolution and sampling rate both matter
Sampling keeps the values of
with
The Fourier transform of a comb is a comb, and by the convolution theorem, the product in time becomes a convolution in frequency
Sampling copies the spectrum at every multiple of
If
high frequencies disguise as low ones, this is aliasing
Sampling theorem: a signal can be reconstructed if
that is, if its highest frequency is below the Nyquist frequency
In practice, low-pass filter before sampling: seismic digitizers do it,
and this filter is part of the instrument response
On a computer, we only have the samples
Their Fourier transform is the discrete-time Fourier transform (DTFT)
with the frequency
A computer handles
numpy.fft)