Posez n’importe quelle question sur les cours, conférences, exercices, recherches, actualités, etc. de l’EPFL ou essayez les exemples de questions ci-dessous.
AVERTISSEMENT : Le chatbot Graph n'est pas programmé pour fournir des réponses explicites ou catégoriques à vos questions. Il transforme plutôt vos questions en demandes API qui sont distribuées aux différents services informatiques officiellement administrés par l'EPFL. Son but est uniquement de collecter et de recommander des références pertinentes à des contenus que vous pouvez explorer pour vous aider à répondre à vos questions.
Length measurement, distance measurement, or range measurement (ranging) refers to the many ways in which length, distance, or range can be measured. The most commonly used approaches are the rulers, followed by transit-time methods and the interferometer methods based upon the speed of light. For objects such as crystals and diffraction gratings, diffraction is used with X-rays and electron beams. Measurement techniques for three-dimensional structures very small in every dimension use specialized instruments such as ion microscopy coupled with intensive computer modeling. The ruler the simplest kind of length measurement tool: lengths are defined by printed marks or engravings on a stick. The metre was initially defined using a ruler before more accurate methods became available. Gauge blocks are a common method for precise measurement or calibration of measurement tools. For small or microscopic objects, microphotography where the length is calibrated using a graticule can be used. A graticule is a piece that has lines for precise lengths etched into it. Graticules may be fitted into the eyepiece or they may be used on the measurement plane. The basic idea behind a transit-time measurement of length is to send a signal from one end of the length to be measured to the other, and back again. The time for the round trip is the transit time Δt, and the length l is then 2l = Δt*"v",with v the speed of propagation of the signal, assuming that is the same in both directions. If light is used for the signal, its speed depends upon the medium in which it propagates; in SI units the speed is a defined value c0 in the reference medium of classical vacuum. Thus, when light is used in a transit-time approach, length measurements are not subject to knowledge of the source frequency (apart from possible frequency dependence of the correction to relate the medium to classical vacuum), but are subject to the error in measuring transit times, in particular, errors introduced by the response times of the pulse emission and detection instrumentation.
[2]Paolo Prandoni, [3]LCAV, EPFL
In this notebook we will look at the practical issues associated to
plotting the DFT and in particular the DFT of real-world signals. We
will examine how to map the DFT coefficients to real-world frequencies
and we will investigate the frequency resolution of the DFT and the
effects of zero padding.
In [1]:
[2]Paolo Prandoni, [3]LCAV, EPFL
In this notebook we will implement a simple fractional resampler that
uses local Lagrange interpolation. The resampler can be used to perform
any rational sampling rate change (but beware of aliasing when
downsampling!)
In [1]:
import numpy as np
import IPython
from scipy.io import wavfile
Local Lagrange interpolation[4]¶
To perform resampling we will need to compute subsample values and, in