The box first selects the wavelengths
In a square of side , opposite edges are identified: periodic boundaries. A wave must return to its starting phase after crossing the box. Each direction can therefore contain only an integer number of periods.
Label modes by integers . The zero mode changes every position together. Other modes vary in space. In the default box , transverse mode has wave number about , inside the unstable continuous interval from the preceding chapter.
A no-flux wall imposes zero normal concentration gradient and admits a different family of standing waves. Boundaries are part of the model: changing them can change the selected mode with identical reaction kinetics.
Reading: A. M. Turing
Extract one component from the whole image
Multiply every grid value by the complex conjugate of a chosen wave and average over the domain. Matching phases add; other complete periods cancel. This gives the Fourier coefficient . Its modulus separates amplitude from the phase change caused by translating a pattern.
Growth points come from saved tiny-disturbance simulations, with theoretical eigenvalues drawn separately as reference lines. The colorful main field evolves until its spots are visible. These separate stages test early growth and display the later pattern.
Preparing the two concentration disturbances in the ratio of a growing eigenvector reduces transients. Perturbing only one species generally excites both growing and decaying components, so the earliest interval need not follow a single exponential.
Fit the interval that remains linear
For , the natural logarithm is a straight line. Fit against time to estimate its slope. Several samples reveal curvature or transients more clearly than a ratio of two frames.
A very early window may mix several components; a late window includes nonlinear reaction changes. Move both ends of the window and check whether the slope remains stable. Inspect the amplitudes as well: a tiny signal near rounding error can give a misleading line.
In a deterministic simulation without observation noise, fitting residuals reflect transients, nonlinearity and numerical error. They are not uncertainty across biological specimens. Studying noise requires a specified random process, seeds and independent repeated records.
A grid has its own spectrum
The five-point stencil approximates the Laplacian using neighboring values. With spacing , a wave receives the discrete eigenvalue below instead of exactly . Short waves show the largest difference.
First compare fitted points with theory for the same grid, which tests time integration and record processing. Then refine the grid and compare with continuous theory. Reducing the time step cannot remove spatial error from an inadequate grid.
Keep the physical box, reaction parameters and mode numbers fixed during refinement. Record the grid, step size, boundaries and fitting window so that another reader can repeat the same comparison.