Skip to main content
Sandbox Physics

Optics 061 · Diffraction, Fourier optics, and computational imaging

Talbot Carpet

Slide an absorbing sensor through finite amplitude or phase gratings. Explore shifted and fractional Talbot images, crossed two-dimensional patterns, source tilt and real edge diffraction against an explicitly ideal periodic reference.

Interactive modelTalbot Carpet
Full unshifted recurrence / actual sensor distance zT,zz_{\rm T},z0.500.50
Mask transmission / finite-window mean intensity T,I‾windowT,\overline I_{\rm window}50%50\%
Finite carrier side / sensor pixel pitch L,ΔxL,\Delta x0.00π0.00\pi
Model regimevalid model regime\text{valid model regime}

Physics tutorial

Audit the physics of Talbot Carpet

BackgroundAn infinitely periodic field has discrete transverse spatial frequencies. Under Fresnel propagation their phases realign after zT=2d2/λz_{\rm T}=2d^2/\lambda. This is the full unshifted field recurrence, not the half-distance convention used in some literature.

Why it mattersWhy does a periodic grating reproduce shifted and multiplied copies of itself during propagation?

Start with the essentials

Focus question
Why does a periodic grating reproduce shifted and multiplied copies of itself during propagation?
One-sentence intuition
At half this distance every even harmonic keeps its sign and every odd harmonic reverses it: uzT/2per(x)=tper(x−d/2)u^{\rm per}_{z_{\rm T}/2}(x)=t^{\rm per}(x-d/2). That sign pattern translates the whole field half a pitch. Pure phase transmission can still look uniform in intensity.

Core mathematical model

One mask, two physical behaviours

A(x)=1∣x∣<Nd/2gD(x)=∑n1∣x−nd∣<Dd/2tamp=AgDtphase=A[1+(eiϕ−1)gD]\begin{aligned}A(x)&=\mathbf1_{|x|<Nd/2}\\g_D(x)&=\sum_n\mathbf1_{|x-nd|<Dd/2}\\t_{\rm amp}&=A g_D\\t_{\rm phase}&=A[1+(e^{i\phi}-1)g_D]\end{aligned}

Opening fraction sets real slit width. The amplitude mask blocks light outside the openings; phase stripes change amplitude phase, not intensity transmission. The aperture envelope is finite. The programmed phase is specified at the chosen wavelength, not inferred from an unspecified material.

Actual finite acquisition

uz(x)=1iλz∫−Nd/2Nd/2t(ξ)eiπ(x−ξ)2λz dξUz(x,y)=uz(x)vz(y)\begin{aligned}u_z(x)&=\frac{1}{\sqrt{i\lambda z}}\int_{-Nd/2}^{Nd/2}t(\xi)e^{\frac{i\pi(x-\xi)^2}{\lambda z}}\,\mathrm d\xi\\U_z(x,y)&=u_z(x)v_z(y)\end{aligned}

Common longitudinal carrier omitted. Slit endpoints give Fresnel C and S differences. A striped mask has a clear finite vertical window; a crossed mask is the separable product of two gratings. No periodic boundary is used for this acquisition.

Separate infinite-periodic reference

uzper(x)=∑m=−MMcme2πimx/d−iπλzm2/d2cmamp=D sinc⁡(mD)cmphase=δm0+(eiϕ−1)cmampM=96\begin{aligned}u^{\rm per}_z(x)&=\sum_{m=-M}^M c_m e^{2\pi imx/d-i\pi\lambda zm^2/d^2}\\c_m^{\rm amp}&=D\,\operatorname{sinc}(mD)\\c_m^{\rm phase}&=\delta_{m0}+(e^{i\phi}-1)c_m^{\rm amp}\\M&=96\end{aligned}

Sinc means sin of pi times its argument divided by that product. The zero order is essential. Periodic transmission omits the finite carrier envelope. This finite harmonic reference has edge ringing and a small omitted power tail; it is neither a finite-mask acquisition nor a full-wave prediction.

Fractional copies add as amplitudes

uzT/4per(x)=1−i2tper(x)+1+i2tper(x−d/2)uzT/3per(x)=∑j=02ajtper(x−jd/3)aj=13∑m=02e−2πim2/3+2πimj/3\begin{aligned}u_{z_{\rm T}/4}^{\rm per}(x)&=\frac{1-i}{2}t^{\rm per}(x)+\frac{1+i}{2}t^{\rm per}(x-d/2)\\u_{z_{\rm T}/3}^{\rm per}(x)&=\sum_{j=0}^2a_jt^{\rm per}(x-jd/3)\\a_j&=\frac13\sum_{m=0}^2e^{-2\pi im^2/3+2\pi imj/3}\end{aligned}

These equalities describe the untruncated infinite-periodic limit, not the finite acquisition or truncated reference. Quarter-plane coefficients follow the even/odd harmonic phases. With amplitude openings narrower than one third pitch, third-plane copies are separate. Wider copies overlap coherently, so multiplying intensity stripes is not a valid general rule. Finite edges spoil exact repetition.

Tilt, pixels and transmission are distinct

Iθ(x,z)=I0(x−zθx,z)Iab=1Δx2∬pixelab∣Uz∣2 dx dyTamp=D1+b,Tphase=1\begin{aligned}I_{\theta}(x,z)&=I_0(x-z\theta_x,z)\\I_{ab}&=\frac1{\Delta x^2}\iint_{\mathrm{pixel}_{ab}}|U_z|^2\,\mathrm dx\,\mathrm dy\\T_{\rm amp}&=D^{1+b},\quad T_{\rm phase}=1\end{aligned}

Tilt shears the carpet and moves the pattern on the sensor. Mean intensity within the six-pitch window is not total transmitted power. The camera and enlarged data use identical area-averaged pixels; the carpet is an independently evaluated point-intensity scan, not a one-frame reconstruction. Display gain never changes raw values.

Why real self-images are not perfect

kz=k2−kx2−ky2kz≃k−kx2+ky22kΔx=d/32\begin{aligned}k_z&=\sqrt{k^2-k_x^2-k_y^2}\\k_z&\simeq k-\frac{k_x^2+k_y^2}{2k}\\\Delta x&=d/32\end{aligned}

The solver uses the quadratic paraxial phase, ideal coherence and abrupt thin boundaries. High-angle edge components, finite bandwidth, limited coherence and pixel integration limit fine detail. Only finite-carrier diffraction and pixel integration are included here; no infinite fractal or external scientific certification is claimed.

Common difficulties

Uniform intensity does not mean no self-image

Typical misconceptionEvery Talbot plane must show bright copies of a phase grating.

Better mental modelA lossless phase grating has uniform intensity at the mask. Its ideal field revival restores that phase pattern, not visible amplitude stripes. Contrast can develop at fractional planes. Finite carrier edges add diffraction.

Run the experiment

  1. 01

    Scene 1: Unshifted finite revival

    Start with amplitude stripes. Compare half and full recurrence; inspect the finite mask openings and actual sensor front.

    What to observe: Half distance shifts the ideal pattern half a pitch; full distance restores unshifted field.
  2. 02

    Scene 2: One third · three copies

    Use the third-plane preset. Widen openings until the three coherent copies overlap; compare with the periodic reference.

    What to observe: Narrow amplitude openings separate fractional copies; broad copies interfere instead of simply multiplying intensity.
  3. 03

    Scene 3: Phase to intensity · crossed grid

    Switch to crossed phase stripes. Compare quarter-distance contrast with full-distance uniformity, then reduce the finite period count.

    What to observe: Phase revival can look uniform. A finite carrier and area-averaged detector prevent perfect sharp repetition.
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy