Begin with a transform that can be checked analytically
Consider a long slit system whose transmitted scalar field varies along one transverse coordinate \(x\). At a distant observation point in direction \(\theta\), a small aperture element accumulates an approximate relative phase \(-k x\sin\theta\). The Fraunhofer amplitude is proportional to \(\int A(x)e^{-2\pi i f x}\,dx\) with spatial frequency \(f=\sin\theta/\lambda\). The approximation neglects the quadratic phase across the aperture; either a suitable lens or sufficient propagation distance is needed. A numerical Fourier transform cannot cure violation of this optical assumption.
Take the ideal aperture field \(A(x)=e^{-x^2/w^2}\) and normalise far-field amplitude by its on-axis value. Integrating by parts or completing the square gives
One derivation avoids any complex contour: differentiate \(F\) with respect to \(f\) and replace \(xA=-(w^2/2)A'\). Integrating by parts gives
Solve this first-order equation with the measured \(F(0)\). Thus a wider beam on the aperture narrows the far-field distribution. Squaring the amplitude gives the intensity measured by an ordinary detector.
At \(w=1\) mm, the \(1/e\) amplitude spatial frequency is \(1/(\pi w)\simeq0.3183\) cycles/mm. For 500 nm light this is a small angle of \(1.59\times10^{-4}\) radians. An instrument calibrated in radians per millimetre rather than cycles per millimetre would need a factor \(2\pi\); stating the Fourier convention prevents that frequent scale discrepancy.
What the instrument has really sampled
A scanner covers \(-W\le x\le W\) and gives one amplitude at each of \(N\) equally spaced cell midpoints. The numerical transform is the weighted sum \(\Delta x\sum_j A(x_j)e^{-2\pi ifx_j}\), where \(\Delta x=2W/N\). By symmetry its imaginary part vanishes for a perfectly centred real Gaussian; the program sums the cosine projection. It normalises by the numerical on-axis amplitude, allowing us to compare shapes on a common vertical scale.
Two separate approximations have entered. Truncating the aperture multiplies the field by a rectangle. In frequency space this convolves the Gaussian spectrum with a sinc and can produce signed sidelobes. Sampling at regular intervals makes the spectrum repeat up to a phase convention, with alias copies separated by \(1/\Delta x\). Increasing \(W\) at fixed \(N\) reduces truncation but worsens sampling. Widening the field of view and adding more detector pixels are not interchangeable changes.
Design a convergence test with two axes
Keep \(w=1\) mm and select 40 samples. Compare \(W=w\) and \(W=3w\). The aperture field at the boundary falls from \(e^{-1}\) to \(e^{-9}\), so an apparent sidelobe associated with the abrupt window should decrease strongly. Next fix \(W=3w\) and lower the number of samples. The displayed Nyquist frequency falls as \(\Delta x\) grows. When a plotted point lies above it, a smooth-looking value is an aliased sample of the periodic discrete spectrum.
At \(W=2w\), a centred Gaussian retains the on-axis amplitude fraction \(\operatorname{erf}(2)\simeq0.9953\) if integrated exactly. The normalised plot hides this 0.47% loss at zero frequency. If absolute power calibration matters, repeat the experiment without normalisation and independently integrate \(|A|^2\) across the aperture. A shape comparison and a throughput comparison are different measurements, both meaningful.
Recover a size from a far-field measurement
Suppose a detector measures the intensity falling to one half at \(f_{1/2}\). Since \(I/I_0=e^{-2(\pi wf)^2}\), the inferred \(w\) is \(\sqrt{\ln2/2}/(\pi f_{1/2})\). For \(f_{1/2}=0.1874\) cycles/mm the radius is about 1 mm. If the instrument actually reported amplitude half-width the corresponding formula would have \(\sqrt{\ln2}\) in the numerator; the radius would differ by a factor \(\sqrt2\). The raw measured quantity and its threshold should accompany any quoted fitted radius.
A positive intensity cannot distinguish a negative sidelobe amplitude from a positive amplitude of the same magnitude. To observe the sign change shown by the finite-window amplitude curve, interfere the field with a phase reference. Conversely, when comparing with a camera image, square the signed numerical amplitude once and apply the detector pixel average. Comparing a real-amplitude plot directly with a recorded intensity array is an avoidable model mismatch.
Tutorial
How could one distinguish an intrinsic physical sidelobe from ringing produced by the scanner window without a known reference aperture?
Work through the solution
Increase the scanned width while keeping \(\Delta x\) fixed by adding samples. Window artefacts should change as the omitted tails shrink. Repeat with a different smooth weighting and report its effect on resolution. An intrinsic feature that survives these tests can then be compared against an independent physical model.
At \(W=3\) mm and \(N=24\), what spatial frequencies can be represented without aliasing, and what does adding zero padding do?
Work through the solution
\(\Delta x=0.25\) mm, so the Nyquist limit is 2 cycles/mm. Zero padding supplies more displayed frequency samples of the same discrete transform. It adds no measured aperture detail and cannot resolve aliasing already present in the original samples.
A beam shifted by \(x_0\) within a sufficiently wide window has the same far-field intensity. What information changes?
Work through the solution
Substituting \(x'=x-x_0\) in the Fourier integral multiplies its amplitude by \(e^{-2\pi i f x_0}\). The phase ramp records the displacement; the intensity is invariant. A truncated window may break this invariance by clipping different amounts of field.