Periodization of a Schwartz function Created 2026-10-05 Updated 2026-10-14
For a Schwartz function on the real numbers, its periodization is a smooth periodic function of period of a function one. Rapid decay gives uniform convergence on of the defining series and each differentiated series. Its th Fourier coefficient isThe change of variable uses . Rapidly decreasing Fourier coefficients give the absolutely and uniformly convergent Fourier series . Evaluation at proves the Poisson summation formula.[ref]
Lecture 17: The functional equation. Lecture 17, §17.1, Theorem 17.8 and proof, printed p. 3: periodization and Fourier coefficients
The same identity explains aliasing in the Nyquist–Shannon sampling theorem: applying the Poisson summation formula to the Schwartz function givesThe sampled spectrum is periodic in frequency, and shifted copies of the continuous Fourier transform add together. When those copies overlap, the samples cannot separate their contributions. The Nyquist–Shannon sampling theorem adds a bandlimited function hypothesis to make reconstruction possible.
Phase-contrast magnetic resonance imaging 2026-11-05
Phase-contrast magnetic resonance imaging estimates motion from differences in the phase of nuclear magnetic resonance signals acquired with controlled magnetic field gradients. The encoding measures a component of velocity, with its sign set by the gradient and reconstruction convention. A 1982 paper described an early flow-sensitive phase-encoding approach.[ref]
For a constant-velocity teaching model, write position along the encoding direction as . If is the effective gradient, including refocusing signs, thenHere is the gyromagnetic ratio in radians per second per tesla, and is the gradient first moment. With balanced zeroth moments, two encodings giveThese equations are an explicit idealized derivation, not a claim that every measured voxel contains one uniform velocity.
Define the velocity encoding limit by . If it is , a corrected phase difference of corresponds to under the chosen sign convention. Phase wrapping modulo causes an ambiguity beyond the encoding range, related to aliasing.
A 1991 gated study measured differently timed cerebrospinal fluid motion in ventricular and subarachnoid compartments over the cardiac cycle.[ref]
Normal flow patterns of intracranial and spinal cerebrospinal fluid defined with phase-contrast cine MR imaging by D. R. Enzmann and others. Abstract; 16 flow-encoded images per cardiac cycle
Opposite velocities during equal parts of a cycle can average to zero despite substantial oscillatory motion. A volumetric flow rate additionally requires integrating the normal velocity across a defined cross-section; peak speed alone does not supply transported volume. Pixel pitch 2026-11-05
Pixel pitch is the physical spacing between corresponding centres of neighbouring pixels on a display or sensor grid. For an axis-aligned rectangular grid it can have separate horizontal and vertical values . The pixel pitch describes the grid spacing, rather than the number of bits used for each pixel value.[ref]
Pixel Pitch and Enlarged Mode by EIZO. Opening definition of pixel pitch and comparison of physical text size at different densities
For square pixels on a uniform grid, linear pixel density and pixel pitch are reciprocal. If is measured in pixels per inch,For example, a hypothetical matrix with 2400 columns occupying a active width has and horizontal pixel density pixels per inch. This calculation treats the width as the edge-to-edge extent of 2400 equal pixel cells; the distance from the first centre to the last centre is instead .
Doubling the column count over the same width halves the horizontal pixel pitch. Doubling both row and column counts quadruples the number of pixels per unit area. The dimensions and the direction being measured therefore matter when comparing specifications.
A smaller pixel pitch provides a finer sampling grid, but it cannot recover detail already lost from the input image. Optical blur, aliasing and the viewing geometry also affect visible detail. A CSS pixel is a layout unit, so its size must be mapped through the device pixel ratio before it can be related to this physical grid.
Pseudospectral method 2026-11-05
A pseudospectral method represents an approximate solution through a global basis or its interpolating values and imposes equations at selected collocation points. In a periodic problem the basis is often a Fourier series; on an interval, polynomial collocation is common. The adjective spectral refers to the representation, not to computing the eigenvalues of an arbitrary matrix.[ref]
Spectral Methods in MATLAB by Lloyd N. Trefethen. Author's description and sample chapters on spectral differentiation and collocation
For periodic data at , the discrete Fourier transform gives coefficients of a trigonometric interpolant. Its derivative is obtained by multiplying coefficient by and transforming back. For nonlinear equations, products can be evaluated on the physical grid, while derivatives are computed in Fourier coordinates. A Fast Fourier transform makes these representation changes efficient.
The grid can confuse unresolved frequencies with resolved ones. With , take . Its exact square isAt the eight grid points, , so the sampled product appears to contain wave number instead of . This is aliasing created by the nonlinear product, even though the input wave number was representable. Additional grid resolution, padding or appropriate filtering is needed when such products are used to evolve retained modes.
For sufficiently smooth solutions, spectral representations can converge rapidly as resolution increases. Discontinuities, boundary incompatibilities and unresolved fine structure change that behavior. A pseudospectral method therefore needs checks on both approximation error and the nonlinear operations performed on its grid.
Pulsar period folding and alias checks 2026-10-18
Phase folding of a light curve collects samples at equal trial phase. Consider a noiseless illustrative pulsar with one pulse every and arrival times , after pulsar dedispersion. At , all arrivals fold to one phase. But also puts all arrivals at one phase: folding discarded the fact that alternate proposed cycles contain no pulse. At , the arrivals instead occupy two phases, and . Thus a sharp folded profile alone need not identify the fundamental period.
Check the original time sequence, adjacent arrival intervals and pulse occupancy as well as the folded profile. With arrivals and a slightly wrong trial period, the unwrapped drift isFor and , this is about cycle. Splitting the observation into early and late pieces reveals the drift that one full folded average can blur. Separately, regular discrete sampling can create aliasing: observing at a spacing comparable with the pulse width can miss narrow pulses even when the recurrence period is much longer. Neither this toy exercise nor one sharp profile replaces time-standard calibration and propagation corrections.
Pulsed-wave Doppler echocardiography 2026-11-05
Pulsed-wave Doppler echocardiography uses timed ultrasound transmissions and returns to measure motion within a selected sampling region of the heart or nearby vessels. An echo's round-trip delay provides depth information, so a time window can select a location. The resulting Doppler spectrum describes a finite sample volume rather than an exact point.[ref]
Recommendations for Quantification of Doppler Echocardiography by Miguel A. Quiñones and others. General Principles, p.167; PW Doppler, pp.168–169
For sound speed and round-trip delay , the ideal depth is . Avoiding ambiguity between successive pulses in a simple single-depth system requires waiting at least before the next pulse. If is the pulse repetition frequency, this givesThe Doppler signal is sampled once per pulse, so unaliased shifts obey . For aligned flow and transmitted frequency ,This is the pulsed Doppler depth-velocity tradeoff in the stated idealization. With , and , the highest ideal pulse rate is and the corresponding speed limit is about . Doubling the depth halves both limits. Practical timing margins can reduce them further.
Aliasing is an ambiguity of the sampled signal, not proof that blood reverses direction. For example, sinusoidal Doppler shifts of and have identical complex samples at a pulse rate, because their frequencies differ by exactly one sampling rate. The example concerns the Doppler signal, not direct sampling of the megahertz acoustic carrier.
High-pulse-rate variants can trade unique range localization for a larger velocity range. Continuous-wave Doppler echocardiography instead transmits and receives continuously, accepting depth ambiguity. The choice of acquisition method therefore changes what information the measured spectrum contains.[ref]
Recommendations for Quantification of Doppler Echocardiography by Miguel A. Quiñones and others. General Principles and high-PRF discussion, pp.167–168
Raster sampling and reconstruction 2026-10-13
A point-sampling model assigns to a pixel on a grid, where is a continuous function representing an image signal. An area-sampling model instead assigns the average value of a function over a specified footprint. These are different models: a narrow feature between point samples can be missed, whereas its contribution to an area sample depends on its width and shade. Neither model says that the recorded value uniquely determines everything inside a grid cell.
The upper panels start with exactly the same array. Nearest-neighbor interpolation repeats its values into a display; successive linear interpolations in the two coordinate directions produce a smoother display. Original sample positions are marked. Both displays use 384 output pixels, but only the same 24 recorded values. The extra values follow the chosen interpolation rule. Between-grid appearance is inferred, not independently recorded.
Spatial resolution needs a stated meaning. A grid over a rectangle of width and height has nominal cell pitches and . Over the same rectangle, doubling both dimensions halves these pitches and quadruples the pixel count. That is a finer grid, not a guarantee of more recoverable detail. Blurring before sampling, quantization and aliasing can make different originals share the same recorded array. Enlarging the rectangle without adding samples instead increases the displayed pitch.
A reproducible computational demonstration makes the ambiguity exact. Take the one-dimensional profiles and , repeated identically along every row. Sample at for . Since , the fact that the sine is a periodic function gives . Both yield , although at they give approximately and . The lower panel draws both originals and their common samples: no operation on those samples alone can identify the original profile. This is aliasing in an ideal point-sampling model, without image noise or rounding.
The Nyquist–Shannon sampling theorem describes reconstruction under a bandwidth restriction and ideal sampling assumptions; it does not grant uniqueness for arbitrary image signals from a finite raster image.[ref]
https://fab.cba.mit.edu/classes/S62.12/docs/Shannon_noise.pdf. Shannon, Communication in the Presence of Noise (1949), section II, Theorem 1 and reconstruction from the infinite sample sequence
The beautiful lesson is constructive: choose what detail the grid should preserve before sampling, and choose a reconstruction rule suited to the information actually retained. Rectangular window 2026-11-05
A rectangular window keeps all samples in a selected finite record with equal weight and sets the signal outside it to zero. For discrete samples, for and zero otherwise. Calling this no taper does not remove the effect of having a finite record. SciPy's primary implementation documentation identifies the boxcar and rectangular window as this same all-ones choice.[ref]
Its discrete-time Fourier transform at frequency in cycles per sample is a finite geometric sum:At integer , the limiting value is . The first zeros surrounding the central maximum are at , so the central zero-to-zero width is . The phase factor depends on the record's time origin; the magnitude response does not.
For a continuous centered record of duration , on has transformwhere the normalized sinc function is . Multiplication by the finite window spreads a sharp spectral component according to this response, producing spectral leakage.
An original finite-record example quantifies an off-bin amplitude error. A complex tone of amplitude lying half a DFT bin from the nearest sampled frequency has normalized responseAt the ratio is about , or relative to the coherent peak. The coherent gain of a window is still one; it does not correct this scalloping loss. Zero-padding samples the same frequency response more densely rather than lengthening the measured record.
For independent equal-variance sample noise, rectangular weighting has equivalent noise bandwidth of one DFT bin under the usual coherent-amplitude normalization. A Hann window suppresses distant sidelobes but changes the central width and noise scaling. The primary analysis manual reports these separate window properties rather than one universal best window.[ref]
A proposed test records a known sinusoidal input with an integer and then a non-integer number of cycles in the same record length, holding the sampling rate and amplitude fixed. Compare the raw DFT bins and the continuous window response. This separates finite-record leakage and bin placement from aliasing, which involves a different sampling ambiguity.
Spatial sampling of a wave 2026-10-14
In spatial sampling of a wave, a detector records a wave at positions separated by pitch . Angular wavenumbers differing by , with integers , give identical samples of a complex Fourier mode:This is spatial aliasing. To distinguish arbitrary sinusoids within a prescribed band, require , equivalently , the Nyquist spatial frequency. Thus for the shortest allowed wavelength. At equality a sine can vanish at every sample, so phase information can be lost. The Nyquist–Shannon sampling theorem states the precise reconstruction conditions for a bandlimited function; a finite scan introduces further limitations.
The synthetic two-tone snapshot iswhere both count cycles per metre. The component wavelengths are and . With , both lie below the Nyquist spatial frequency of cycles per metre. With , the -cycle component aliases to the -cycle component: at every , . The sampled sum is therefore indistinguishable from , although the continuous curves differ between samples. Drawing lines between sample points cannot resolve this ambiguity.
Synthetic two-tone spatial waveform: fine samples distinguish the components, coarse samples hide the shorter wavelength
. Details. Spectral leakage Created 2026-10-18 Updated 2026-11-05
Multiplying a measured signal by a finite-duration window function convolves its Fourier transform with the transform of the window. A spectrally sharp component therefore contributes to nearby frequencies rather than remaining a single ideal line. Smooth tapering can reduce distant sidelobes at the cost of widening the main spectral feature. This finite-record effect is distinct from aliasing, which superposes copies of the spectrum because of time sampling.
Total harmonic distortion 2026-11-05
Total harmonic distortion measures the root-sum-square amplitude of the selected higher harmonic components relative to the fundamental amplitude. For nonzero and one common amplitude convention,Peak amplitudes or root mean square amplitudes give the same ratio when used consistently for all sinusoids. The finite upper order , measurement bandwidth, and treatment of noise must be specified. The primary Anritsu procedure distinguishes this fundamental-normalized definition from normalization by the full harmonic component sum.[ref]
Total Harmonic Distortion Measurements by Anritsu. Printed p. 2, THD Definitions and Calculation Approach
For an original example, let a waveform have fundamental peak amplitude , second harmonic component , and third harmonic component , with no other components. ThenA logarithmic amplitude-ratio report is . The phases do not enter this RMS sum because distinct integer harmonic components are orthogonal over a full period.
If the denominator instead includes the fundamental and all included harmonic components, excluding DC, the resulting ratio isabout in the example. The two conventions are close at low distortion but differ markedly when higher harmonic components are large; only the latter is bounded by one. A quoted percentage without its denominator convention is incomplete. Broadband noise is a different contribution and is not silently included in the displayed THD formula.
A motivating apparatus uses a clean sinusoidal source, the device under test, and calibrated receivers tuned to the fundamental and harmonic component frequencies. Anritsu's worked system calibrates the receiver over those frequencies before combining separate measurements.[ref]
Total Harmonic Distortion Measurements by Anritsu. Printed p. 3, Figure 1; printed pp. 4–7, multichannel acquisition and combination
With an FFT-based instrument, spectral leakage bias in harmonic distortion measurements can misassign a strong fundamental to harmonic component bins; aliasing and insufficient receiver bandwidth can also hide or relocate components. Small THD therefore describes a stated test and analysis, not every possible waveform or operating level. Vector graphics 2026-10-13
Vector graphics represent a picture by geometric objects and instructions for drawing them: positions, shapes, fills, boundary strokes and transformations. A circle can be stored as a centre and radius; a rectangle as a corner, width and height; a polygon as an ordered list of vertices. These geometric primitives describe whole objects rather than assigning a colour to every pixel. SVG provides elements for such basic shapes and for paths assembled from line segments and curves.[ref]
The useful separation is between the stored geometry and the finite output. A circle of radius 2 remains the same geometric description whether rendered across twenty or two thousand output pixels. This is the sense in which vector graphics are resolution independent: increasing the output grid can evaluate the original geometry again. The resulting raster image still has finite spatial resolution, and numerical coordinates have finite precision. Enlarging a previously rendered raster image through interpolation instead works with its existing samples. Neither operation guarantees that arbitrarily thin details remain visible at every size.
An SVG path uses a current point and drawing commands. For example,
M 1 4 L 5 4 L 3 1 Z moves to , draws two line segments, then closes back to the starting point, giving a triangle. Uppercase commands use absolute coordinates; the corresponding lowercase commands use offsets from the current point. Thus M 1 4 l 4 0 l -2 -3 z describes the same triangle. The coordinates belong to the current user Cartesian coordinate system, not necessarily to output pixels.[ref]For a curved example, the path
M 1 4 Q 3 0 5 4 Z uses one quadratic Bézier curve followed by a closing line segment. With control points , and , its curved boundary isThe endpoints are , and ; the interior control point is not a point on the curve. A fill paints the enclosed region, while a stroke paints a band around its boundary with a chosen width. One can use either or both: geometry and paint instructions are distinct.[ref]https://www.w3.org/TR/SVG2/paths.html#PathDataQuadraticBezierCommands. W3C SVG Working Group, SVG 2, section 9.3.7: quadratic Bézier path commands
[ref]https://www.w3.org/TR/SVG2/painting.html#Introduction. W3C SVG Working Group, SVG 2, section 13.1: filling interiors and stroking outlines
The first illustration uses increasing downward, following the initial SVG coordinate convention. Its dashed control polygon guides the eye; it is not part of the filled path. Apply the affine mapThis combines horizontal scaling, a shear mapping and a translation. The transformed control points are , and , giving the path
M 4.5 5 Q 5.5 1 10.5 5 Z. Its curved midpoint is . The affine equivariance of a geometric basis explains why transforming only the control points transforms the entire Bézier curve: its weights sum to one, so the translation is added exactly once. The enclosed area is before transformation and afterwards. These checks concern the filled region, excluding the width of any stroke.An SVG
viewBox specifies a rectangle in user coordinates to map into a display region. For example, viewBox="0 0 6 6" in a square viewport of 120 by 120 display units gives a scale of 20 display units per user unit; in a square viewport of 600 by 600 it gives 100. The path's control points need not change. For unequal proportions, preserveAspectRatio controls whether the mapping preserves proportions or stretches the axes separately. These display units need not correspond one for one to physical display pixels.[ref]https://www.w3.org/TR/SVG2/coords.html#InitialCoordinateSystem. W3C SVG Working Group, SVG 2, section 8.4: initial axes and user units
[ref]Rasterization converts the geometric drawing into a raster image on a chosen grid. Deciding whether each pixel centre lies inside a filled region is a simple rule, but a moving diagonal boundary can make entire pixels switch abruptly. Antialiasing reduces these sampling artifacts by accounting for a footprint around each sample, rather than treating every pixel as a single inside-or-outside decision. This connects vector graphics to raster sampling and reconstruction and aliasing; a finer grid and a better sampling rule solve different parts of the problem.
For an exact analytical model, fill the region . For a square pixel footprint , letHere is geometric coverage, and is relative luminance for ideal opaque neutral shades, with and . The intersection and area determine how much of the footprint is covered. This is a specified area-average model, not a claim that every SVG renderer uses exact coverage. The SVG
shape-rendering property supplies rendering hints and permits implementation tradeoffs, including disabling antialiasing for some choices.[ref]On the grid of unit squares, has coverage , whereas the pixel centre lies inside and gives coverage 1 under the centre rule. The adjacent square has coverage but its centre lies outside. The entire filled area is . Summing exact coverage times cell area gives this value on both the and grids; the coarse centre rule instead gives 10. Coverage values are displayed after sRGB encoding of the modeled relative luminance. The thin coloured line is a geometry overlay, not an extra sampled stroke. Enlarging the middle panel by nearest-neighbor interpolation would repeat its sixteen values; re-rendering the geometry produces the 256 independently evaluated footprints in the right panel. Antialiasing reduces abrupt edges but cannot make a finite grid preserve every geometric detail.
The attractive feature of vector graphics is editability at the level of intent: move one control point to bend a boundary, change a circle's radius, or transform a whole diagram while keeping its parts aligned. Logos, technical diagrams and outline fonts benefit because their structure can be expressed with relatively few shapes and curves. A complicated photograph may require enormous geometric detail, so vector graphics do not imply a smaller file than raster graphics. Nor does an SVG container guarantee that every object is vector geometry: its
image element can embed or reference a PNG raster image. Transforming that embedded raster image changes its placement and reconstruction, but does not recover missing original detail.[ref]https://www.w3.org/TR/SVG2/embedded.html#ImageElement. W3C SVG Working Group, SVG 2, section 12.3: image elements and embedded raster content
Velocity encoding limit 2026-11-05
The velocity encoding limit, commonly written , specifies the velocity scale represented by a phase difference of magnitude in a chosen phase-contrast magnetic resonance imaging encoding. With equal gradient zeroth moments and first-moment difference , an ideal constant-velocity model givesThe gyromagnetic ratio is angular, in radians per second per tesla, and is the difference of gradient first moments. A sign convention must be specified separately. A 1982 original paper described obtaining motion information through phase-sensitive nuclear magnetic resonance encoding.[ref]
A flow velocity zeugmatographic interlace for NMR imaging in humans by P. R. Moran. Abstract; phase encoding of flow information; displayed relations are the stated model
Choose the convention . If , then produces . But produces , which wraps to when phase is represented in . A reconstruction that ignores this aliasing would report . The limit describes an encoding ambiguity, not a physical maximum speed of the fluid.
For a fixed phase uncertainty in this simple model, propagation gives . Reducing improves velocity sensitivity under that assumption while narrowing the unambiguous range. For example, radians and give . Real measurements must also account for background phase, intravoxel variation and timing. Gated measurements of cerebrospinal fluid show why timing within the cardiac cycle matters even when net displacement is small.[ref]
What the Nyquist Criterion Means to Your Sampled Data System Design by Walt Kester Created 2026-10-20 Updated 2026-11-05



