Sampling (Signal Processing)
In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time signal. A common example is the conversion of a sound wave to a sequence of “samples”. A sample is a value of the signal at a point in time and/or space; this definition differs from the term’s usage in statistics, which refers to a set of such values

Signal sampling representation. The continuous signal is represented with a green colored line while the discrete samples are indicated by the blue vertical lines.
Sampling Rate
Functions of space, time, or any other dimension can be sampled, and similarly in two or more dimensions.
For functions that vary with time, let be a continuous function (or “signal”) to be sampled, and let sampling be performed by measuring the value of the continuous function every seconds, which is called the sampling interval or sampling period. Then the sampled function is given by the sequence:
for integer values of .
The sampling frequency or sampling rate, , is the average number of samples obtained in one second, thus , with the unit samples per second, sometimes referred to as “hertz”, for example 48 kHz is 48,000 samples per second
Reconstructing Continuous Function from SamplesThe fidelity of a theoretical reconstruction is a common measure of the effectiveness of sampling. That fidelity is reduced when contains frequency components whose cycle length (period) is less than 2 sample intervals
The original signal can be reconstructed from a sequence of samples, up to the Nyquist limit, by passing the sequence of samples through a reconstruction filter.