Skip to content

Stack Formula

Stack Formula builds a coating from the quarter-wave shorthand coating engineers write by hand. It opens with the design’s front coating written in that shorthand; type a formula, check the layers and the spectrum it gives, then write it into the design.

(H L)^8 H 17-layer quarter-wave mirror
0.5H L H 0.5L fractional quarter waves
LHLHL6HLHLH a run of single letters with a 6H spacer
Hi Lo Hi Lo Med your own symbols

Stack Formula

  • The layers in Design Editor numbering, each with its material, QWOT at λ0\lambda_0 and physical thickness dd (nm), plus the layer count and the total thickness.
  • T and R in percent at normal incidence, averaged over s and p, from 0.5 λ00.5\,\lambda_0 to 1.75 λ01.75\,\lambda_0 with λ0\lambda_0 marked. The coating sits on the substrate taken as semi-infinite, so the back surface is left out. For the back coating it is seen from the exit medium.

A formula that does not parse shows its error and the character position where it was found, and the preview stays blank until it is fixed.

Reference λ₀ (nm): the wavelength at which a coefficient turns into a thickness.

Symbol → material: assigns a material to each symbol. The rows come filled in from the design’s materials ranked by index at λ0\lambda_0, H the highest and L the lowest, or as H, L, M for TiO2, SiO2 and Al2O3 on an empty design. A symbol the formula uses but nobody assigned gets a new row with a material picker. A material name such as SiO2 or BK7 works without a symbol.

Start from substrate, on by default: the first layer written is the one on the substrate. Off, the first layer written faces the incident medium.

Incident medium, Substrate and Exit medium set the media; Apply to picks Front, Back or Both. On a symmetric design the formula goes on the front and the back mirrors it.

Append puts the layers on the outside of the existing coating, Replace writes them over the coating and sets the media and λ0\lambda_0, and New design makes a design from the formula in the selected project folder. Append and Replace are one undo step, and the formula is kept with the design.

  • A coefficient before a symbol is the layer’s optical thickness in quarter waves at λ0\lambda_0: 2H is a half wave of H, 0.5L an eighth wave of L. A bare symbol is one quarter wave.
  • (...)^n repeats the group nn times. Groups can nest.
  • Single-letter symbols can run together, with whole-number coefficients inside the run: LHLHL6HLHLH reads L H L H L 6H L H L H. Multi-letter symbols and material names stay separated by spaces.
  • A formula holds the layers alone. The incident medium, substrate and exit medium are set in the media fields, and a formula written with | media is refused.

A layer of coefficient cc and index n(λ0)n(\lambda_0) has (Macleod, Section 3.1):

d=c λ04 n(λ0)QWOT=4 n(λ0) dλ0=c\begin{aligned} d &= \frac{c\,\lambda_0}{4\,n(\lambda_0)} \\ \text{QWOT} &= \frac{4\,n(\lambda_0)\,d}{\lambda_0} = c \end{aligned}

with nn the real part of the material’s index at λ0\lambda_0. A material with no index at λ0\lambda_0, past a pole of its dispersion formula, has no quarter wave there, and the formula is refused rather than built 0 nm thick. At λ0\lambda_0 a quarter-wave layer of admittance η\eta turns an admittance YY into η2/Y\eta^2/Y and a half-wave layer leaves it unchanged, which is why stacks written this way are easy to reason about.

  • H. A. Macleod, Thin-Film Optical Filters, 5th ed., Section 3.1, pp. 65–66: quarter- and half-wave optical thicknesses and the H, M, L notation.