Abstract
In this chapter we explore signal processing, which is a subject with applications in diverse branches of science and engineering. A signal in this context can be a quantity that varies in time (temporal signal) or as a function of space coordinates (spatial signal). For example, an audio signal is a typical example of a temporal signal, while an image is a typical example of a spatial signal in two dimensions. In reality, signals are often continuous functions, but in computational applications, it is common to work with discretized signals, where the original continuous signal is sampled at discrete points with uniform distances. The sampling theorem gives rigorous and quantitative conditions for when a continuous signal can be accurately represented by a discrete sequence of samples.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
There are several alternative definitions of the Fourier transform, which vary in the coefficient in the exponent and the normalization of the transform integral.
- 2.
There is also an implementation of FFT in the fft module in NumPy. It provides mostly the same functions as scipy.fftpack, which we use here. As a general rule, when SciPy and NumPy provide the same functionality, it is generally preferable to use SciPy if available and fallback to the NumPy implementation when SciPy is not available.
- 3.
Several other window functions are also available. See the docstring for the scipy.signal module for a complete list.
- 4.
The data used in this example was obtained from https://www.freesound.org/people/guitarguy1985/sounds/52047 .
- 5.
See the project’s web page at http://scikit-image.org for more information.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Robert Johansson
About this chapter
Cite this chapter
Johansson, R. (2019). Signal Processing. In: Numerical Python . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4246-9_17
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4246-9_17
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4245-2
Online ISBN: 978-1-4842-4246-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)