Hann window 2026-11-05
A Hann window tapers a record with a raised cosine. For the endpoint-symmetric convention with ,
It vanishes at the two stored endpoints. A periodic convention instead uses denominator , corresponding to sampling one cosine period without storing its repeated endpoint. SciPy's primary documentation distinguishes these with sym=True and sym=False; the default is symmetric.[ref] The adjacent Hanning window alias also supports the terminology used in older instrument documentation.
An original short-array example makes the difference concrete. At , the symmetric coefficients are , while the periodic coefficients are . Their means are and . A symmetric even-length array need not contain a coefficient equal to one, despite the nominal raised-cosine peak.
The coherent gain of a window is . It equals for the periodic Hann convention with , and for the symmetric convention with . A coherent complex tone gives windowed DFT magnitude at its exact bin, so amplitude recovery must use the chosen coefficient sum.
For the periodic convention, its discrete-time Fourier transform is obtained from the rectangular window transform by modulation:
The first central zeros lie at for the usual case, twice as far from the center as the rectangular window's first zeros. Smooth tapering reduces distant sidelobes while widening the central feature. Nearby frequencies and a weak component far from a strong one can therefore favor different window choices.
Noise normalization is another distinction. For , the periodic Hann coefficients obey and , giving equivalent noise bandwidth
in DFT bins. The manufacturer's table lists both coherent gain and noise bandwidth.[ref] Correcting a coherent amplitude does not make noise behave as though the rectangular weights had been used.
The original comparison below evaluates the finite 64-sample periodic Hann and rectangular coefficients at a dense frequency grid, normalizing each response by its own coefficient sum. The extra frequency samples display the same finite-record transform more finely; they do not create a longer observation.
Figure 1.
Original 64-sample rectangular and periodic Hann windows: lower distant sidelobes accompany a wider central lobe
. Each spectral curve is normalized to its own coherent peak. The horizontal frequency axis is measured in DFT-bin offsets. The first positive zeros are at one bin for the rectangular window and two bins for the periodic Hann window. Details.
Harmonic (wave) 2026-11-05
A harmonic component is a sinusoid whose frequency is a positive integer multiple of a specified fundamental frequency: . The fundamental itself is the first harmonic component. In a periodic Fourier series with period ,
the constant is a DC component, and the positive-frequency sinusoidal terms are the harmonic components. A component may have zero amplitude; a missing fundamental does not require the spacing of the remaining components to change. An overtone is a component above the lowest mode, but physical overtones need not be exact integer multiples.
For an original generation model, apply to a memoryless nonlinear device with and . The identity gives
The nonlinearity produces both a DC offset and a second harmonic component; they are different parts of the frequency spectrum. The second harmonic component's peak amplitude is , while the fundamental's is .
A linear time-invariant device in sinusoidal steady state cannot create this extra frequency from a single sinusoidal input; a nonlinear response, a different input component, or an unexcluded transient needs to be considered. In an actual measurement, the source's own harmonic components and the receiver's frequency response must also be accounted for. Anritsu's primary measurement procedure separately acquires the fundamental and selected harmonic components, with measurement calibration covering their frequencies.[ref] A discrete Fourier transform can instead separate a suitably sampled record; its bin amplitudes still depend on normalization and record length.[ref]
Invariance of noise-whitened spectral angles to the whitening factor means that any two complete whitening transformations for the same positive-definite covariance give the same angles between transformed shapes. Suppose square invertible matrices satisfy . Put . Since ,
Thus is orthogonal. It may rotate or reflect the whitened coordinates, but preserves their inner products, norms and angles. The noise-whitened angle between spectral signal and nuisance shapes is consequently a property of the shapes and covariance, not a particular whitening algorithm.
For an original example, choose
Direct multiplication gives . With and , the whitened shapes are and , meeting at . Using instead gives and , again at , although the coordinate components differ.
SciPy describes covariance whitening as transforming variables to unit covariance and illustrates it with a precision-matrix construction.[ref] The matrix proof above establishes the invariance independently of an implementation's chosen factor.
The same principle requires covariance-consistent rescaling of whitened spectral coordinates. If raw measurement units change by an invertible matrix , transform both shapes by and covariance by ; then reproduces the same whitened shapes. Changing a plotted channel's scale without transforming its noise model is not this invariant operation.
The claim assumes a full whitening of a positive-definite covariance. Truncating modes can remove information and change angles, while a singular covariance requires restriction to its supported range. Uncertainty in an estimated covariance is also separate from this exact algebraic invariance.
Near-null directions of a pressure sensor array are changes of a modeled pressure field that produce small, rather than exactly zero, changes in the sensor outputs. They distinguish an ill-conditioned reconstruction from the exact ambiguity in the null space of a spatial pressure measurement. A formally invertible response can still contain very little usable information about some pressure patterns.
Choose a finite basis for the pressure field and a linear response , where contains pressure coefficients, the readings, and measurement error. With common pressure units for the coefficients and readings, let
be a singular value decomposition. A change changes the noiseless readings by . Inverting that component divides the measurement error by . If the errors have covariance , the standard deviation of the reconstructed coefficient along is . An exact zero gives no inverse; a small nonzero value gives noise amplification.
An original two-region example has uniform pressures and sensor matrix
Both sensors mostly measure the same average. Write and . Then and . Uniform pressures give readings ; the markedly different pair gives only . The matrix is invertible, but these outputs differ by just in one channel.
If each channel has independent standard uncertainty, the direct contrast estimate is , with standard deviation about . The matrix’s smallest singular value is approximately , consistent with roughly uncertainty in the unit-length contrast direction. Nonnegative pressure constraints can restrict the admissible answers, but do not turn these noisy readings into precise contrast information.
Numerical rank depends on a chosen tolerance. SciPy’s pinned null-space implementation compares singular values with a relative cutoff and returns right singular vectors beyond the retained rank.[ref] A floating-point cutoff detects numerical scale; a physical decision about usable information must also consider sensor noise, response uncertainty and the chosen pressure basis. Rescaling a coefficient can change a raw singular value without changing the apparatus.
A noise-whitened pressure sensing matrix accounts for unequal or correlated measurement errors before comparing response strength. For positive-definite error covariance , analyze together with the same coefficient units and normalization. A duplicate noisy channel does not provide the same information as an independent measurement of the weak contrast.
Tikhonov regularization can limit amplification by using factors instead of . Relative to the true noiseless coefficient, this introduces attenuation . For and , that factor is about : the weak component is nearly suppressed. A smoother map can therefore have less noise while omitting real contrast. A proposed validation applies independently known pressure patterns that excite both average and contrast directions, repeats the measurements, and reports the error covariance and response-model uncertainty alongside reconstruction results.
Near-zero probability estimates in reciprocal plug-in rules can make a nominal randomization undefined even when the underlying probability estimate is unbiased. For an independent measurement calibration count , the empirical atom fraction has , but
Thus its reciprocal is not a finite statistic on every measurement calibration outcome. The binomial probability mass function supplies this zero-count probability directly.[ref]
In reciprocal-estimation bias in randomized atom inclusion, a fixed upper endpoint contributes actual probability and the auxiliary rule uses . Valid probabilities require a separate rule when , including zero. One possible numerical guard is with . It makes defined and between zero and one. It does not preserve the unbiasedness or the coverage properties of the unguarded formula.
For an original finite measurement calibration example, take , , , , and . A zero count occurs with probability about . On that outcome the guarded rule includes zero with probability , and its included duration-model probability is , below the nominal . Averaging over every measurement calibration outcome gives
The calculation assumes the future duration, measurement calibration sample, and auxiliary random draw have the stipulated independence, and the upper-endpoint probability is exactly .
Such finite-calibration guards for reciprocal endpoint randomization solve a domain problem, not a coverage proof. A validated upper probability bound can provide a different conservative construction under the parent's assumptions, but an arbitrary floor is not automatically such a bound. Calibration size, lower-tail events and the actual guarded rule must all enter the final joint-probability calculation.
Noise covariance between windowed Fourier bins describes the statistical dependence created when several spectral estimates use the same noisy record. A window changes not only each estimate’s equivalent noise bandwidth, but also the overlap of their frequency responses. Uncorrelated time samples therefore need not produce uncorrelated spectral bins after tapering.
Let independent zero-mean sample errors satisfy . Use real coefficients , nonzero sum , and coherent-amplitude-normalized estimates on the original -point grid,
Expanding their complex covariance and removing the vanishing cross terms gives
Thus the covariance is the Fourier transform of the squared window, evaluated at the bin difference. Its diagonal agrees with the equivalent noise bandwidth variance formula. SciPy’s spectrum/density scaling likewise uses the coefficient-square sum separately from the squared coherent sum.[ref]
For a rectangular window, the exponential orthogonality sum gives on this unpadded grid. This is a statement about covariance; independence additionally follows for an appropriate Gaussian noise model, not for every possible input distribution.
For the periodic Hann window, with ,
Its original-grid covariance has only five nonzero cyclic diagonals:
with bin indices modulo . Normalizing by the common diagonal gives adjacent-bin covariance ratio and second-neighbor ratio . The negative sign follows from this window’s placement in the record; changing the time placement can change covariance phases without changing their magnitudes. The periodic and symmetric coefficient conventions must not be interchanged in this finite calculation.[ref]
Figure 1. . Exact original N=16 grid covariance matrices for independent equal-variance sample errors. Each matrix is divided by its own diagonal variance, so the plot compares correlation structure rather than absolute noise level. The corner bands arise from cyclic bin indexing. No sampled experimental data or random simulation is used. Details.
Correlation of neighboring periodogram powers is different from the sign of this complex covariance. Suppose each input sample has independent Gaussian real and imaginary parts, each of variance , with all components independent across time. The nonconjugated second moments vanish. Gaussian fourth-moment pairing, as in Isserlis's theorem, then gives
Consequently neighboring Hann-bin powers are positively correlated despite the negative covariance of their complex amplitudes. If , their individual power variances are , and the variance of their arithmetic mean is
Treating them as independent would incorrectly give . For real Gaussian input, a further term enters the power covariance; the pseudo-covariance of a complex random variable and conjugate-frequency symmetry therefore need attention near paired bins and the real-valued endpoint bins.
Zero padding creates more closely spaced evaluations of the same record, not more independent noise realizations. Even a rectangular record generally has correlated estimates on that denser grid. Detrending, colored input noise and overlapping records change the covariance calculation too. SciPy exposes detrending and FFT-length choices explicitly; its default constant detrending must be disabled when testing the unmodified independent-sample model above.[ref]
A proposed numerical check generates many independent records with the stated noise distribution, computes the estimates with fixed coefficients, and compares empirical complex covariance and power covariance separately with the formulas. A physical noise test additionally needs a characterized acquisition bandwidth and an assessment of time-sample correlation. Averaging several correlated spectral values does not supply the same precision gain as averaging independent records.
A noise-whitened pressure sensing matrix measures how a contact pressure pattern changes sensor outputs relative to their joint noise, rather than their raw numerical size. For a linear measurement model
assume the error covariance is positive definite. Choose an invertible matrix satisfying . Then
The transformed errors have identity covariance. This is the whitening transformation documented in the primary SciPy covariance interface; its example obtains approximately identity sample covariance from simulated observations.[ref]
A Cholesky decomposition supplies . Compute and by solving triangular systems rather than forming an inverse unnecessarily. The least-squares residual becomes
Thus an output change is significant according to its noise covariance, not merely the Euclidean length of the raw readings. The original pressure basis and its units must still be stated; whitening rows does not remove arbitrary column rescalings.
For an original two-channel example, use numerical pressure values in kilopascals and
The separate standard deviations are and with correlation . A residual whitens to , giving squared length about . The residual instead whitens to , giving squared length . Treating the channels as independent would assign both residuals squared standardized length two. The positively correlated noise makes opposite-sign discrepancies much less plausible than a shared shift.
A simple repeated-measurement model illustrates the information consequence. If two sensors measure the same scalar pressure with equal standard deviation and correlation , their mean has variance . At the standard deviation is about , rather than the independent-channel value . Adding an almost duplicate channel therefore supplies little improvement for that common pressure.
The pressure-map information matrix is . In a full-column-rank linear Gaussian model with known , the unconstrained weighted least-squares estimate has covariance . Small singular values of identify near-null directions of a pressure sensor array after accounting for noise. Alternative whiteners differ by an orthogonal row transformation and give the same information matrix; an individual whitened row need not represent one physical sensing cell.
A proposed array characterization applies repeatable known pressure patterns, estimates the channel covariance from repeated residuals, and checks the covariance on independent repeats after whitening. Drift and response-model uncertainty must be included if they belong to the intended error model. If is singular, a simple inverse whitening is unavailable: exact zero-noise constraints and redundant stochastic directions need separate treatment. A visually smooth pressure reconstruction does not establish that its weak directions were measured precisely.
The null space of a spatial pressure measurement consists of changes to a contact pressure field that leave every measured channel unchanged. For a linear response model on a contact region , write
Then . Two fields have identical outputs precisely when their difference lies in this kernel of a linear map. The sensitivity kernels , their support and the admissible class of pressure fields are part of the model.
For an ideal area-average sensor, inside cell and zero elsewhere. A positive and negative perturbation within one cell can cancel in its integral while remaining invisible to the other cells. This is the mechanism behind spatial pressure-map resolution below a sensor cell. It is a nonuniqueness of the observations, even if their numerical values are exact.
An original finite model divides each of two equal-area sensor cells into two equal halves with constant pressures . The observed averages are
This matrix has rank two and a two-dimensional null space spanned by and . Thus the fields
both produce . Their peak pressures differ by . Adding an independent measurement of determines the first pair, but still leaves the second pair’s difference undetermined. An extra channel helps only if it adds an independent constraint on the missing directions.
The linear null space is not itself a set of physical pressure fields: its perturbations can have either sign. For a nonadhesive contact, require as well. With the uniform field above, perturbations are admissible for . Positivity restricts the ambiguity without removing it. In contrast, a zero area-average reading together with a nonnegative pressure assumption forces pressure to vanish almost everywhere in that cell under the ideal model.
For a chosen finite basis of pressure fields, a singular value decomposition identifies the matrix null space. SciPy’s pinned implementation constructs its basis from right singular vectors and uses a relative singular-value cutoff to determine effective numerical rank.[ref] A numerical cutoff and an exact zero singular value are different notions. Near-null directions of a pressure sensor array have small nonzero responses and can amplify measurement error: a dimensionless singular value of turns a channel-error component into a coefficient error when inverted without regularization.
A proposed apparatus check applies controlled local loads to estimate the sensitivity kernels, then compares fields with similar predicted channel outputs using independent spatial measurements. Contact area, load spreading and cross-coupling must enter that comparison. A reconstruction algorithm may select one smooth or nonnegative solution, but the selected structure is additional modeling information; it is not automatically an independently observed subcell pressure map.
Peak phasor versus positive-frequency Fourier coefficient distinguishes a real sinusoid's reconstruction amplitude from one coefficient in its two-sided exponential expansion. For ,
Thus the positive-frequency Fourier coefficient is half the peak amplitude phasor. The negative-frequency coefficient is its conjugate. A real sinusoid needs both; a complex exponential input has a different one-sided reconstruction.
The distinction also controls a sampled record. For evenly spaced samples of a real sinusoid with exactly cycles in the record and , use the unscaled forward discrete Fourier transform
Orthogonality of the discrete exponentials gives . Consequently
The default SciPy forward FFT has exactly this unscaled convention; its forward and orthonormal modes have different factors.[ref]
For an original example, sample volts. Then volts and volts. Dividing by 64 gives the positive-frequency coefficient volts; doubling it recovers the peak phasor. The RMS amplitude is volts.
These exact relations assume coherent sampling of the stated sinusoid without aliased extra components. DC and, for even , the Nyquist bin do not have distinct conjugate partners and must not be doubled. With a noninteger number of cycles or a windowed record, finite-record phasor extraction with coherent sampling must be distinguished from a generic bin readout; spectral leakage and the window's amplitude normalization alter the estimate. The parent peak amplitude phasor specifies the continuous-time convention before any sampled transform is chosen.
A pressure-map information matrix quantifies which coefficients of a modeled contact pressure field are constrained by a sensor array, relative to its measurement noise. For with fixed positive-definite error covariance , define
Here is the noise-whitened pressure sensing matrix. Whitening removes the output-noise covariance from the residual metric; the primary SciPy covariance interface documents this transformation and demonstrates near-identity covariance on simulated observations.[ref]
The matrix is positive semidefinite because . Its null space is exactly the null space of : an unobserved pressure change remains unobserved after invertible row whitening. With independent Gaussian errors of known covariance, the log likelihood is a constant minus . Differentiating twice with respect to gives negative Hessian , identifying it as the Fisher information for this stated model.
If has full column rank, weighted least squares gives
This covariance follows by substituting and multiplying the error matrices. It concerns the unconstrained linear estimator with known response and covariance, not every reconstruction algorithm. Nonnegativity constraints, regularization and uncertain sensitivity kernels require additional treatment.
An original two-cell example begins with one average-pressure measurement, , with standard error. In numerical kilopascal coordinates,
Its eigenvalues are and zero: the mean is observed, but the pressure difference is not. A second independent copy doubles the information matrix while leaving the difference unobserved. More repeats of the same mixture improve precision only in the already measured direction.
Instead add a direct measurement of the first cell with the same independent error. Now
The inferred first-cell pressure has standard deviation and the second . Their errors are negatively correlated because the second pressure is reconstructed by subtracting the first from twice the measured mean.
A rank-one update of pressure-map information follows when an independent new channel has sensitivity row and error variance : its added information is . A channel aligned with a weak pressure direction can therefore be more useful than another precise copy of a strong direction. Correlated new errors cannot be added by that independent-channel formula.
A proposed characterization uses repeatable known loading patterns to estimate , independent repeats to estimate , and withheld patterns to test predicted reconstruction covariance. State the pressure basis and units: rescaling a coefficient changes the numerical information entries. A sharp reconstructed image or a large matrix determinant alone does not establish that the underlying response model or noise assumptions are correct.
Pseudoinverse fitting with a parameter-dependent covariance range requires checking the allowed residual subspace separately for each fitted parameter. If the covariance is and the residual is , the range restriction in singular-covariance spectral fitting becomes
The Moore-Penrose inverse quadratic alone does not enforce this condition. A projector computed at one trial parameter need not describe another trial's allowed noise.
For an original example, let , zero mean and . Noise lies on a line that rotates with . With observation and , the model at permits the observation and gives quadratic value four. At , the pseudoinverse quadratic is zero, yet the observation is outside the allowed vertical line. Minimizing that quadratic without its range constraint would reward an impossible candidate.
The pinned SciPy documentation describes singular-covariance evaluation using pseudo-determinants, pseudoinverses and covariance rank; its implementation additionally applies a numerical support mask and returns zero density, or negative-infinite log density, off support.[ref] Parameter-dependent supports also require care about which measure defines a density. Values defined on different subspaces are not automatically a common likelihood merely because each uses the same-looking formula.
A physically justified transverse noise resolves the idealized singularity. With perpendicular unit vector , use . For , the two quadratic values become four and four hundred. The determinant is the same at these orientations, so this full-rank Gaussian model correctly disfavors the transverse observation.
The transverse-noise limit of a rotating rank-one covariance model is an inference about a stated physical noise model, not permission to add arbitrary diagonal noise for numerical convenience. In spectral work, distinguish a parameter-dependent physical noise direction from a fixed deterministic rebinning matrix; the latter has a fixed output range when its input covariance is positive definite.
Quantiles of a clipped Gaussian acquisition duration assign probability levels to a recording extension whose distribution has a point mass at zero. Under the model of Gaussian input uncertainty at a clipped acquisition-time threshold, let , , and for fixed . Its zero mass is .
Using the lower generalized quantile for gives
Equivalently, . The constant branch is essential: directly using a negative untruncated normal quantile would assign an impossible negative duration. SciPy's normal-distribution documentation identifies ppf as the inverse cumulative distribution function used for the Gaussian part of this calculation.[ref]
For an original threshold example, take , and . Half the probability is at zero, so the median is zero. The 90th and 95th percentiles are approximately and . The one-sided interval has probability under this stated model.
A nominal equal-tail 95 percent construction behaves differently: actually contains probability . Its lower endpoint includes the entire zero atom instead of excluding a 2.5 percent lower tail. This coverage excess from central quantiles at a zero-duration atom is a property of the mixed distribution, not a rounding error.
Quantiles describe uncertainty in the conditional acquisition requirement. They are not automatically a frequentist confidence set for an unknown fixed physical duration, nor a worst-case guarantee on unrecorded optical energy. NIST explains why an interval's probability interpretation requires the underlying distributions and assumptions.[ref] Propagate any uncertainty in decay time or other envelope parameters jointly before applying this fixed- formula.
Randomized endpoint inclusion at a zero-duration atom adds an independent random decision about whether an interval contains the atom, allowing an exact included probability under a specified distribution. Let the duration have zero mass and a continuous positive part. For a nominal central level , put , and assume . Choose upper endpoint with .
The coverage excess from central quantiles at a zero-duration atom shows that the closed set has probability , while has probability . Draw an independent and report
Then the joint probability over both and the auxiliary random draw is
The independence assumption is essential to the multiplication .
For an original example, let and . The endpoint is included with probability . The positive part contributes probability and randomized zero inclusion contributes , totaling . An individual reported set is still either closed, with duration-model probability , or open at zero, with probability . Exact applies to the randomized procedure jointly, not conditionally to each realized set.
The distribution sensitivity of randomized zero-endpoint probabilities matters if or the upper endpoint is estimated inaccurately. Plugging a guessed atom probability into does not establish the same equality for the true distribution. The pinned numerical reference documents a standard uniform distribution and its random-variates method, while its normal cdf/ppf methods evaluate the Gaussian component when the duration comes from a clipped normal input.[ref]
This is a mathematical probability construction. It does not remove the atom physically, improve measurement precision, or create a worst-case guarantee on missed optical energy. Its randomization rule and probability interpretation must be specified as part of the procedure.
A rank-one update of pressure-map information describes the extra constraint supplied by one independent scalar pressure measurement. Suppose the existing pressure-map information matrix is , and a new sensor reports with known variance , independent of the existing errors. Adding its squared residual to the weighted least squares objective gives
The added matrix has rank one when . It is positive semidefinite because its quadratic form is . Thus the new observation cannot reduce information in any direction under this fixed linear map and noise model. The noise normalization is the same whitening transformation used to express a correlated residual metric as an ordinary squared norm.[ref]
The update can remove a missing direction only if the new channel actually sees it. More precisely,
This follows because a sum of two nonnegative quadratic forms is zero exactly when both are zero. Repeating an existing mixture improves its precision but cannot identify a pressure contrast that all mixtures annihilate.
When is positive definite, write . The Sherman–Morrison formula yields the updated estimator covariance matrix
Multiplication by verifies the identity directly. For a particular quantity , its variance falls by . A small noise level is valuable only together with a useful sensitivity direction.
For an original calculation in kilopascal coordinates, let , and . Then
The variance of the sum drops from to . The negative off-diagonal entry means the two inferred coefficients now have negatively correlated errors; it does not mean either individual variance is negative.
A correlated-channel update of pressure-map information needs the new channel's residual after predicting it from old channel noise. Simply adding double-counts information when a common amplifier or reference contributes correlated errors. A proposed array experiment uses repeated known loads to estimate sensitivity and noise separately, adds one channel, and compares withheld-load errors with . Agreement tests the full assumed model, including independence and unchanged sensor response, rather than the matrix identity alone.
Reciprocal-estimation bias in randomized atom inclusion quantifies the nonlinear plug-in loss beyond the sign supplied by Jensen's inequality. Keep the independent-calibration model of atom-probability error in a randomized endpoint rule: true atom probability , unbiased estimate , and included probability , with the upper endpoint calibrated to actual probability . Assume , , and .
The exact algebraic identity
gives
Thus the loss depends on squared errors weighted by the reciprocal estimated probability. The second-order delta method approximation is , but the exact remainder shows why small estimated probabilities deserve particular attention.
If almost surely for , a nonasymptotic bound is
For an original small-error example, let , let measurement calibration return or equally often, and take , . Here and the variance is . The exact included probability is about ; the second-order approximation is , while the bounded-error calculation puts the coverage loss between about and .
The bounded-relative-error assumption can fail for a finite binomial measurement calibration: an empirical atom fraction can be zero with positive probability. Such near-zero probability estimates in reciprocal plug-in rules require an explicitly defined guard or different measurement calibration model, not division by zero. The auxiliary endpoint decision must remain independent of the future duration and measurement calibration as stipulated. The documented uniform random-variates construction supplies that auxiliary randomness; it does not validate the atom estimate.[ref]
Reciprocal moments of an estimated variance determine whether a precision estimate such as has a finite expected value or variance. Small positive values of a sample variance become large values after inversion. An unbiased estimator of a variance therefore need not give an unbiased or even integrable estimate of its reciprocal.
For , let be independent normal random variables with common mean and variance . For the unbiased sample variance , put . Then has a chi-squared distribution. Its probability density function is for .[ref]
For any real , direct integration and the Gamma function give
The convergence restriction is essential: near zero the integrand has exponent , so the integral diverges when . Substitution of a negative Gamma function argument into the displayed quotient does not define a nonexistent moment.
Rescaling gives the useful general result
In particular, the mean reciprocal exists for , while its variance requires :
For the mean is , the variance is and the coefficient of variation is . For the mean is finite but the variance is infinite. For even the mean diverges. Increasing the number of groups does not repair a nonexistent moment of each raw reciprocal estimate.
Inverse-variance weighting commonly normalizes these reciprocals. Those normalized weights lie between zero and one, so their moments can exist even when the raw reciprocal moments fail. This distinction matters in uncertainty in estimated inverse-variance weights: neither the moment calculation nor a plug-in precision formula alone establishes the accuracy of the final weighted estimator. The results here use the exact normal-sample law; a nonnormal sample requires a different analysis.
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 transform
where 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 response
At 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.
Sign-sensitive measurements that resolve a covariance-axis ambiguity add an observable whose distribution changes when the fitted axis direction is reversed. In the global orientation ambiguity in a rank-one covariance fit, and give the same covariance. An independently calibrated signed projection can distinguish them.
Consider two candidates with an additional observation , where is known, has known positive sign and . Assume this calibration reading is independent of the covariance data conditional on the candidate. The Gaussian densities give
The normal density and cumulative distribution function used here are documented in the pinned numerical reference.[ref] The likelihood-ratio expression follows by expanding the two squared residuals.
For an original example, let , and observe . The log likelihood ratio is 16, strongly favoring the positive candidate under this stated model. With equal prior probabilities and equal decision costs, the sign-threshold decision has repeated-measurement error probability . This decision-error probability is different from assigning a posterior error probability to that one observed value.
A practical calibration applies a known signed perturbation and records the signed detector-response component. Reversing the applied perturbation checks readout polarity. A calibrated phase-sensitive readout can provide such a projection; measuring only noise covariance does not supply its sign.
The failure of sign recovery from magnitude-only calibration data is important. For symmetric Gaussian noise, has the same distribution under means and . If is orthogonal to the axis, then and even the signed reading adds no separation. If the amplitude sign itself is unknown, reversing both amplitude and axis preserves the mean. The additional measurement resolves the ambiguity only when its reference sign and response model are independently established.
Spatial pressure-map resolution below a sensor cell concerns which variations of a contact pressure field can actually be distinguished by spatial measurements. A smaller display pixel does not imply a smaller independently measured contact region. The response of a pressure sensor, its sampling positions and any imposed reconstruction assumptions must be specified.
For an original ideal array model, cell of known area reports an area-average pressure,
It determines that cell’s load , but not every value inside it. For a more general linear response, with known sensitivity . The null space of a spatial pressure measurement consists of perturbations whose weighted integrals vanish for all measured channels. Nonnegative fields that differ by such a perturbation remain indistinguishable in that model.
Consider square cells of side aligned with , and compare fields independent of :
Every cell contains one full cosine period, so both fields give every channel the identical value . Yet varies between and . With and , a perfectly uniform field and a field spanning – produce the same ideal map. On an aligned finite rectangular array, the added cosine also has zero first moment within each cell, so even the global resultant and center of pressure agree. This is an inverse-problem construction, not a claim that both profiles arise from the same elastic contact geometry.
Cell averaging has a calculable spatial response. For a one-dimensional centered interval of width , averaging a complex wave multiplies its value at the interval center by
The first zero at explains the erased cosine above. Sampling introduces further ambiguity; even translating this ideal array cannot recover a component erased by its aperture at every position.
A regularity assumption can supply a conditional bound. If has a validated spatial Lipschitz constant over a square cell, its center value differs from its area average by at most
Every point in the cell is at most half the diagonal from its center, so integrating the Lipschitz inequality proves this bound. For and , it gives about . The array readings alone do not establish that slope bound.
Interpolation chooses a finer representation from the measured values. SciPy explicitly describes its array zoom operation as spline interpolation; it does not describe collecting new pressure data.[ref] A proposed apparatus test scans a known small indenter across a sensor array at controlled total load, comparing independent load measurements with channel responses. The indenter’s actual contact area, load spreading, sensor cross-coupling and repeatability must be measured before inferring a spatial response. Additional smaller-aperture measurements or justified mechanical constraints can improve identifiability; a smoother image alone supplies neither.
Spectral leakage bias in harmonic distortion measurements occurs when a finite record spreads a strong component into bins interpreted as distinct harmonics. A waveform can have zero physical total harmonic distortion while a naive FFT-bin ratio reports otherwise. Confining a sinusoid to a finite interval creates spectral sidelobes; the pinned primary guide derives this leakage from the finite-time Fourier transform.[ref]
For an exact discrete calculation, take , where is the number of cycles in the record. With the unscaled forward discrete Fourier transform, a finite geometric sum gives
where
whenever the denominator is nonzero, with the finite-sum limit elsewhere. Integer-cycle coherent sampling makes the unwanted integer bins cancel; a noninteger cycle count generally does not. The negative-frequency contribution also matters because the input is real.
For an original pure-tone example, let , , and . Its true higher-harmonic amplitudes are zero. Yet choosing the nearest bins , , and for the fundamental, second and third harmonic gives
A naive result would be about distortion from this undistorted sinusoid. This is an exactly specified record calculation, not an instrument's measured distortion floor.
A window reduces some sidelobes at the cost of a broader main lobe and a changed amplitude normalization. Its coherent gain of a window must be treated consistently, and one cannot assume that one selected bin captures a noncoherent tone's full amplitude. Zero padding samples the same finite-record spectrum more densely; it does not restore missing observation time or remove leakage.
A measurement can instead synchronize the source and acquisition for an integer number of cycles, fit a justified sinusoidal model, or use a validated window/band-integration method. The finite-record phasor extraction with coherent sampling gives a particularly transparent exact case. Calibrated receiver response and actual harmonic coverage remain necessary, as in the primary Anritsu apparatus.[ref] Power spectral density and squared-amplitude spectrum outputs also have different units; an arbitrary square root of a density bin is not a calibrated harmonic amplitude.[ref]