Optical Concepts
This chapter defines the optical quantities that appear most often in this app and maps them to the relevant fields and result pages.
Scope of this chapter
| Concept | Focus |
|---|---|
| Complex refractive index | Roles of n and k, and app-side representation |
| Polarization and angle | Effect of s / p and pRatio on reflection and transmission |
| Cone angle averaging | Input modes, sampling, distribution weights, and scope |
| Birefringence | Meaning of nExt / kExt and validity range |
| Ellipsometric quantities | Physical meaning of Psi / Delta and validity range |
Complex refractive index and input models
The most basic material quantity is the complex refractive index:
N = n + i k
where:
ncontrols phase velocity and refraction;kcontrols absorption and is typically required to satisfyk >= 0.
The current app supports three input models.
| Input model | Main fields | Typical use | Key limit |
|---|---|---|---|
Constant | n, k | Materials that can be approximated as wavelength-independent over the relevant range | Isotropic only |
Constant Birefringence | n, k, nExt, kExt | Simplified birefringent materials with separate ordinary and extraordinary constants | Not available for incoherent layers |
File | Sampled wavelength-dependent data | Measured dispersion, tabulated materials, or imported database data | If the file is birefringent, it is not available for incoherent layers |
For engineering interpretation, prioritize these three rules:
- Increasing
nchanges both optical path length and interface contrast, so peak position and peak height may both move. - Increasing
kincreases absorption, which usually raisesAand lowers transmission. - If dispersion is important, prefer
File; otherwise fringe locations and color results can drift from the physical material.
Polarization, pRatio, and incident angle
At oblique incidence, the electric field must be defined relative to the plane of incidence.
| Quantity | Definition | App representation | Engineering meaning |
|---|---|---|---|
s polarization | Electric field perpendicular to the plane of incidence | pRatio = 0 | Often shows a different reflectance response from p |
p polarization | Electric field parallel to the plane of incidence | pRatio = 1 | Can show markedly reduced reflection near specific angles |
| Mixed polarization | Linear combination of s and p | 0 < pRatio < 1 | Useful for partially polarized light |
| Unpolarized approximation | Equal weighting of s and p | pRatio = 0.5 | Good default for first-pass evaluation |
Incident Angle is the external incidence angle. In the solver, it changes all of the following:
- the propagation angle inside each layer;
- the Fresnel coefficients at each interface;
- the effective optical path length through each layer.
As a result, changing the angle usually affects both spectral position and contrast, and it strongly affects Psi / Delta. For most introductory cases, start from 0° or a moderate oblique angle such as 60° ~ 70°.
Using Snell's law to interpret refraction through the stack
Use the following relation to interpret refraction through the stack:
n_i sin(theta_i) = n_j sin(theta_j)
In the context of this app, that means:
| Observation | Physical reason | Practical use when reading results |
|---|---|---|
| Spectral features shift as angle increases | Oblique incidence changes the effective optical path | Explains angle-sweep peak movement |
| Propagation angles are smaller in higher-index layers | Rays bend toward the normal in higher-n media | Helps interpret phase-thickness changes across the stack |
s and p curves separate | Fresnel coefficients respond differently for the two polarizations | Explains polarization-sensitive spectra and ellipsometry |
The app does not ask you to enter internal layer angles manually. The important point is that changing Incident Angle changes the propagation condition of the full stack, not just the first interface.
Cone angle averaging
Standard TMM assumes ideal plane-wave incidence, but real optical systems use convergent or divergent beams with a finite angular spread. Cone angle averaging models this by computing results for multiple rays distributed over a cone centered on the nominal incident angle and returning the weighted average.
Input modes and conversion formulas
The software accepts three ways to specify the cone size. All are converted internally to the half-cone angle θ_cone.
| Input mode | User-entered quantity | Conversion formula |
|---|---|---|
| Half-angle | θ_cone (degrees) | Used directly |
| F-number (F/#) | F/# | θ_cone = arctan(1 / (2 × F/#)) |
| Numerical Aperture (NA) | NA | θ_cone = arcsin(NA / n_medium) |
Here n_medium is the refractive index of the incidence medium. When the incidence medium is air (n ≈ 1), NA is equivalent to sin(θ_cone).
Ring sampling
Discrete sampling within the cone uses a concentric-ring layout:
- 1 central ray at the nominal incident angle
- 12 equally spaced rays per ring
Effective ray count = 1 + 12 × ringCount
ringCount ranges from 2 to 20, giving 25 to 241 effective rays. Increasing ringCount improves angular integration accuracy at linearly increasing computational cost.
Angular distribution weights
| Distribution | Weighting rule | Typical use |
|---|---|---|
| Uniform | Equal weight per solid-angle element | Uniformly divergent beams |
| Lambertian | Weight proportional to cos(θ) | Diffuse illumination |
Scope of applicability
Cone angle averaging applies only to certain result types:
| Supported result types | Unsupported result types |
|---|---|
| R, T, A, Layer Absorption | Psi / Delta (ellipsometry) |
| Reflection / Transmission / Absorption spectra | Depth distributions (Poynting Vector, Electric Field, Absorption Density) |
| Reflection / Transmission / Absorption color | Dispersion detectors |
Unsupported result types are still computed at the single nominal incident angle.
Validity constraint
The cone must not extend to grazing incidence:
incidentAngle + θ_cone < 89.9°
If this condition is violated, the software reports a validation error and blocks computation.
Birefringence and extended parameters
Birefringent materials have different complex refractive indices along different principal directions.
| Parameter | Meaning | Typical use |
|---|---|---|
n, k | Real and imaginary parts for the ordinary axis | Base optical constants |
nExt, kExt | Real and imaginary parts for the extraordinary axis | Direction-dependent response |
In the current app, birefringence can be represented in two ways:
Constant Birefringence: enter one set of ordinary and extraordinary constants directly;File: import wavelength-dependent birefringent data.
The implementation limits are explicit:
- surrounding media do not expose birefringent parameters;
- incoherent layers cannot use the constant birefringent model;
- incoherent layers also cannot use birefringent refractive-index files.
So in practice, birefringence is intended for coherent thin-film modeling, not for thick-substrate or incoherent approximations.
Physical definition of Psi and Delta
Ellipsometric outputs are not independent quantities. They are derived from the ratio of reflection coefficients:
tan(Psi) = |r_p / r_s|Delta = arg(r_p) - arg(r_s)
This gives the two curves distinct roles:
| Quantity | Physical meaning | Sensitivity |
|---|---|---|
Psi | Amplitude ratio between p and s reflection | Sensitive to index contrast, thickness, and angle |
Delta | Phase difference between p and s reflection | Especially sensitive to interference and phase changes |
In engineering work, Psi / Delta are commonly used for thickness and refractive-index inversion. The app follows the same physical requirement: the stack must remain coherent. If any enabled layer is incoherent, Psi / Delta are blocked.
Mapping the concepts to UI fields
| Physical quantity | Main field or result page | What to watch first |
|---|---|---|
| Complex refractive index | Structure page: indexType, n, k, file data | Peak position, peak height, absorption strength |
| Polarization mix | Optics page: pRatio | Whether s / p behavior transitions smoothly |
| Incident angle | Optics page: Incident Angle | Spectral shifts and ellipsometric curve changes |
| Cone angle averaging | Optics page: Cone Angle settings | Whether R / T / A curves are smoothed by angular spread |
| Birefringence | Structure page: nExt / kExt or birefringent file | Whether polarization-dependent separation increases |
Psi / Delta | Ellipsometry result page | Sensitivity of the curves to small thickness or index changes |