The tool returns two different views of the same simulation. Both answer design questions; they do not answer the same one.
View 1 — mean and σ bands at each wavelength
At every wavelength the tool reports the mean, the standard deviation, and the ±1σ and ±2σ envelopes of the perturbed spectra. On the reference stack at 550 nm:
- Mean R ≈ 1.28 % — slightly above the nominal 1.26 % because the quarter-wave minimum is convex (any perturbation lifts R on average).
- σ ≈ 0.16 % — the typical spread of a single coated part from the mean.
- ±2σ band ≈ 0.96 %–1.60 % — approximately 95 % of parts fall inside.
The ±1σ band is the honest "typical part" line. The ±2σ band is what to put on a datasheet and what to compare to the customer spec.
View 2 — yield-at-spec
Yield-at-spec is a single number: the fraction of simulated coatings whose spectrum stays inside the target band. Formally, for a target of R ≤ Rmax across [λlo, λhi],
A part passes only if it passes everywhere in the band. This is strictly harder than "mean + 2σ passes at the worst wavelength", because the perturbation that pushes you over at 450 nm is correlated with the one that pushes you over at 650 nm but not identical to it.
Why mean + 2σ overstates yield
A tempting shortcut: look at mean + 2σ at the worst wavelength and declare that ~97.5 % of parts pass. This is wrong. First, 2σ is only one-sided; yield also depends on correlation between wavelengths (a part that is thick at one λ is thick at all λ). Second, the Bernoulli "everywhere in the band" constraint has no clean Gaussian shortcut. The MC counts the right thing directly.
A reference-stack walk-through
- Target R ≤ 1.5 % across 450–650 nm, 1 000 samples → yield ≈ 20.6 %. One in five parts meets spec.
- Same stack, tighter target R ≤ 1.0 % → yield ≈ 0 %. The design simply cannot hit 1 % broadband with a single MgF₂ layer, no matter how tight the process is.
- Same stack, 10 000 samples → yield ≈ 19.8 %. The 1 000-sample answer was accurate to its SE.