원시데이터 수집 시스템
선정목록으로

Enhancing the Swanepoel method: precise envelope detection of thin-film transmission spectra

간접 관련 필름·전자재료 · (11) 배리어 필름 (15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Manuel Ballester
  2. Almudena P. Márquez — University of Cadiz
  3. Santiago López-Tapia
  4. S. Fernández — CIEMAT
  5. John Bass — University of Arizona
  6. Dorian Minkov — Technical University
  7. Christoph Wuersch — Eastern Switzerland University of Applied Sciences
  8. Florian Willomitzer — University of Arizona
  9. E. Márquez — University of Cadiz
  10. Aggelos K. Katsaggelos — University of Cadiz
DOI
10.1364/oe.553824
저널
Optics Express
발행년도
2025
발행기관
Optica Publishing Group
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1364/oe.553824
토픽
Thin-Film Transistor Technologies
OpenAlex ID
W4407807632

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
(15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
thin-film transmission spectra, refractive index, extinction coefficient, Swanepoel method, optical characterization
판단 근거
이 논문은 박막의 굴절률과 소멸계수를 정밀하게 측정하기 위한 광학적 분석 알고리즘(Swanepoel method 개선)을 다룹니다. 이는 코오롱인더스트리의 배리어 필름, 디스플레이 패널재료, CPI 필름 등 다양한 기능성 박막 소재의 광학적 물성을 평가하는 데 직접적으로 응용될 수 있는 분석 기술입니다.
R&D 활용 포인트
코오롱인더스트리가 생산하는 기능성 필름(배리어, CPI 등)의 두께, 굴절률, 투과율 등 광학적 특성을 정밀하게 분석하고 품질을 관리하는 소프트웨어 및 평가 공정 모델링에 활용 가능합니다.
평가 입력
본문 102,188자 중 30,032자 발췌

초록

The Swanepoel method is a widely used optical technique for characterizing thin films through normal-incidence transmission measurements. A critical step in this approach involves extracting the upper and lower envelopes of the measured oscillatory spectrum. By analyzing the transmission spectrum and its corresponding envelopes, the Swanepoel procedure enables precise determination of the film refractive index and extinction coefficient. However, even minor inaccuracies in envelope construction can propagate significant errors into the final characterization results. To address this challenge, we present what we believe to be a novel physics-informed optimization algorithm for envelope detection. Our mathematical model reformulates the envelope detection problem as a global optimization task that enforces the physical properties of the Swanepoel envelopes. Extensive validation on fifty randomly generated transmission spectra demonstrates unprecedented accuracy: the method achieves root-mean-square errors (RMSE) below 0.10% for the upper envelope and 0.06% for the lower envelope (more than doubling the accuracy of current state-of-the-art approaches). Furthermore, the proposed model has been assessed with two experimental transmission spectra, demonstrating its robustness and accuracy with real noisy data. We have developed an open-source Python software package (see text below). This software includes not only our innovative envelope construction algorithm but also additional envelope drawing algorithms for comparison and an efficient implementation of the Swanepoel method, enabling complete optical characterization of thin films.

본문 102,188자

본문 펼치기
Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13376 # Enhancing the Swanepoel method: precise envelope detection of thin-film transmission spectra MANUEL BALLESTER, <sup>1,*</sup> ALMUDENA P. MARQUEZ, <sup>2</sup> SANTIAGO LOPEZ-TAPIA, <sup>3</sup> SUSANA FERNANDEZ, <sup>4</sup> JOHN BASS, <sup>5</sup> DORIAN MINKOV, <sup>6</sup> CHRISTOPH WUERSCH, <sup>7</sup> FLORIAN WILLOMITZER, <sup>5</sup> EMILIO MARQUEZ, <sup>8</sup> AND AGGELOS K. KATSAGGELOS <sup>1,2</sup> _1Computer Science Department, Northwestern University, Evanston, IL 60208, USA_ _2Department of Mathematics, Faculty of Science, University of Cadiz, 11510 Puerto Real, Spain_ _3Department of Electrical and Computer Engineering, Northwestern University, Evanston, IL 60208, USA_ _4CIEMAT, Avenida Complutense 40, 28040 Madrid, Spain_ _5Wyant College of Optical Sciences, University of Arizona, Tucson, AZ 85721, USA_ _6Research Section (NIS), Technical University, Sofia 1000, Bulgaria_ _7Institute for Computational Engineering ICE, OST, Eastern Switzerland University of Applied Sciences,_ _Switzerland_ _8Department of Condensed-Matter Physics, Faculty of Science, University of Cadiz, 11510 Puerto Real,_ _Spain_ _*manuelballestermatito2021@u.northwestern.edu_ Abstract: The Swanepoel method is a widely used optical technique for characterizing thin films through normal-incidence transmission measurements. A critical step in this approach involves extracting the upper and lower envelopes of the measured oscillatory spectrum. By analyzing the transmission spectrum and its corresponding envelopes, the Swanepoel procedure enables precise determination of the film refractive index and extinction coefficient. However, even minor inaccuracies in envelope construction can propagate significant errors into the final characterization results. To address this challenge, we present what we believe to be a novel physics-informed optimization algorithm for envelope detection. Our mathematical model reformulates the envelope detection problem as a global optimization task that enforces the physical properties of the Swanepoel envelopes. Extensive validation on fifty randomly generated transmission spectra demonstrates unprecedented accuracy: the method achieves root-mean-square errors (RMSE) below 0.10% for the upper envelope and 0.06% for the lower envelope (more than doubling the accuracy of current state-of-the-art approaches). Furthermore, the proposed model has been assessed with two experimental transmission spectra, demonstrating its robustness and accuracy with real noisy data. We have developed an open-source Python software package (see text below). This software includes not only our innovative envelope construction algorithm but also additional envelope drawing algorithms for comparison and an efficient implementation of the Swanepoel method, enabling complete optical characterization of thin films. [© 2025 Optica Publishing Group under the terms of the Optica Open Access Publishing Agreement](https://doi.org/10.1364/OA_License_v2#VOR-OA) 1. Introduction Thin solid films are indispensable components in a vast array of optical systems and optoelectronic devices. _Semiconductor_ thin films are foundational in the fabrication of transistors, diodes, and photodiodes [1–4]. For instance, silicon thin films are extensively employed for cost-effective optical sensors [5–7] and solar cells [8–10] due to their efficient light-absorbing capabilities and #553824 https://doi.org/10.1364/OE.553824 Journal © 2025 Received 23 Dec 2024; revised 14 Feb 2025; accepted 17 Feb 2025; published 14 Mar 2025 Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13377 scalable manufacturing processes. _Conductive_ thin films are highly valued for their exceptional electrical conductivity and reflectivity, enabling their use in electrode fabrication, optical mirrors, protective coatings, and forming electrical connections within integrated circuits [11–14]. In particular, transparent conductive films play a crucial role in the development of touch panels and liquid crystal displays. _Dielectric_ thin films, engineered with specific refractive indices and thicknesses, create thin-film capacitors, act as insulating layers, and form anti-reflection coatings that enhance light transmission [15,16]. Dielectric coatings are integral to optical instruments such as lenses, bandpass filters, dichroic mirrors, and beamsplitters, providing precise control over light propagation and wavelength selection [17]. The manufacturing processes of the thin film material critically influence their optical properties [18,19], which in turn affect the performance of the target devices. Therefore, precise determination and control of these properties are essential for optimizing the mentioned optoelectronic devices and optical systems. By performing optical characterization of thin films, we can obtain their refractive index and extinction coefficient, denoted as _n_ (λ) and _k_ (λ), respectively. These wavelength-dependent optical properties combine to form the complex refractive index ( n = _n_ + _ik_ ) or the complex dielectric function ( ϵ = n <sup>2</sup> ). The dielectric function offers insights into the optoelectronic properties of the film material and allows for precise quantification of the electronic transitions. Therefore, one can extract information about critical parameters such as bandgap energy [20–22], molecular disorder [23], and charge mobilities [24]. A myriad of techniques exist to determine the optical properties of thin solid films. Spectroscopic analyses are common [25–27] for characterizing materials across a broad spectral range (UV-VIS-NIR), employing transmittance, reflectance, or ellipsometric measurements. Spectroscopic ellipsometry, in particular, is a commonly employed technique that measures the changes in the polarization state of light upon reflection, at varying angles of incidence. This technique can produce a comprehensive phase-sensitive dataset, allowing for the precise characterization of complex film structures, including surface roughness, thickness variations, multilayer systems, and anisotropic materials. In contrast, conventional spectrophotometric techniques, which rely on direct measurements of the transmitted or reflected light intensity, offer a simpler approach for obtaining an overall average estimation of a material’s optical properties. While spectrophotometry is less sensitive to fine structural variations, it remains a widely used method due to its straightforward implementation and broad applicability. The present study focuses on characterizations derived solely from normal-incidence transmission spectra, which are optimal for assessing material properties at photon energies below the optical bandgap, where moderate to low absorption enables highly sensitive transmission data. Typically, the thin-film material is deposited on a thick glass substrate with negligible absorption ( _k_ s ≈ 0) and a near-constant refractive index ( _n_ s) in the spectral region of interest (ROI). Before the thin-film preparation, the transmittance of the substrate alone, denoted _T_ s(λ), is sequentially collected over different wavelengths using a spectrophotometer, allowing us to easily account for the effect of the substrate when analyzing the whole sample. As illustrated in Fig. 1(a), the transmittance of the complete sample (thin film over the substrate), _T_ (λ), is subsequently measured. The Swanepoel method and other characterization approaches: In 1983, Ryno Swanepoel [28] introduced an numerical procedure, widely known nowadays as the _Swanepoel method_ or the _Envelope method_, to determine the thin-film thickness _d_ and its optical functions ( _n_ and _k_ ) at specific wavelengths. These particular wavelength of interest are called _tangent points_ (see Fig. 1(c)), as they appear where the transmission spectrum intersects (touch but not cross) its upper or lower envelopes. Although earlier envelope-based approaches had been developed before Swanepoel [29–31], his contribution significantly enhanced the precision and applicability of the technique, leading to a widespread algorithm extensively used today. Renowned for its simplicity, reliability, and computational efficiency [32], the Swanepoel method operates in the order of a few seconds on standard computers, making it ideal for rapid mass characterization of Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13378 samples. Additionally, it is considered a “model-free” method, meaning that it does not rely on pre-established optical dispersion models for _n_ (λ) and _k_ (λ). This method analyzes the interference patterns created by a quasi-monochromatic beam as it passes through a thin film, where the patterns result from the superposition of multiple internal reflections within the film (see Fig. 1(b)). For the desired etalon (Fabry-Perot) effect to manifest prominently within the thin film, the coherence length of the beam must exceed the film thickness (typically on the micrometer scale), denoted _d_ . This ensures that multiple internal reflections within the film lead to significant constructive and destructive interference, depending on the wavelength. Consequently, the transmission spectrum _T_ (λ) exhibits characteristic sinusoidal oscillations with distinct peaks and valleys, as illustrated in Fig. 1(c). The Swanepoel method exploits these spectral oscillations to accurately determine the film properties. Note that in order to prevent the substrate from generating its own etalon effects, the coherence length must be set shorter than the substrate thickness (typically on the millimeter scale), denoted _d_ s. As the coherence length increases with wavelength, it may eventually exceed the substrate thickness Fig. 1. (a) Schematic of the sample geometry, comprising a thin layer deposited on a glass substrate. (b) Multiple internal reflections within the thin film and the substrate. The total transmittance is measured sequentially throughout different wavelengths. (c) Simulated transmission spectra for the full sample and for the substrate alone. The ground-truth upper and lower envelopes, along with their tangent points, are indicated. (d) Magnified view of the strongly absorbing spectral region. The upper and lower tangent points are sometimes not associated with a nearby local extremum (first two on the left), or occur at positions significantly far from the local extrema (last two on the right). Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13379 Fig. 2. Random initial guesses for the film parameters (such as thickness and the coefficients of the optical dispersion model) are selected. A theoretical transmittance spectrum is calculated from these parameters via Eq. (1). The simulated spectrum is then compared to the experimental spectrum, and the residual error is quantified using the cost function (RMSE) defined in Eq. (5). A global optimization algorithm iteratively adjusts the parameters to minimize this residual error. This process repeats until the optimal parameters that yield the best fit between the simulated and experimental spectra are found. at longer wavelengths. This can lead to very high-frequency oscillations [33], causing aliasing when the oscillation frequency surpasses the spectral sampling rate used in the experiment. Such aliasing manifests as characteristic noise at the spectrum’s end if the experiment is not carefully calibrated. This condition ensures that any multiple reflections within the substrate do not contribute to coherent interference patterns, resulting instead in an incoherent superposition of the beams. The exact value of _d_ s is therefore not relevant for the characterization of the sample. Since its inception, the Swanepoel method has served as a key computational method for the analysis of thin-film optical analysis, inspiring numerous enhancements that have significantly broadened its applicability. For instance, shortly after introducing his original algorithm, Swanepoel himself extended the methodology in 1984 [34], enabling the analysis of films with tilted planar-specular surfaces. The algorithm can then apply to samples with nonuniform thickness, generally characterized by a wedge ∆ _d_ . Recognizing the limitations of spectrophotometric measurements for accurate film analysis, Swanepoel proposed an improved method in 1985 [35]. This approach involved acquiring transmission spectra at two different angles of incidence: one at normal incidence and the other at an oblique angle. By analyzing the shift in the spectral domain between these two measurements, the method enabled the direct determination of both the film thickness _d_ and refractive index _n_ without relying on the absolute transmittance values. In 1986, Kushev _et_ _al._ generalized the envelope method to the field of reflectometry [36], enabling the determination of thin-film optical properties from normal-incidence reflectance measurements. In 1989, another work by Swanepoel now accounted for the substrate absorption [37]. In 1995, Nowak [38] investigated the effects of realistic band-limited incident beams with either linear or Gaussian spectral profiles, further refining the accuracy of the method. Later, Wu _et al._ (2008) [39] extended the method to analyze inhomogeneous films with a linearly graded refractive index from the substrate interface to the film surface. Jin _et al._ contributed two very significant advancements in 2017. First, they analyzed the spectral regions in which the film presents strong absorption [40], where the original Swanepoel method produced substantially less accurate solutions. Then, they expanding the algorithm to determine the refractive index _n_ and extinction coefficient _k_ at arbitrary wavelengths, not just at the mentioned tangent points [41]. In addition to the Swanepoel method, the _inverse synthesis_ approach serves as a powerful alternative for the optical characterization of thin films [42–45]. This method involves fitting experimentally measured transmission spectra with a simulated transmission curve, which is Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13380 derived from pre-defined dispersion models for the refractive index _n_ (λ) and the extinction coefficient _k_ (λ). One of the key advantages of the inverse synthesis approach is its ability to provide precise optical characterization over a continuous broad spectral range [46]. Furthermore, this method allows for the modeling of more complex physical scenarios, including surface roughness, refractive index gradients, and non-uniform film thickness with specific geometries. The conventional Swanepoel method approximates these realistic films as a simple, idealized homogeneous layers. Neglecting these film imperfections leads to correlated effects on the spectral envelopes, making it impossible to distinguish such features based on spectro photometric measurements alone. Consequently, the Swanepoel method is primarily useful as a first-order approximation for optical characterization [46,47]. Envelope-based characterization can serve as a preliminary estimate for subsequent refinement using inverse synthesis. Despite its advantages, it should be noted that the inverse synthesis approach can be computationally intensive. Additionally, solving the inverse problem does not always guarantee physically meaningful solutions, as the optimization algorithm may converge to incorrect local minima, leading to non-physical parameter estimations (this problem is further discussed in the next section). Given these challenges, it is often advisable to use the simpler Swanepoel method as a complementary tool for validation and cross-checking of results, a practice commonly reported in the literature [47,48]. Implementing the inverse synthesis approach is non-trivial and demands careful parameter selection. This reverse engineering approach relies on an appropriate dispersion formula that accurately describes the refractive index and absorption behavior of the film material. In some cases, determining a suitable model requires a detailed understanding of the material’s electronic transitions to correctly incorporate contributions from different optical oscillators. A variety of dispersion models are available, ranging from the simple empirical Cauchy model (suitable for transparent materials such as glass), to more sophisticated physically-motivated models, like the Tauc-Lorentz (TL) or Cody-Lorentz (CL) models [49], which account for absorption. The development of more advanced dispersion models remains an active area of research, with recent efforts focusing on models such as the Analytical Tauc/Cody-Lorentz Urbach (ATLU or ACLU) model [50–52] or the Universal Dispersion Model (UDM) [53–56], which provides broad applicability across different material classes and spectral ranges. Besides the envelope method and the inverse synthesis, further computational approaches are emerging. For instance, there is a Deep Learning architecture that directly predicts a film properties from transmission data [57]. Another recent technique employs a digital twin [58] to numerically simulate wave propagation through the spectrophotometer. Envelope detection algorithms: The Swanepoel method assumes precise knowledge of both the upper and lower envelopes of the transmission spectrum (refer to Fig. 1(b)). In practice, accurately identifying these envelopes is a significant challenge on its own. The accuracy of the Swanepoel method is highly dependent on the precise determination of these envelopes, as any discrepancies in their construction propagate through the entire algebraic procedure, ultimately affecting the reliability of the film characterization. In 1991, Marjorie McClain _et_ _al._ [59] addressed this problem by introducing a robust iterative algorithm for envelope construction. This seminal work has since established the McClain algorithm as the standard approach, extensively utilized in the literature [60–62]. The McClain algorithm is both efficient and reasonably accurate in practical applications. It determines the envelopes using B-spline interpolation of the mentioned tangent points, which are seen in Fig. 1(c). As anticipated, the accuracy of this interpolation-based method improves with an increasing number of interpolation nodes, requiring at least four spectral oscillations with its four associated tangent points to produce reliable results. Beyond the original McClain algorithm, several other interpolation-based methodologies have been proposed to enhance envelope detection [63–66]. Alternative approaches have been developed to address spectra with limited number of oscillations, sometimes displaying only two or three tangent points. A common strategy in Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13381 such scenarios involves fitting the envelopes by connecting local extrema (maxima for the upper envelope and minima for the lower envelope) using predefined exponential [67,68] or parabolic functions [69]. However, it should be mentioned that, although the tangent points typically lie near the extrema of the transmission spectrum, they do _not_ coincide precisely. Indeed, observe that the film absorption induces a decay in the transmittance curve as wavelengths decrease and approximates the optical band gap, causing the tangent points to shift slightly away from the extrema, as seen in Fig. 1(d). In the regions of strong film absorption (where the transmission spectrum remains low) the tangent points may not correspond to any local minimum or maximum at all, as illustrated by the first lower and upper tangent points of the simulated spectrum, in Fig. 1(d). Consequently, the mentioned parabolic and exponential fits often lead to noticeable errors in the constructed envelopes. A recently proposed deep learning–based method [70] developed by our team shows promise in accurately determining envelopes for transmission spectra, even in these challenging scenarios with as few as two or three tangent points. However, this approach has so far been validated only with simulated data and not with real, noisy experimental measurements. Enhancing the accuracy of envelope computation remains a significant and ongoing challenge in the field. In the present work, we propose a novel interpolation-based algorithm for the precise determination of Swanepoel envelopes. Our approach integrates the physical properties of the Swanepoel envelopes into a global optimization framework, which is then efficiently solved using an advanced optimizer. We validated our method using fifty computer-generated transmission spectra, achieving a root-mean-square error (RMSE) of less than 0.10% for the upper envelope and below 0.06% for the lower envelope. These results demonstrate a significant enhancement in accuracy compared to existing methods, reducing errors by more than half with respect to the standard McClain algorithm, as detailed in the subsequent comparison section. While our proposed method is more computationally expensive than the existing algorithms, it still performs in a reasonable timeframe and runs in less than a minute using standard computer hardware. Furthermore, we have integrated our innovative envelope construction algorithm with an automated adaptation of the original Swanepoel method within a user-friendly Python package named swanpy. This open-source software is publicly accessible at [71]. Note that swanpy does not only includes our novel envelope construction algorithm but also incorporates additional standard envelope detection techniques for comparative analysis. Our automated and efficient implementation of the Swanepoel method facilitates the comprehensive optical characterization of thin films. It is worth noting that the present work demonstrates the effectiveness of swanpy in practical applications by fully characterizing two real amorphous silicon ( _a_ -Si) samples, which were previously analyzed by our team [48] and used here as a benchmark. 2. Thin film transmission equation and inverse-synthesis challenge As discussed earlier, the inverse synthesis method requires a simulator to reproduce the transmission curve, which is then fitted to experimental data. To develop such a simulator, we begin with the theoretical expression for normal-incidence transmittance, derived from the Fresnel equations [72]. Following extensive derivations in [33], the final formula relates the wavelength λ and the film’s optical properties ( _n_, _k_, _d_ ) to the transmittance. Assuming a uniform, isotropic, and homogeneous film deposited on a transparent substrate with a known refractive index _ns_, the resulting expression is: where _<u>A</u>_ <sup>′</sup> _<u>x</u>_ _T_ <sup>sim</sup> (λ; _n_, _k_, _d_ ) = (1) _B_ <sup>′</sup> + _x_ ( _C_ 1 <sup>′</sup> <sup>sin φ −</sup> <sup>_C_</sup> 2 <sup>′</sup> <sup>cos φ) +</sup> <sup>_D_</sup> <sup>′</sup> <sup>_x_</sup> <sup>2</sup> <sup>,</sup> α = 4π _k_ /λ, (2a) Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13382 _x_ = _e_ <sup>−α</sup> <sup>_d_</sup>, (2b) φ = 4π _nd_ /λ, (2c) _A_ <sup>′</sup> = 16( _n_ <sup>2</sup> + _k_ <sup>2</sup> ) _ns_, (2d) _B_ <sup>′</sup> = <sup>(︁</sup> ( _n_ + 1) <sup>2</sup> + _k_ <sup>2)︁(︁</sup> ( _n_ + 1)( _n_ + _ns_ <sup>2) +</sup> <sup>_k_</sup> <sup>2)︁,</sup> (2e) 1 <sup>′</sup> <sup>= 2</sup> <sup>_k_</sup> <sup>(︁2(</sup> <sup>_n_</sup> <sup>2 +</sup> <sup>_k_</sup> <sup>2 −</sup> <sup>_n_</sup> _s_ <sup>2) + (</sup> <sup>_n_</sup> <sup>2 +</sup> <sup>_k_</sup> <sup>2 −</sup> <sup>1)(</sup> <sup>_n_</sup> <sup>2</sup> _s_ 2 <sup>′</sup> <sup>= 2(</sup> <sup>_n_</sup> <sup>2 +</sup> <sup>_k_</sup> <sup>2 −</sup> <sup>1)(</sup> <sup>_n_</sup> <sup>2 +</sup> <sup>_k_</sup> <sup>2 −</sup> <sup>_n_</sup> _s_ <sup>2) −</sup> <sup>4</sup> <sup>_k_</sup> <sup>2(</sup> <sup>_n_</sup> <sup>2</sup> _s_ _C_ 1 <sup>′</sup> _C_ 2 <sup>′</sup> <sup>2</sup> _s_ <sup>+ 1))︁,</sup> (2f) <sup>2</sup> _s_ <sup>+ 1),</sup> (2g) _D_ <sup>′</sup> = <sup>(︁</sup> ( _n_ - 1)( _n_ - _ns_ <sup>2) +</sup> <sup>_k_</sup> <sup>2)︁(︁(</sup> <sup>_n_</sup> <sup>−</sup> <sup>1)2 +</sup> <sup>_k_</sup> <sup>2)︁.</sup> (2h) Observe that the refractive index of the substrate, _ns_, is known because it can be computed beforehand from the transmission of the substrate alone, _Ts_, using the equation [33]: ~~√~~ _ns_ = 1/ _Ts_ + 1/ _Ts_ <sup>2</sup> - 1. (3) It should also be emphasized that α (1/cm) in Eq. (2a) corresponds to the absorption coefficient. Additionally, the term _x_ in Eq. (2b) denotes the a fraction of the transmitted intensity: this parameters is calculated from the Lambert-Beer law [72] and ranges from 0 to 1, expressing the amount of light that passes through the film in one single pass (not accounting for multiple round trips of the beam within the film). Lastly, the two trigonometric functions in the denominator of Eq. (1) depend on the phase φ and account for the Fabry-Perot thin-film interferences, corresponding to the low-frequency oscillations noticeable in the transmission spectrum. One could naively develop a least-squares regression program to fit the experimental transmission spectrum _T_ (λ) to the theoretical model _T_ <sup>sim</sup> (λ; _n_ (λ), _k_ (λ), _d_ ), thereby determining the film’s optical and geometrical properties _n_ (λ), _k_ (λ), and _d_ . However, _n_ and _k_ are intricate wavelength-dependent functions and not simple constants. Multiple combinations of _n_ and _k_ can produce the same theoretical transmission spectrum, making this fitting problem _ill-posed_ in nature. As Kushev and Zheleva [36] realized in 1986, “the system is satisfied by many solutions and it is difficult to identify the real physical one”. The _inverse_ _synthesis_ method takes this fitting idea a step further and eases the problem by assuming some pre-defined dispersion models for the optical functions _n_ (λ) and _k_ (λ). Consequently, these complicated optical functions are expressed in terms of just a few real coefficients. For instance, one can employ the simple Wemple-DiDomenico (WDD) dispersion equation [73] for _n_ and the Urbach rule [74] for the absorption coefficient α (the extinction coefficient _k_ can then be derived using Eq. (2a)). We then have the following formulas: ~~√~~ _<u>E</u>_ <u>0</u> _<u>E</u>_ <u>d</u> (4a) _E_ <sup>2</sup> 0 <sup>−</sup> <sup>_E_</sup> <sup>2</sup> <sup>+ 1,</sup> _n_ ( _E_ ; _E_ 0, _E_ d) = )︃ . (4b) α( _E_ ; α0, _E_ u) = α0 exp (︃ _<u>E</u>_ _E_ u The parameter _E_ 0 (eV) represents the oscillator energy in a single-oscillator electron model. In practice, this number quantifies an average energy gap of the different electronic transitions and provides a good approximation of the optical bandgap energy, _E_ g ≈ _E_ 0/2 [75,76]. _E_ d (eV) is the dispersion energy, which quantifies the strength of interband optical transitions and provides an extra degree of freedom to account for the refractive index value as the photon energy approaches zero _E_ → 0. The parameter α0 (1/cm) defines the absorption coefficient in the limit of zero photon energy. The Urbach energy, denoted as _E_ u (eV), characterizes the exponential decay of the absorption coefficient with decreasing photon energy below the bandgap, indicating the Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13383 degree of structural disorder in amorphous materials responsible for sub-bandgap absorption. Please note that Eqs. (4a)–(4b) can be similarly expressed as functions of wavelength using the Planck-Einstein relation _E_ = _hc_ /λ, where _h_ is Planck’s constant and _c_ is the speed of light in vacuum. The combined WDD-Urbach model offers a foundational estimate of the electronic transitions in thin-film materials. This model is primarily applicable to amorphous materials with two main energy levels, encompassing a single dominant electronic transition between the valence and conduction bands, which defines the bandgap energy. However, it disregards weaker transitions that may play a significant role in crystalline materials. Furthermore, this dispersion model is limited to specific spectral regions, particularly for photon energies that are well below the optical bandgap but remain sufficiently separated from phonon resonances in the near-infrared range. In the simulated example illustrated in Fig. 1, we used the following parameter values: _E_ 0 = 4.28 eV, _E_ d = 30.45 eV, α0 = 269.46 mm <sup>−1</sup>, _E_ u = 229.18 meV, and _d_ = 1323 nm. Employing more precise models that are consistent with the Kramers-Kronig relations between _n_ and _k_ increases computational complexity considerably. This complexity is particularly evident when utilizing various modifications and adaptations of the Tauc-Lorentz-Urbach (TLU) [48–50,77] and Cody-Lorentz-Urbach (CLU) [49,51,78] models, which are valid across the entire spectral range. These advanced models, enhanced with numerous refinements, necessitate extensive computations and introduce additional subtle and intricate variables into the simulator. Regardless of the optical dispersion model chosen, the inverse synthesis approach enables the simplification of the transmittance formula _T_ (λ; _n_ (λ), _k_ (λ), _d_ ) from Eq. (1) in terms of only a few input coefficients. In our case, the WDD-Urbach model allows us to rewrite the simulated transmission curve as a function of ( _E_ 0, _E_ d, α0, _E_ u, _d_ ) ∈ R <sup>5</sup> . With these scalar values, we can establish the following least-squares optimization problem (outlined in Fig. 2): ⌜⃓⃓⃓⃓⃓ ⎷ _N_ ∑︂ _<u>i</u>_ <u>=0</u> , _N_ ]︁ 2 [︁ _T_ (λ _i_ ) − _T_ <sup>sim</sup> (λ _i_ ; _E_ 0, _E_ d, α0, _E_ u, _d_ ) minimize C( _E_ 0, _E_ d, α0, _E_ u, _d_ ) = RMSE( _T_, _T_ <sup>sim</sup> ) = _E_ 0 ∈[ _a_ 1, _b_ 1], _E_ d ∈[ _a_ 2, _b_ 2], α0 ∈[ _a_ 3, _b_ 3], _E_ u ∈[ _a_ 4, _b_ 4], _d_ ∈[ _a_ 5, _b_ 5]. subject to ⎧⎪⎪⎪⎨ ⎪⎪⎪⎩ (5) The cost function C quantifies the discrepancy between the predicted and experimental spectra across the discrete wavelengths within the spectral region of interest (ROI). Achieving cost values below 1-1.5% typically indicates a good fit between the simulated and measured data [48,79]. However, the acceptable threshold for the cost function depends on the spectral range length and the specific characteristics or noise level of the measurements. Note that in Eq. (5), the box constraints [ _ai_, _bi_ ] define the acceptable ranges for the parameters, which vary depending on the specific thin-film material under investigation. Although this inverse synthesis approach is a popular choice for optical characterization, it is not without limitations. For instance, there is the crucial task of setting feasible constraint ranges for _ai_ and _bi_, as the computational effort increases notably when these ranges are broadened. Furthermore, the inverse problem is inherently non-convex in nature, marked by numerous local minima and maxima, and necessitating the use of sophisticated global optimization algorithms. These global optimizers are often affected by the curse of dimensionality, resulting in substantially increased computational costs as the number of variables grows. Additionally, in practical scenarios with noisy data and approximated simulation models, these algorithms can still produce solutions that are mathematically acceptable (satisfying constraints and exhibiting low cost values) but physically inaccurate, corresponding to local minima rather than the global optimum. Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13384 To mitigate the risk of converging to suboptimal local minima, it is recommended to execute these optimization algorithms multiple times with different initial points or random seeds and to compare the resulting solutions. This approach enhances the likelihood of identifying the most accurate and reliable characterization of the system. The runtime of the inverse synthesis method is influenced by several factors, including the particular dispersion model employed and its number of variables, the choice of the global optimizer and its hyperparameters (such as the number of iterations or initial seeds), the range of the box constraints, and the number of times the optimization is executed to corroborate results. Consequently, solving the inverse problem described by Eq. (5) can become a computationally intensive task, sometimes requiring hours of manual fine-tuning and computation. For a later comparison of our improved Swanepoel method, we use now the inverse synthesis method to characterize two real spectra. Specifically, two _a_ -Si samples were prepared using radio-frequency magnetron sputtering (RFMS) on top of a transparent Corning Eagle XG glass substrate. The target p-type silicon had a 5N purity and a density of 2.32 g/cm <sup>3</sup> . During thin-film deposition, the RFMS chamber was maintained at room temperature (25 <sup>◦</sup> C) with an RF power of 525 W. The deposition rates were 1.269 nm/s for sample #1 and 1.339 nm/s for sample #2. The chamber pressures were 4.4 Pa and 3.2 Pa, and the argon gas flow rates were 70 sccm and 50 sccm for samples #1 and #2, respectively. Transmission measurements of both the substrate alone and the full sample were collected using an Agilent Cary 5000 double-beam spectrophotometer, covering the UV-VIS-NIR range from 300 to 2500 nm. The initial spectral range (up to 700 nm) was cropped out to avoid the interval where the substrate exhibits considerable absorption and where the thin film shows very strong absorption (leading to a near-zero transmission), which provides no useful information for characterization. The fitting problem was then solved using the Simulated Dual Annealing algorithm, an efficient global optimizer available in the Python scipy package [80]. Figure 3 illustrates the agreement between the experimental and simulated spectra, with root mean square errors (RMSE) of 0.85% for sample #1 and 0.98% for sample #2. The bottom panel of the figure displays the residual disagreement or fitting error, defined as _T_ <sup>exp</sup> - _T_ <sup>sim</sup> . Notably, in the NIR region beyond 2100 nm, where the substrate exhibits slight absorption, a stronger disagreement is observed in Fig. 3(a). Fig. 3. Comparison of experimental transmission measurements with simulated transmission curves for (a) sample #1 and (b) sample #2 of amorphous silicon, obtained using the inverse synthesis method. The bottom panels illustrate the residual differences or error between the experimental and simulated data, defined as _T_ <sup>exp</sup> - _T_ <sup>sim</sup> . Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13385 The optimal parameters obtained from the inverse synthesis method for samples #1 and #2 are summarized in Table 1. Initially, the points for the optimization were randomly chosen within the specified bounds for each parameter. In this particular case, the optimization process required only a few minutes of computation time and manual adjustments of the bounds, thanks to the relatively low dimensionality of the simplistic models for _n_ and _k_ employed here for illustrative purposes. Table 1. Optimized parameters for amorphous silicon samples obtained from the inverse synthesis method. The initial bounds for each parameter are also provided. Parameter Unit Lower Bound Upper Bound Sample #1 Sample #2 Thickness _d_ nm 500 1500 1117 1160 Oscillator energy _E_ 0 eV 3.2 5.0 3.22 3.21 Dispersion energy _E_ d eV 25 35 27.96 33.28 Absorption coefficient α0 cm <sup>−1</sup> 0.1 0.5 0.225 0.186 Urbach energy _E_ u eV 0.1 0.3 0.247 0.234 3. Automated Swanepoel method As previously noted, the Swanepoel method provides a more straightforward alternative to the inverse synthesis approach. It relies on the principles of Fabry-Perot interference and employs the simple algebraic interference formula to perform the optical characterization. Although the method’s approximations can reduce the precision of the estimated film properties, it offers several key advantages: it requires far less computational effort, imposes no dispersion assumptions, and avoids multiple non-physical solutions. In other words, instead of encountering the ambiguity often faced with inverse synthesis methods, the Swanepoel approach yields a unique, physically meaningful set of values for _n_, _k_, and _d_ . Our automated program is based on the original Swanepoel algorithm from 1983 [28,81], designed specifically for plane-parallel thin films of uniform thickness, composed of isotropic and homogeneous materials. As previously discussed, numerous adaptations of this algorithm have been proposed to handle more complex scenarios [34,36,38–41], and these enhancements could potentially be integrated into our software framework in the future. In spectral regions where the sample presents medium-to-weak optical absorption, the condition _n_ <sup>2</sup> ≫ _k_ <sup>2</sup> holds. These spectral regions, frequently examined in transmission spectroscopy studies, correspond to photon energies below the optical bandgap. Under this circumstance, Eq. (1) can be simplified as follows: _<u>Ax</u>_ _T_ <sup>sim</sup> (λ; _n_, _k_, _d_ ) = _B_ - _Cx_ cos φ + _Dx_ <sup>2</sup> <sup>,</sup> (6) Observe that the fraction of transmitted intensity _x_ and the phase ϕ were previously defined in Eq. (2b) and (2c), respectively. Additionally, we use the following new expressions: _A_ = 16 _n_ <sup>2</sup> _ns_, _B_ = ( _n_ + 1) <sup>3</sup> ( _n_ + _n_ <sup>2</sup> _s_ <sup>),</sup> _C_ = 2( _n_ <sup>2</sup> - 1)( _n_ <sup>2</sup> - _n_ <sup>2</sup> _s_ <sup>),</sup> (7) _D_ = ( _n_ - 1) <sup>3</sup> ( _n_ - _n_ <sup>2</sup> _s_ <sup>).</sup> In contrast with the more accurate transmittance expression from Eq. (1), the formula for _T_ <sup>sim</sup> given in Eq. (6) now only comprises a single sinusoidal function. Therefore, we can find the two envelopes of the oscillating transmission curve by assigning cos(φ) = 1 for the upper Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13386 envelope _TM_ <sup>sim</sup> _M_ <sup>sim, and cos(φ) = −1 for the lower envelope</sup> <sup>_T_</sup> _m_ <sup>sim</sup> envelope _TM_ <sup>sim, and cos(φ) = −1 for the lower envelope</sup> <sup>_T_</sup> _m_ <sup>sim.</sup> <sup>These envelopes are then expressed</sup> as follows: _<u>Ax</u>_ _M_ <sup>sim(λ;</sup> <sup>_n_</sup> <sup>,</sup> <sup>_k_</sup> <sup>,</sup> <sup>_d_</sup> <sup>) =</sup> _B_ - _Cx_ + _Dx_ <sup>2</sup> <sup>,</sup> (8a) _<u>Ax</u>_ _m_ <sup>sim(λ;</sup> <sup>_n_</sup> <sup>,</sup> <sup>_k_</sup> <sup>,</sup> <sup>_d_</sup> <sup>) =</sup> _B_ + _Cx_ + _Dx_ <sup>2</sup> <sup>.</sup> (8b) _TM_ <sup>sim</sup> _<u>Ax</u>_ _Tm_ <sup>sim(λ;</sup> <sup>_n_</sup> <sup>,</sup> <sup>_k_</sup> <sup>,</sup> <sup>_d_</sup> <sup>) =</sup> _B_ + _Cx_ + _Dx_ <sup>2</sup> <sup>.</sup> (8b) The intersection points between the simulated transmission spectrum _T_ <sup>sim</sup> and its upper envelope _TM_ <sup>sim</sup> are identified as the upper tangent points, which are represented by λ <sup>M</sup>, as shown envelopein Fig. 1 _T_ (b). _M_ <sup>sim</sup> Similarly,are identified as the upper tangent points, which are represented byλ <sup>m</sup> denotes the lower tangent points, which are associated λ <sup>M</sup>, as shownwith the intersections of _T_ <sup>sim</sup> with its lower envelope _Tm_ <sup>sim.</sup> <sup>Due</sup> <sup>to</sup> <sup>the</sup> <sup>sinusoidal</sup> <sup>characteristic</sup> <sup>of</sup> intersections of _T_ <sup>sim</sup> with its lower envelope _Tm_ <sup>sim.</sup> <sup>Due</sup> <sup>to</sup> <sup>the</sup> <sup>sinusoidal</sup> <sup>characteristic</sup> <sup>of</sup> Fabry-Perot oscillations, these upper and lower tangent points occur in an alternating pattern. The sorted sequence of these tangent points is expressed here as λ <sup>tan</sup> . While determining the simulated envelopes of a simulated transmission curve is straightforward, following their definition from Eq. (8) (as done for the initial Fig. 1), identifying the Swanepoel envelopes of an _experimental_ curve poses a significant challenge. The Swanepoel method assumes that the true envelopes, _TM_ and _Tm_, of a measured transmission spectrum _T_ have already been (somehow) accurately determined. Based on this assumption, the optical properties _n_ and _k_ are extracted using a series of physically meaningful equations, evaluated exclusively at the tangent points. Below, we detail our automated step-by-step procedure for implementing the Swanepoel method, which is summarized in Fig. 4. Fig. 4. Summary of the Swanepoel method: the steps are marked in green, starting at the top left. (1) After computing the transmission envelopes, initial estimates of the refractive index _n_ 1 are determined at the tangent wavelengths λ <sup>tan</sup> . (2) A system of two equations (based on the interference formula) is solved at each pair of adjacent tangents point to estimate the film thickness, resulting in a set of possible thickness d1 . The expected thickness value is calculated as _d_ 1 = mean( d1 ) ± std( d1 ). (3) The interference formula is then applied again to compute the interference orders m1 . (4) These calculated decimal values should theoretically be half-integers, so they are updated to the nearest corrected values m2 . (5) With these corrected interference orders, a more precise thickness estimate _d_ 2 = mean( d2 ) ± std( d2 ) is obtained using the interference formula. (6) This refined thickness allows for updated refractive index values _n_ 2 at the tangent points. (7) Finally, an accurate extinction coefficient _k_ 2 is computed at the tangent points using the precise _d_ 2, the updated refractive index _n_ 2, and information from the envelopes. Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13387 _3.1._ _Preliminary estimation of n_ 1 _and d_ 1 In this preliminary step, we carry out a rough estimation of the refractive index ( _n_ 1) and film thickness ( _d_ 1). One can obtain a formula for the refractive index using Eq. (6) and Eqs. (8a)–(8b), leading to ~~<u>√</u>~~ _N_ <sup>2</sup> - _n_ <sup>2</sup> _s_, where (9) _n_ 1 = √︃ _N_ + 2 + <sup>_<u>n</u>_</sup> _<u>s</u>_ <sup>2</sup> _<u>s</u>_ <sup>2</sup> <sup><u>+ 1</u></sup> _N_ = 2 _ns_ _<u>TM</u>_ - _<u>Tm</u>_ _TMTm_ Equation (9) is then evaluated at each tangent point, yielding the series of values _n_ 1(λ <sup>tan</sup> ). Table 2 lists these computed values _n_ 1(λ <sup>tan</sup> ) corresponding to the spectra illustrated in Fig. 1(b). Subsequently, we utilize the fundamental Fabry-Perot interference [82] equation: 2 _n_ (λ) _d_ = _m_ λ. (10) This well-established relation holds only at the _tangent_ points (λ = λ <sup>tan</sup> ), which explicitly denote the transition between constructive and destructive interferences, or vice-versa. The variable _m_ symbolizes the interference order, a number in the set N/2 = {1/2, 1, 3/2, 2, 5/2, . . .} and therefore referred to as a "half-integer." Note that the successive tangent points, arranged from longer to shorter wavelengths, correspond to consecutive interference orders. For instance, Table 2 lists the values of _m_ that range from 3.0 to 10.0 for sample #1, with increments of 0.5. Two adjacent upper tangent points (or two adjacent lower points), denoted as λ _i_ <sup>tan</sup> and λ _i_ <sup>tan</sup> +2 <sup>,</sup> have orders of interference _m_ and _m_ + 1, respectively. Therefore, we can define the following system of equations: {︄ Two adjacent upper tangent points (or two adjacent lower points), denoted as λ _i_ <sup>tan</sup> _i_ <sup>tan</sup> and λ _i_ <sup>tan</sup> +2 2 _n_ 1(λ _i_ <sup>tan)</sup> <sup>_d_</sup> <sup>1</sup> <sup>=</sup> <sup>_m_</sup> <sup>λ</sup> _i_ <sup>tan</sup> (11) _i_ 2 _n_ 1(λ _i_ <sup>tan</sup> +2 <sup>)</sup> <sup>_d_</sup> <sup>1</sup> <sup>= (</sup> <sup>_m_</sup> <sup>+ 1)λ</sup> _i_ <sup>tan</sup> +2 _i_ +2 Knowing now λ _i_ <sup>tan</sup> _i_ <sup>tan</sup> and _n_ 1(λ _i_ <sup>tan</sup> Knowing now λ _i_ <sup>tan</sup> and _n_ 1(λ _i_ <sup>tan) for each tangent point</sup> <sup>_i_</sup> <sup>, we can solve Eq. (11) for the unknown</sup> variable _d_ 1. The equation can be solved to find the _d_ 1 values for the different tangent points, except for the two greater ones (as the system needs the points _i_ and _i_ + 2). The set of values d1 represents the thickness estimations using data from the multiple tangent points (see Table 2). Ideally, each of these _d_ 1 values should be identical. In practice, the thickness is approximated as _d_ 1 = mean( d1 ) ± std( d1 ). Sometimes, it is advisable to exclude the elements of d1 corresponding to the shorter wavelengths if they clearly differ from the the mean value, as they are often not very consistent with the other values (see the marked numbers on the Table 2). This discrepancy arises when there exists a strong absorption at shorter wavelengths, as the Swanepoel approximation ( _n_ ≫ _k_ ) becomes less accurate. _3.2._ _Refining the values of n_ 2 _and d_ 2 The previous estimates are highly sensitive to noise from the experimental transmission measurements and errors in the two corresponding envelopes. Therefore, it is important to go through a second refinement step to find more suitable values of _n_ 2 and _d_ 2. First, note that we can now calculate the “inexact” half-integers (denoted by m1 ) by inserting the predicted rough values _n_ 1(λ <sup>tan</sup> ) and _d_ 1 in Eq. (10), yielding m1 = 2 _n_ 1(λ <sup>tan</sup> ) _d_ 1/λ <sup>tan</sup> . The set of approximated values m1 are shown in the 6th column of Table 2. We know that m1 should theoretically be half-integers, so we can improve the found values. Indeed, one will now search for the sequence of consecutive half-integers m2 that best match the approximated data m1 . This process can be automated by formulating a fitting problem and employing the direct search method, an effective global optimization technique well-suited for this straightforward, low-dimensional scenario. Specifically, we identify the optimal sequence Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13388 Table 2. Results of the Swanepoel method applied to the transmission spectra of Sample #1 and Sample #2. The estimated thicknesses are provided along with their standard deviations and relative errors compared to the thicknesses obtained from the inverse synthesis method. For Sample #1, _d_ 1 = 1099.32 ± 35.77 nm (relative error = 3.25%) and _d_ 2 = 1110.18 ± 7.22 nm (relative error = 0.65%). For Sample #2, _d_ 1 = 1167.28 ± 62.92 nm (relative error = 5.39%) and _d_ 2 = 1163.88 ± 10.52 nm (relative error = 0.90%). The last two data points in each sample are crossed out due to unreliable calculations at shorter wavelengths. Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13389 of consecutive half-integers that minimizes the absolute error distance relative to our set of approximate interference orders _m_ 1. The refined values m2 are presented in the seventh column of Table 2. Setting now _n_ 1(λ <sup>tan</sup> ) and the _exact_ values of m2 into Eq. (10), we can determine a new array d2 with more accurate film-thickness estimates: d2 = m2 λ <sup>tan</sup> /2 _n_ 1(λ <sup>tan</sup> ). The corrected film thickness is then computed as _d_ 2 = mean( d2 ) ± std( d2 ). These values are shown in the 8th column of Table 2. In the two example shown in the table, one can see noticeable improvements from _d_ 1 to _d_ 2, reducing the uncertainty of the thickness value by an order of magnitude. Finally, one can employ the interference formula once again to compute the corrected refractive index _n_ 2(λ <sup>tan</sup> ). Note that the known values that we introduce in the interference formula are the exact set of values m2 and the highly accurate thickness _d_ 2. In particular, we now compute _n_ 2(λ <sup>tan</sup> ) = m2 λ <sup>tan</sup> /2 _d_ 2. _3.3._ _Finding k_ 2 With the refined values of the refractive index _n_ 2(λ <sup>tan</sup> ) and thickness _d_ 2, we now aim to find precise values of the extinction coefficient _k_ 2(λ <sup>tan</sup> ) at each tangent point. Observe that since the extinction coefficient _k_, the absorption coefficient α, and the variable _x_ are directly related through Eqs. (2a)–2b, it is sufficient to estimate any one of these quantities. We will then analyze _x_ . The variables ( _A_, _B_, _C_, _D_ ) from Eq. (7) depend only on _n_ and _d_, and can now be accurately calculated using the refined values _n_ 2(λ <sup>tan</sup> ) and _d_ 2. Considering that the envelopes _TM_ and _Tm_ were (somehow) previously calculated, we can now solve either Eqs. (8a) or (8b) for _x_ 2(λ <sup>tan</sup> ) at each wavelength λ <sup>tan</sup> . It is important to note that these equations are quadratic, resulting in two possible ambiguous results for _x_ 2. However, it must be remarked again that the parameter _x_ 2 represents a fraction of transmitted intensity: the beam intensity transmitted in a single pass through the thin film, neglecting the multiple inter-reflections in the film and the substrate. Of course, such quantity must lie in the range from 0 and 1, and we can then select the unique physically meaningful solution within this range, out of the two possible mathematical results. 4. Procedure to find the Swanepoel envelopes The previous section explained how to obtain the optical functions using our automated implementation of the Swanepoel method. Please note that the method did _not_ describe how to find the envelopes from an experimental transmission spectrum or their corresponding tangent points, but rather assumed that these envelopes were known _a priori_ . We now propose our novel approach to construct the envelopes and solve that initial and particularly challenging problem. _4.1._ _Data treatment and convexity regions_ Initially, we need to select only the adequate spectral region in which the substrate exhibits negligible absorption ( _ks_ ≈ 0), and where the thin-layer sample has _non-zero_ transmission (excluding areas of clear strong absorption), therefore confining our analysis to the spectral region valid for the Swanepoel method. We then employ a convenient Gaussian filter to reduce noise in the transmission spectrum of the sample. Finally, we interpolate the transmission curve over the full wavelength range with _cubic splines_, which ensure the second-order differentiability of the spectrum. This first step is crucial to find the tangent points with high precision, as the experimental transmittance measurements might have a relatively low spectral resolution (e.g., with measured wavelengths every 10 nm). Following this initial data treatment, we now identify downward concave intervals within the transmission spectrum by employing the second-order numerical derivatives. The remaining spectral intervals not identified as concave are consequently categorized as upward convex intervals. Figure 5 show the convex regions in light green and the concave ones light blue. We Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13390 will designate the concave intervals as [ _u_ <sup>min</sup> _t_ will designate the concave intervals as [ _u_ <sup>min</sup> _t_, _u_ <sup>max</sup> _t_ ], for _t_ ∈{1, . . ., _U_ }. Similarly, the convex intervals are denoted as [ _v_ <sup>min</sup> _t_, _v_ <sup>max</sup> _t_ ], for _t_ ∈{1, . . ., _V_ }. The resulting intervals must alternate, <sup>min</sup> _t_, _v_ <sup>max</sup> _t_ <sup>min</sup> _t_, _u_ <sup>max</sup> _t_ intervals are denoted as [ _v_ <sup>min</sup> _t_, _v_ <sup>max</sup> _t_ ], for _t_ ∈{1, . . ., _V_ }. The resulting intervals must alternate, ensuring the relation _U_ = _V_ ± 1. Fig. 5. Graphical illustration of the iterative optimization process used to determine the upper envelope. The algorithm identifies upper tangent points so that the interpolated curve lies entirely above the experimental transmission data, ensuring that each concave region contains a unique tangent point. During the initial iteration (red envelope), the randomly selected tangent points yield a high cost (see bottom panel). In subsequent iterations (green dashed envelope), the cost gradually decreases, allowing the solution to converge to the desired upper envelope. Adopting the reasoning presented in [59], we will only incorporate the intervals at the end (either concave or convex) if they possess a local extremum, given that such intervals could potentially encompass a tangent point. In other words, if last interval is severely cropped, not including its minimum or maximum, it should be discarded. For instance, a short interval at the end of both graphs from Fig. 5 appears blank, as it does not contain an extrema. Additionally, the regions in the left-hand side in which _T_ (λ) is below a certain numerical threshold (such as 0.5%) are crop out, as no useful information about the tangent point is found in the regions of complete absorption. In practice, noise in the transmission spectra and small absorption of the substrate typically lead to incorrect interval classification of the convexity. To compensate for this problem, we introduce a “window” variable that establishes the minimum size of the intervals (the highest frequency allowed). Intervals shorter than this window size are considered spurious and are merged with adjacent intervals to form larger, more significant regions. This process effectively filters out inconsistent high-frequency noisy oscillations in the transmission spectrum and its derivatives, ensuring that only meaningful convexity intervals are retained. The selection of this window variable must be customized depending on the unique characteristics of the experimental data and its noise. Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13391 _4.2._ _Finding the tangent points with an optimization algorithm_ After these steps, we formulate a global optimization problem that allows us to simultaneously determine both the tangent points and the envelopes. We incorporate into our model two essential properties of the Swanepoel envelopes, detailed below: - Envelopes bound the transmission curve : The upper envelope consistently lies above the transmission curve, _T_ <sup>sim</sup> (λ) ≤ _TM_ <sup>sim(λ), and the lower envelope lies below it,</sup> <sup>_T_</sup> _m_ <sup>sim(λ)</sup> <sup>≤</sup> _M_ <sup>sim(λ), and the lower envelope lies below it,</sup> <sup>_T_</sup> _m_ <sup>sim</sup> the transmission curve, _T_ <sup>sim</sup> (λ) ≤ _TM_ <sup>sim(λ), and the lower envelope lies below it,</sup> <sup>_T_</sup> _m_ <sup>sim(λ)</sup> <sup>≤</sup> _T_ <sup>sim</sup> (λ). Consequently, the transmission curve and its envelopes touch at the tangent points but do not cross each other. This behavior follows from the definition of envelopes (see Eq. (7)) and can be readily proved under the reasonable assumption that _n_ ≥ _ns_, which ensures the variable _C_ in Eq. (7) is non-negative. - Convexity at tangent points : Each upper tangent point is located in a concave region of the transmission curve, while each lower tangent point is found within a convex region. To justify this intuitive property, we used symbolic computation software ( _Wolfram Alpha_ _Mathematica_ ) to determine the second derivative of the transmission _T_ <sup>sim</sup> (λ) at the tangent points. In spectral regions where the film exhibits medium-to-weak absorption, the optical functions _n_ (λ) and _k_ (λ) vary only slightly. It is reasonable to consider the variables ( _A_, _B_, _C_, _D_, _x_ ) from Eq. (6) as approximately constant around a specific tangent point. Consequently, variations in the transmission spectrum near that point primarily stem from the term cos (φ) in Eq. (6), due to the rapid change of the phase φ = 4π _nd_ /λ with wavelength. This observation allows us to analytically estimate the derivatives of _T_ <sup>sim</sup> (λtan). We found that the second derivative is positive at the lower tangent points and negative at the upper ones. Considering these two reasonable properties for the transmission spectra of thin uniform films, we can now define the following minimization problems: , ⎧⎪⎪⎪⎨ ⎪⎪⎪⎩ ]︃ minimize C _M_ (λ1 <sup>_M_</sup> <sup>, λ</sup> 2 <sup>_M_</sup> <sup>, . . ., λ</sup> _U_ <sup>_M_</sup> <sup>) =</sup> minimize C _M_ (λ1 <sup>_M_</sup> _k_ ∑︂ _i_ =1 ReLU [︃ _T_ (λ _i_ ) − _TM_ (λ _i_ ; λ1 <sup>_M_</sup> <sup>, λ</sup> 2 <sup>_M_</sup> <sup>, . . ., λ</sup> _U_ <sup>_M_</sup> <sup>)</sup> _T_ (λ _i_ ) − _TM_ (λ _i_ ; λ1 <sup>_M_</sup> (12a) (12b) _t_ <sup>_M_</sup> ∈[ _u_ <sup>min</sup> _t_, <sup>max</sup> _t_ ], for _t_ ∈{1, 2, . . ., _U_ }. subject to λ _t_ <sup>_M_</sup> <sup>min</sup> _t_, _u_ <sup>max</sup> _t_ , ⎧⎪⎪⎪⎨ ⎪⎪⎪⎩ ]︃ minimize C _m_ (λ1 <sup>_m_</sup> <sup>, λ</sup> 2 <sup>_m_</sup> <sup>, . . ., λ</sup> _V_ <sup>_m_</sup> <sup>) =</sup> _k_ ∑︂ _i_ =1 ReLU [︃ _Tm_ (λ _i_ ; λ1 <sup>_m_</sup> <sup>, λ</sup> 2 <sup>_m_</sup> <sup>, . . ., λ</sup> _V_ <sup>_m_</sup> <sup>) −</sup> <sup>_T_</sup> <sup>(λ</sup> <sup>_i_</sup> <sup>)</sup> _Tm_ (λ _i_ ; λ1 <sup>_m_</sup> _t_ <sup>_m_</sup> <sup>∈[</sup> <sup>_v_</sup> _t_ <sup>min</sup> subject to λ _t_ <sup>_m_</sup> <sup>_v_</sup> _t_ <sup>min</sup>, _v_ <sup>max</sup> _t_ <sup>max</sup> _t_ ], for _t_ ∈{1, 2, . . ., _V_ }. Observe that non-uniform films are often modeled using a Taylor first-order approximation with a planar surface exhibiting a certain tilt. A more general expression for the transmission formula in these scenarios is derived in [33]. It should be noted that for films with a very high wedge, ∆ _d_ >λ/(4 _n_ ), the two properties described above do no longer hold. In such cases, the upper and lower envelopes eventually cross over each other, resulting in the upper envelope lying below the spectrum with upper tangent points in convex regions (and vice versa for the lower envelope). Our current study does not apply to this more complex scenario. The rectified linear unit (ReLU) function, frequently employed in machine learning contexts, is defined as ReLU( _x_ ) = _x_ if _x_ >0, and ReLU( _x_ ) = 0 if _x_ ≤ 0. This function ensures that the cost C _M_ (λ1 <sup>_M_</sup> <sup>, λ</sup> 2 <sup>_M_</sup> <sup>, . . ., λ</sup> _n_ <sup>_M_</sup> <sup>) penalizes only the instances when the upper envelope is beneath the</sup> cost C _M_ (λ1 <sup>_M_</sup> <sup>, λ</sup> 2 <sup>_M_</sup> <sup>, . . ., λ</sup> _n_ <sup>_M_</sup> <sup>) penalizes only the instances when the upper envelope is beneath the</sup> transmission spectrum (breaking the first property), while C _m_ (λ1 <sup>_m_</sup> <sup>, λ</sup> 2 <sup>_m_</sup> <sup>, . . ., λ</sup> _u_ <sup>_m_</sup> <sup>) penalizes only the</sup> transmission spectrum (breaking the first property), while C _m_ (λ1 <sup>_m_</sup> <sup>, λ</sup> 2 <sup>_m_</sup> <sup>, . . ., λ</sup> _u_ <sup>_m_</sup> <sup>) penalizes only the</sup> cases where the lower envelope is above the spectrum. Note that the constraint of the optimization problem guarantees the presence of one (and only one) upper tangent point for each concave region, and one (and only one) lower tangent point for each convex region, as established in the second property. Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13392 The predicted top and bottom envelopes, denoted by _TM_ (·) and _Tm_ (·), are obtained using cubic Hermite interpolation [83] on the tangent points. For instance, the upper envelope corresponds to the interpolation of the points {λ _t_ <sup>_M_</sup> <sup>,</sup> <sup>_T_</sup> <sup>(λ</sup> _t_ <sup>_M_</sup> <sup>)}</sup> <sup>_t_</sup> <sup>,</sup> <sup>for</sup> <sup>_t_</sup> <sup>∈{1, 2, . . .,</sup> <sup>_U_</sup> <sup>}.</sup> <sup>Once</sup> <sup>these</sup> <sup>points</sup> <sup>are</sup> interpolated, we can evaluate the upper _TM_ (λ) envelope function at any wavelength λ within the continuous spectral region, and vice-versa for the lower envelope. The Hermite interpolation provides a piece-wise polynomial approximation of the envelopes, while maintaining monotonicity within each piece. By utilizing cubic Hermite interpolation, we not only ensure that the interpolated envelopes pass through the given tangent points but also that they conform to the specific slopes at those points. This method incorporates both the function values and their first derivatives, resulting in a piecewise cubic polynomial that is continuous in both value and slope. The inclusion of derivative information allows the interpolation to capture the local behavior of the data more accurately, preserving essential features such as peaks and inflection points. Moreover, cubic Hermite interpolation minimizes oscillations between data points, a common issue with higher-degree polynomial interpolations that do not consider slope information. This reduction in unwanted oscillatory behavior leads to a more stable and reliable approximation of the envelopes. To solve the optimization problems presented in Eqs. (12a–12b), we utilize the Simulated (Dual) Annealing algorithm [80]. It should be noted that conventional local optimizers (such as Gradient-Descent, Levenberg-Marquardt, or Nelder-Mead), fail to converge to the correct solution due to the presence of several local minima. Very significantly, our algorithm converges in 30-60 seconds on a standard computer, given the simplicity of the cost functions. Figures 6(a)-b show a the results of our envelope-detection algorithm for a simulated sample and a zoom-in of the strong-absorption region. Figures 6(c)-d show the results of our approach for the real samples #1 and #2, respectively. _4.3._ _Boundary points_ Interpolation near the edges of the spectral region of interest (ROI) can be challenging, particularly at the first and last tangent points. To improve accuracy, we propose extending the envelope calculation to include boundary points at both ends of the ROI rather than stopping at the first and last tangent points. This ensures that the first and last tangent points become interior nodes rather than endpoints, improving the stability of the interpolation. The selection of boundary points is informed by the film’s behavior at both extremes of the spectrum. First boundary point(s): At shorter wavelengths, where absorption is strong, the amplitude of the oscillations decrease, and the upper and lower envelopes converge toward the measured transmittance _T_ (λinit) ≈ 0, indicating that the film is essentially opaque (see Fig. 6(a) below 600 nm). Thus, an additional boundary node (λinit, _T_ (λinit)) is placed at the initial wavelength for both the upper and lower envelopes. In cases where the region of near-complete absorption is not fully cropped, one can place this boundary node at the earliest wavelength where _T_ (λinit) ≈ 0 still holds true. One can see these first two added boundary points in Fig. 6(a). Last boundary point: At longer wavelengths, where absorption weakens and the envelopes flatten, we approximate the last boundary point (λlast, _y_ last) using a simple parabolic model based on the _two final tangent points_, denoted (λ1, _y_ 1) and (λ2, _y_ 2). In this ending region, the tangent points indeed lie very close to the local extrema, making this approximation convenient in practice. Specifically, we assume the mathematical model: _<u>T</u>_ <u>1</u> _y_ last = _T_ 0 + λ − λ0 , (13) Where the amplitude _T_ 1 ∈[0, 1] and wavelength λ0 are determined analytically from the two last maxima (λ1, _y_ 1) and (λ2, _y_ 2) for the upper envelope, or minima for the lower envelope. The parameter _T_ 0 is fix to the mean substrate absorption _T_ s in the case of the upper envelope: in Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13393 Fig. 6. Envelopes and tangent points determined using our novel optimization procedure. In particular, (a) shows the reconstructions for simulated sample and (b) a magnified view of its strong absorption region, while (c) and (d) show transmittance curves for the real samples #1 and #2, respectively. These results satisfy the two constraints imposed in our optimization problem: first, the upper (lower) envelope consistently lies above (below) the transmittance curve, touching it only at upper (lower) tangent points; second, these tangent points are localized within the light-blue concave (upper) or light-green convex (lower) regions. the weak absorption region, the upper envelope naturally converges to the almost flat curve of the transmittance. In the case of the lower envelope, we calculate the distance between the last maximum and minimum values, which approximates _T_ M <sup>−1</sup> <sup>−</sup> <sup>_T_</sup> m <sup>−1</sup> <sup>at the end of the spectrum.</sup> <sup>We</sup> M <sup>−1</sup> <sup>−</sup> <sup>_T_</sup> m <sup>−1</sup> maximum and minimum values, which approximates _T_ M <sup>−1</sup> <sup>−</sup> <sup>_T_</sup> m <sup>−1</sup> <sup>at the end of the spectrum.</sup> <sup>We</sup> then know that, in the region of weak absorption, the lower envelope must eventually convergent for longer wavelengths to the value _T_ 0 = _T_ s −( _T_ M <sup>−1</sup> <sup>−</sup> <sup>_T_</sup> m <sup>−1).</sup> M <sup>−1</sup> <sup>−</sup> <sup>_T_</sup> m <sup>−1</sup> for longer wavelengths to the value _T_ 0 = _T_ s −( _T_ M <sup>−1</sup> <sup>−</sup> <sup>_T_</sup> m <sup>−1).</sup> By integrating this physically informed boundary treatment, we ensure a smoother and more reliable envelope estimation across the entire ROI. Note that alternative boundary conditions may be employed for other type of spectra, such as those not reaching near-zero transmittance at the short-wavelength limit, not approaching a medium-to-weak region at the long-wavelength end, or reaching the completely non-absorption region at the long-wavelength end. Our implementation allows users to select different boundary models, such as a flat envelope at the long-wavelength side when complete transparency is reached, exponential and linear fits from the two first or last tangent points, and even manual selection, for more pathological cases. 5. Other envelope construction techniques We now present an overview of three envelope construction approaches, including (i) the widely employed McClain iterative algorithm [59], (ii) the practical parabolic or exponential fitting methods, and the recently devised (iii) deep learning technique [70], all of which will serve as benchmarks for evaluating our approach in the subsequent section. The implementation of other Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13394 methodologies proposed in the literature [63–66], for which no openly available code exists, is beyond the scope of this study. _5.1._ _McClain algorithm_ The most widely employed and established algorithm for envelope construction was developed by McClain et al. in 1991 [59]. This technique consists of two distinct phases: first estimating the tangent points and then refining them. In the _first_ phase, one identifies the local minima and maxima of the transmission curve, tentatively assigning them as the lower and upper tangent points. Since not all tangent points coincide with peaks and valleys, an alternative approach involves selecting the midpoints of the concave and convex regions. These estimated tangent points are then used to construct the first approximated lower and upper envelopes via B-spline interpolation. The initial estimation of the tangent points during the first phase is the most critical part to find accurate envelopes. Observe that the algorithm requires the first and last tangent points, located at the boundaries of the interval, to coincide with local extrema (i.e., maxima for the upper envelope and minima for the lower envelope). While this approach helps avoid including invalid or spurious points, as noted in the seminal Ref. [59], it also leads to drawbacks. For one, it may produce larger errors, as evidenced by the substantial shift from the first extremum to the corresponding tangent point (see Fig. 1(d)). Moreover, it excludes many potentially useful tangent points in the shorter-wavelength region where small oscillations often occur without forming clear local maxima or minima. In broadband transmission measurements, the spectrum typically transitions from strong absorption near the optical bandgap to moderate or weak absorption further away. Early in the spectrum, small oscillations frequently arise without distinct local extrema. By requiring that the first tangent point be a local extremum, the algorithm effectively discards these non-extremal oscillations, undermining the intended benefit of using the midpoints of concave/convex intervals instead of the peaks/valleys as initial tangent point candidates. In the _second_ phase, the algorithm iteratively refines the tangent points to improve the accuracy of the envelopes. Focusing on the upper envelope, the algorithm identifies “incorrect” regions in which the estimated upper envelope _TM_ (λ) falls below the actual transmission spectrum _T_ (λ). The upper tangent points are then relocated to the midpoints of these incorrect regions, as done in the bisection method. A new upper envelope is recalculated based on the updated tangent points. This iterative process is repeated until convergence (or up to a maximum of 20 times), progressively reducing the size of the incorrect regions at each step. Note that the same refinement procedure is applied to the lower tangent points and envelope. In this case, the incorrect regions are those where the estimated lower envelope _Tm_ (λ) lies above the transmission spectrum _T_ (λ). _5.2._ _Parabolic or exponential fitting_ Another prevalent technique involves the direct fitting of local maxima (or minima) using either parabolic or exponential curves to construct the upper (or lower) envelopes. The envelopes then follow one of these mathematical expressions: _f_ <sup>para</sup> (λ; _T_ 0, _T_ 1, _T_ 2, Λ1, Λ2) = _T_ 0 + <sup><u>102</u></sup> <sup>·</sup> <sup>_<u>T</u>_</sup> <sup><u>1</u></sup> λ − Λ1 + <sup><u>105</u></sup> <sup>·</sup> <sup>_<u>T</u>_</sup> <sup><u>2</u></sup> (14a) (λ − Λ2) <sup>2</sup> _f_ <sup>exp</sup> (λ; _T_ 0, _T_ 1, _T_ 2, Λ1, Λ2) = _T_ 0 + _T_ 1 · _e_ <sup>−λ/Λ1</sup> + _T_ 2 · _e_ <sup>−λ/Λ2</sup> (14b) The optimal parameters ( _T_ 0, _T_ 1, _T_ 2, Λ1, Λ2) can be obtained by solving a nonlinear least-square fitting problem. Although generally less precise than McClain algorithm, it is crucial to point out that this fitting approach is notably beneficial for transmission spectra that exhibit a restricted number of oscillations and tangent points, a condition often encountered with ultra-thin films. Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13395 The piece-wise interpolations used in both the McClain algorithm and our newly proposed methods typically require at least four tangent points for a reliable estimation of each envelope. The fitting method has also proved valid [67] for crystalline film materials, where the materials present a distinct absorption band and are almost transparent beyond the absorption region. These materials have an almost nonexistent Urbach tail, given their low level of molecular disorder. In this cases, the subsequent very flat envelope curves can be conveniently modeled by Eqs. (14a–14b), independently of the amount of present oscillations in the transmission spectrum. Our method introduces the artificial boundary points at the ends of the spectral range using a similar approach, but applying first-order parabolic or exponential functions rather than a second-order ones. This adjustment ensures that the fitting procedure is well-defined and depends only on the final two nodes, enabling a direct analytical solution. _5.3._ _Deep learning approach_ While both McClain and the curve-fitting algorithms offer reasonable outcomes in practice and converge to an envelope of an oscillating function, they do not necessarily converge to the exact expression of the Swanepoel envelopes, as defined in Eq. (8). To overcome this issue, our group developed a deep learning (DL) approach [70] that calculates the envelopes in alignment with the Swanepoel theoretical expressions. In particular, we created a dataset of 100,000 input-output pairs { _T_ (λ), _TM_ (Λ)} for training using the exact Eqs. (6 –8a). A supervised convolutional neural networks (CNNs) model was trained with this dataset to predict the upper and lower envelopes from a transmission spectrum in real-time. While this DL model does not have limitations on the number of tangent points, it is susceptible to noise and artifacts from real-world transmission measurements. This is caused because the distribution of the simulated data differs significantly, which is a known issue for DL approaches used in inverse problems like image restoration or super-resolution [84–87]. The noise in real measures strongly depends on the instrumentation and the conditions of the particular experiment. For instance, one potential sources of deviance between the simulated and real spectra is the photodetector noise, which can be responsible up to the 0.2% transmittance error. Second, the effect of the realistic limited coherent length of the beam in the thin film, which affects the peaks and valleys. Third, the increase of coherent length with the wavelength, which may eventually lead to the high frequency noise due to the undesired thick-substrate interferences. Fourth, the change in the emitting source for UV versus VIS-NIR, which may produces a significant jump in the transmittance. Fifth, the substrate absorption of at particular wavelengths, and the absorption of air components if the experiment is not carefully performed in a vacuum. Observe that modeling these noise sources in general is challenging and not yet fully addressed in the current literature. Incorporating a comprehensive theoretical noise model could enhance the current DL approach by providing deeper insights and improving its overall performance with real data. 6. Validation and comparison We began by validating our envelope construction procedure using 50 computer-generated transmission spectra, each accompanied by a known theoretical envelope. In particular, we generated 50 random set of parameters ( _d_, _E_ 0, _E_ d, α0, _E_ u) within the bounds specified in Table 1. These data were then employed in Eq. (6) to produce the transmittance, and Eqs. (8a)–(8b) for their corresponding envelopes. The substrate transmittance is assumed constant, with the typical value _T_ s = 92%. Accurate envelope determination relies on the inclusion of boundary points. For the first boundary point, corresponding to a regime of nearly complete absorption ( _T_ ≈ 0), the estimation is straightforward in our simulated samples, as the chosen spectral range encompasses the strongly absorbing region near the band gap. In contrast, determining the last boundary point is a more Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13396 challenging task. Comparison of our default parabolic-fitting model with the known ground-truth last boundary point resulted in a transmittance error of 0.143 ± 0.214% for the upper boundary point and 0.142 ± 0.125% for the lower boundary point. Applying our envelope detection procedure to the simulated spectra yielded an RMSE of 0.098 ± 0.084% for the upper envelope and 0.058 ± 0.045% for the lower envelope. The slightly higher RMSE for the upper envelope is attributed to its intrinsically larger values. Notably, _all_ tangent points were correctly identified, with an average absolute error of 1.06 ± 0.95 nm for the upper tangent points and 2.99±2.62 nm for the lower tangent points. Table 3 compares our method performance to that of the standard McClain algorithm. Because McClain method identifies only tangent points associated with local extrema, the spectral range in which it computes the envelopes is considerably shorter than the full region of interest. To ensure a fair comparison, we restrict both methods to the same shorter spectral region. Our method achieves less than half the RMSE for the envelopes and an absolute error on tangent point location that is about an order of magnitude smaller. Table 3. Comparing our proposed method with respect to the standard McClain algorithm within the same spectral region (between the first and last local extrema). Method Upper env. Lower env. Upper tan Lower tan McClain 0.202 ± 0.129 0.090 ± 0.040 2.59 ± 1.75 2.48 ± 1.45 Ours 0.080 ± 0.078 0.043 ± 0.034 0.27 ± 0.33 0.55 ± 0.72 For a further comparison with curve-fitting approaches, we restrict analysis to spectra with fewer than five tangent points associated with extrema and generate 50 computer-simulated spectra by varying the sample thickness from 200 to 500 nm only, considering ultra-thin film samples. The reported RMSE for the envelopes is computed between the first and last identified tangent points. Under these conditions, the exponential fit yields an error of 2.11% for the upper envelope and 0.31% for the lower envelope, whereas the parabolic fit produces errors of 1.19% (upper) and 0.42% (lower). Because the tangent points in these fits are directly (and somewhat imprecisely) tied to local extrema, their errors increase considerably: 6.10 nm for the exponential fit and 7.66 nm for the parabolic fit. As noted previously, the DL algorithm achieves very low errors (0.14% for the upper and 0.05% for the lower envelopes) over the entire spectral range, but it remains incompatible with realistic noisy data and does not directly provide the locations of the tangent points. It is important to recognize that the exact optical properties and ground-truth envelopes are obviously unavailable for the case of real spectra, unlike the case with simulated data. To address this limitation, we leverage the results of inverse synthesis as a benchmark for assessing the optical characterization analysis performed by swanpy. This comparison should thus be viewed as a _consistency check_ rather than a strict accuracy evaluation. 1. First, Fig. 7 shows good agreement between the optical functions _n_ and _k_ extracted via inverse synthesis (continuous curves) and those evaluated at specific tangent points by our improved Swanepoel method. 2. Second, the Swanepoel method demonstrates reliable accuracy for determining film thickness. As shown in Table 2, sample #1 exhibits a relative thickness error of 0.65%, while sample #2 has an error of 0.90%. Notably, the thicknesses from inverse synthesis ( _d_ = 1117 nm for sample #1 and _d_ = 1160 nm for sample #2) both lie within the corresponding Swanepoel confidence intervals ( _d_ = 1110 ± 7 nm for sample #1 and _d_ = 1163 ± 11 nm for sample #2). 3. Third, an indirect but informative way to validate envelope detection in real measurements is to analyze the interference orders from Table 2. We find that the computed orders _m_ lie Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13397 very close to half-integer values (columns 6 and 7), indicating an accurate determination of tangent points and envelopes. When misidentified tangent points do occur, their associated interference orders tend to align with other half-integer values rather than the expected one. This consistency across multiple metrics supports the robustness of our approach for real experimental data. Fig. 7. Refractive index and extinction coefficient for _a_ -Si samples #1 and #2, found with the inverse synthesis approach (solid lines) and with our proposed improved Swanepoel method (circles). 7. Conclusions In this work, we present a novel algorithm for Swanepoel envelopes construction, an essential aspect in the optical characterization of thin films. Our approach integrates the physical properties of the Swanepoel envelopes into a global optimization problem. After evaluation with fifty computer-generated spectra, our algorithm demonstrated an RMSE below 0.01% for the upper envelope and 0.06% for the lower envelope, significantly surpassing the performance of existing state-of-the-art methods. We also successfully applied our approach to characterize two real samples of amorphous silicon. Additionally, we integrated our envelope construction algorithm with our automated implementation of the Swanepoel method in an open-source Python package, swanpy. Given its noise robustness, high accuracy, and speed, our program emerges as a valuable tool for the optical characterization of thin solid films. It should be noted that the envelope construction presented in this work can be coupled with more advanced envelope methods. Therefore, future research could explore the applicability of our approach in more complex and realistic films, such as those with non-uniform thickness, multi-layer samples, or absorbent substrates. Disclosures. The authors declare no conflicts of interest. M.B. developed the method and the wrote the draft of the manuscript. S.L-T. and A.P.M. developed the software. S.F. provided the experimental data. J.B., D.M., and C.W. made revisions of the manuscript and validated the results. F.W., E.M., and A.K.K. conceptualized the idea and supervised the project. All authors reviewed and approved the manuscript. Data Availability. All data underlying the results presented in this paper are available in the link provided within the text. References 1. E. Fortunato, P. Barquinha, and R. Martins, “Oxide semiconductor thin-film transistors: a review of recent advances,” [Adv. Mater.](https://doi.org/10.1002/adma.201103228) 24 (22), 2945–2986 (2012). 2. N. A. Al-Ahmadi, “Metal oxide semiconductor-based schottky diodes: [a review of recent advances,” Mater. Res.](https://doi.org/10.1088/2053-1591/ab7a60) [Express](https://doi.org/10.1088/2053-1591/ab7a60) 7 (3), 032001 (2020). Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13398 3. L. Sang, M. Liao, and M. Sumiya, “A comprehensive review of semiconductor ultraviolet photodetectors: from thin [film to one-dimensional nanostructures,” Sensors](https://doi.org/10.3390/s130810482) 13 (8), 10482–10518 (2013). 4. V. H. López-Lugo, M. García-Hipólito, A. Rodríguez-Gómez, _et_ _al._, “Fabrication of li-doped nio thin films by [ultrasonic spray pyrolysis and its application in light-emitting diodes,” Nanomaterials](https://doi.org/10.3390/nano13010197) 13 (1), 197 (2023). 5. M.-J. Spijkman, K. Myny, E. C. Smits, _et al._ [, “Dual-gate thin-film transistors, integrated circuits and sensors,” Adv.](https://doi.org/10.1002/adma.201101493) [Mater.](https://doi.org/10.1002/adma.201101493) 23 (29), 3231–3242 (2011). 6. [J. Henry and J. Livingstone, “Thin-film amorphous silicon position-sensitive detectors,” Adv. Mater.](https://doi.org/10.1002/1521-4095%0x28200107%0x2913:12/13<1022::AID-ADMA1023>3.0.CO;2-I) 13 (12-13), 1022–1026 (2001). 7. Y. S. Rim, “Review of metal oxide semiconductors-based thin-film transistors for point-of-care sensor applications,” [J. Inf. Disp.](https://doi.org/10.1080/15980316.2020.1714762) 21 (4), 203–210 (2020). 8. A. Shah, R. Platz, and H. Keppner, “Thin-film silicon solar cells: [a review and selected trends,” Sol. energy materials](https://doi.org/10.1016/0927-0248%0x2894%0x2900241-X) [solar cells](https://doi.org/10.1016/0927-0248%0x2894%0x2900241-X) 38 (1-4), 501–520 (1995). 9. M. Ballester, A. Márquez, C. García-Vázquez, _et_ _al._, “Energy-band-structure calculation by below-band-gap spectrophotometry in thin layers of non-crystalline semiconductors: A case study of unhydrogenated a-si,” [J.](https://doi.org/10.1016/j.jnoncrysol.2022.121803) [Non-Cryst. Solids](https://doi.org/10.1016/j.jnoncrysol.2022.121803) 594, 121803 (2022). 10. A. J. Lopez-Garcia, G. Alvarez-Suarez, E. Ros, _et_ _al._, “Enhanced selective contact behavior in a-si: H/oxide [transparent photovoltaic devices via dipole layer integration,” Sol. RRL](https://doi.org/10.1002/solr.202400276) 8 (14), 2400276 (2024). 11. E. Maiorano, S. Gianvittorio, M. Lanzi, _et al._, “Print-light-synthesis of gold thin film electrodes for electrochemical [sensing,” Adv. Mater. Technol.](https://doi.org/10.1002/admt.202202039) 8 (12), 2202039 (2023). 12. M. G. Toudeshkchoui, N. Rabiee, M. Rabiee, _et al._, “Microfluidic devices with gold thin film channels for chemical and biomedical applications: [a review,” Biomed. Microdevices](https://doi.org/10.1007/s10544-019-0439-0) 21 (4), 93 (2019). 13. M. M. Singh, G. Vijaya, M. Krupashankara, _et al._, “Deposition and characterization of aluminium thin film coatings [using dc magnetron sputtering process,” Mater. Today:](https://doi.org/10.1016/j.matpr.2018.01.050) Proc. 5 (1), 2696–2704 (2018). 14. W. He and C. Ye, “Flexible transparent conductive films on the basis of ag nanowires: design and applications: a [review,” J. Mater. Sci. & Technol.](https://doi.org/10.1016/j.jmst.2014.11.020) 31 (6), 581–588 (2015). 15. J. P. Silva, K. C. Sekhar, H. Pan, _et al._, “Advances in dielectric thin films for energy storage applications, revealing [the promise of group iv binary oxides,” ACS Energy Lett.](https://doi.org/10.1021/acsenergylett.1c00313) 6 (6), 2208–2217 (2021). 16. R. Politanskyi, M. Vistak, G. Barylo, _et al._, “Simulation of anti-reflecting dielectric films by the interference matrix [method,” Opt. Mater.](https://doi.org/10.1016/j.optmat.2020.109782) 102, 109782 (2020). 17. M. Kumar, N. Kumari, P. K. Rao, _et al._, “Multi-layer dielectric thin-film optical filters for beam folding applications,” in _International Conference on Optics and Photonics 2015_, vol. 9654 (SPIE, 2015), pp. 90–94. 18. J. Benedikt, V. Raballand, A. Yanguas-Gil, _et al._, “Thin film deposition by means of atmospheric pressure microplasma [jet,” Plasma Phys. Controlled Fusion](https://doi.org/10.1088/0741-3335/49/12B/S39) 49 (12B), B419–B427 (2007). 19. F. Massines, C. Sarra-Bournet, F. Fanelli, _et al._, “Atmospheric pressure low temperature direct plasma technology: [status and challenges for thin film deposition,” Plasma Process. Polym.](https://doi.org/10.1002/ppap.201200029) 9 (11-12), 1041–1073 (2012). 20. A. Tumuluri, K. L. Naidu, and K. J. Raju, “Band gap determination using tauc’s plot for linbo3 thin films,” Int. J. ChemTech Res 6, 3353–3356 (2014). 21. J. Guerra, A. Tejada, J. Töfflinger, _et al._, “Band-fluctuations model for the fundamental absorption of crystalline and amorphous semiconductors: [a dimensionless joint density of states analysis,” J. Phys. D: Appl. Phys.](https://doi.org/10.1088/1361-6463/aaf963) 52 (10), 105303 (2019). 22. [M. Bhowmick, H. Xi, and B. Ullrich, “Optical bandgap definition via a modified form of urbach’s rule,” Materials](https://doi.org/10.3390/ma14071639) 14 (7), 1639 (2021). 23. C. Kaiser, O. J. Sandberg, N. Zarrabi, _et al._ [, “A universal urbach rule for disordered organic semiconductors,” Nat.](https://doi.org/10.1038/s41467-021-24202-9) [Commun.](https://doi.org/10.1038/s41467-021-24202-9) 12 (1), 3988 (2021). 24. N. Ueno and S. Kera, “Electron spectroscopy of functional organic thin films: Deep insights into valence electronic [structure in relation to charge transport property,” Prog. Surf. Sci.](https://doi.org/10.1016/j.progsurf.2008.10.002) 83 (10-12), 490–557 (2008). 25. J. Park, Y. J. Cho, W. Chegal, _et al._ [, “A review of thin-film thickness measurements using optical methods,” Int. J.](https://doi.org/10.1007/s12541-024-00955-3) [Precis. Eng. Manuf.](https://doi.org/10.1007/s12541-024-00955-3) 25 (8), 1725–1737 (2024). 26. H. Fujiwara, _Spectroscopic Ellipsometry:_ _Principles and Applications_ (John Wiley & Sons, 2007). 27. E. Márquez, E. Blanco, J. M. Mánuel, _et al._, “Mid-infrared (mir) complex refractive index spectra of polycrystalline [copper-nitride films by ir-vase ellipsometry and their fib-sem porosity,” Coatings](https://doi.org/10.3390/coatings14010005) 14 (1), 5 (2023). 28. [R. Swanepoel, “Determination of the thickness and optical constants of amorphous silicon,” J. Phys. E: Sci. Instrum.](https://doi.org/10.1088/0022-3735/16/12/023) 16 (12), 1214–1222 (1983). 29. J. F. Hall and W. Ferguson, “Optical properties of cadmium sulfide and zinc sulfide from 0.6 micron to 14 microns,” [J. Opt. Soc. Am.](https://doi.org/10.1364/JOSA.45.000714) 45 (9), 714–718 (1955). 30. S. Lyashenko and V. Miloslavsky, “A simple method for semiconductor and dielectric layers thickness and optical constants determining,” Optika i Spektroskopiya 16, 151 (1964). 31. J. Manifacier, J. Gasiot, and J. Fillard, “A simple method for the determination of the optical constants n, k and the [thickness of a weakly absorbing thin film,” J. Phys. E: Sci. Instrum.](https://doi.org/10.1088/0022-3735/9/11/032) 9 (11), 1002–1004 (1976). 32. H. Liu, D. Hou, Z. Wang, _et al._, “Comparison of envelope method and full spectra fitting method for determination of optical constants of thin films,” in _Seventh International Conference on Thin Film Physics and Applications_, vol. 7995 (SPIE, 2011), pp. 381–384. Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13399 33. M. Ballester, E. Marquez, J. Bass, _et al._, “Review and novel formulae for transmittance and reflectance of wedged [thin films on absorbing substrates,” arXiv (2024).](https://doi.org/10.48550/arXiv.2409.02323) 34. R. Swanepoel, “Determination of surface roughness and optical constants of inhomogeneous amorphous silicon [films,” J. Phys. E: Sci. Instrum.](https://doi.org/10.1088/0022-3735/17/10/023) 17 (10), 896–903 (1984). 35. [R. Swanepoel, “Determining refractive index and thickness of thin films from wavelength measurements only,” J.](https://doi.org/10.1364/JOSAA.2.001339) [Opt. Soc. Am. A](https://doi.org/10.1364/JOSAA.2.001339) 2 (8), 1339–1343 (1985). 36. D. Kushev, N. Zheleva, Y. Demakopoulou, _et al._, “A new method for the determination of the thickness, the optical [constants and the relaxation time of weakly absorbing semiconducting thin films,” Infrared Phys.](https://doi.org/10.1016/0020-0891%0x2886%0x2990063-1) 26 (6), 385–393 (1986). 37. R. Swanepoel, “Transmission and reflection of an absorbing thin film on an absorbing substrate,” South African Journal of Physics 12, 148–156 (1989). 38. M. Nowak, “Determination of optical constants and average thickness of inhomogeneous-rough thin films using [spectral dependence of optical transmittance,” Thin Solid Films](https://doi.org/10.1016/0040-6090%0x2894%0x2906268-P) 254 (1-2), 200–210 (1995). 39. X. Wu, F. Lai, L. Lin, _et al._ [, “Optical inhomogeneity of zns films deposited by thermal evaporation,” Appl. Surf. Sci.](https://doi.org/10.1016/j.apsusc.2008.04.023) 254 (20), 6455–6460 (2008). 40. Y. Jin, B. Song, Z. Jia, _et al._, “Improvement of swanepoel method for deriving the thickness and the optical properties [of chalcogenide thin films,” Opt. Express](https://doi.org/10.1364/OE.25.000440) 25 (1), 440–451 (2017). 41. Y. Jin, B. Song, C. Lin, _et al._, “Extension of the swanepoel method for obtaining the refractive index of chalcogenide [thin films accurately at an arbitrary wavenumber,” Opt. Express](https://doi.org/10.1364/OE.25.031273) 25 (25), 31273–31280 (2017). 42. J. Dobrowolski, F. Ho, and A. Waldorf, “Determination of optical constants of thin film coating materials based on [inverse synthesis,” Appl. Opt.](https://doi.org/10.1364/AO.22.003191) 22 (20), 3191–3200 (1983). 43. N. Kamble, R. Tokas, A. Biswas, _et al._, “Determination of the optical constants of hfo2–sio2 composite thin films [through reverse fitting of transmission spectra,” Vacuum](https://doi.org/10.1016/j.vacuum.2011.09.002) 86 (4), 422–428 (2011). 44. Z. Hu, Z. Huang, Z. Lai, _et al._, “Optical properties of amorphous pbzrxti1- xo3 (x= 0.52) thin films prepared by rf [magnetron sputtering,” Thin Solid Films](https://doi.org/10.1016/S0040-6090%0x2803%0x2900016-6) 437 (1-2), 223–229 (2003). 45. Z. E. Hebal, N. Sengouga, A. Meftah, _et al._, “Development of a software “hebaloptics” to extract optical properties [and thickness of thin films from a single transmittance measurement,” Opt. Quantum Electron.](https://doi.org/10.1007/s11082-024-07541-x) 56 (10), 1660 (2024). 46. M. Ballester, A. P. Márquez, S. Banerjee, _et al._, “Comparison of optical characterization methods for transmission spectroscopy,” in _Computational Optical Sensing and Imaging_, (Optica Publishing Group, 2022), pp. JW5D–4. 47. D. Poelman and P. Smet, “Methods for the determination of the optical constants of thin films from single transmission measurements: [A critical review,” J. Phys. D: Appl. Phys.](https://doi.org/10.1088/0022-3727/36/15/316) 36 (15), 1850–1857 (2003). 48. M. Ballester, M. García, A. P. Márquez, _et al._, “Application of the holomorphic tauc-lorentz-urbach function to [extract the optical constants of amorphous semiconductor thin films,” Coatings](https://doi.org/10.3390/coatings12101549) 12 (10), 1549 (2022). 49. A. Ferlauto, G. Ferreira, J. M. Pearce, _et al._, “Analytical model for the optical functions of amorphous semiconductors from the near-infrared to ultraviolet: [Applications in thin film photovoltaics,” J. Appl. Phys.](https://doi.org/10.1063/1.1497462) 92 (5), 2424–2436 (2002). 50. L. V. Rodríguez-de Marcos and J. I. Larruquert, “Analytic optical-constant model derived from tauc-lorentz and [urbach tail,” Opt. Express](https://doi.org/10.1364/OE.24.028561) 24 (25), 28561–28572 (2016). 51. [J. I. Larruquert and L. V. Rodríguez-de Marcos, “Procedure to convert optical-constant models into analytic,” Thin](https://doi.org/10.1016/j.tsf.2018.08.010) [Solid Films](https://doi.org/10.1016/j.tsf.2018.08.010) 664, 52–59 (2018). 52. J. I. Larruquert and L. V. Rodríguez-de Marcos, “Corrigendum to procedure to convert optical-constant models into [analytic thin solid films (2018) 52-59,” Thin Solid Films](https://doi.org/10.1016/j.tsf.2021.138816) 733, 138816 (2021). 53. D. Franta, D. Nečas, and I. Ohlídal, “Universal dispersion model for characterization of optical thin films over a wide spectral range: [application to hafnia,” Appl. Opt.](https://doi.org/10.1364/AO.54.009108) 54 (31), 9108–9119 (2015). 54. D. Franta, D. Nečas, A. Giglia, _et al._, “Universal dispersion model for characterization of optical thin films over wide spectral range: [Application to magnesium fluoride,” Appl. Surf. Sci.](https://doi.org/10.1016/j.apsusc.2016.09.149) 421, 424–429 (2017). 55. D. Franta and M.-G. Mureşan, “Wide spectral range optical characterization of yttrium aluminum garnet (yag) single [crystal by the universal dispersion model,” Opt. Mater. Express](https://doi.org/10.1364/OME.441088) 11 (12), 3930–3945 (2021). 56. D. Franta, J. Vohánka, J. Dvořák, _et_ _al._, “Optical characterization of gadolinium fluoride films using universal [dispersion model,” Coatings](https://doi.org/10.3390/coatings13020218) 13 (2), 218 (2023). 57. M. Ballester, C. Würsch, E. Marquez, _et al._, “Optical characterization of thin films from transmission data using deep learning,” in _Quantum Sensing and Metrology_, (Optica Publishing Group, 2024), pp. FD1–1. 58. J. M. Bass, M. Ballester, S. M. Fernández, _et_ _al._, “An angular spectrum approach to inverse synthesis for the [characterization of optical and geometrical properties of semiconductor thin films,” arXiv (2024).](https://doi.org/10.48550/arXiv.2407.06535) 59. M. McClain, A. Feldman, D. Kahaner, _et al._, “An algorithm and computer program for the calculation of envelope [curves,” Comput. Phys.](https://doi.org/10.1063/1.168405) 5 (1), 45–48 (1991). 60. M. H. Saleh, N. M. Ershaidat, M. J. A. Ahmad, _et al._, “Evaluation of spectral dispersion of optical constants of a-se [films from their normal-incidence transmittance spectra using swanepoel algebraic envelope approach,” Opt. Rev.](https://doi.org/10.1007/s10043-017-0311-5) 24 (3), 260–277 (2017). 61. B. S. Richards, “Optical characterization of sputtered silicon thin films for photovoltaic application,” Ph.D. thesis, MSc. Thesis (1998). 62. T. Güngör and B. Saka, “Calculation of the optical constants of a thin layer upon a transparent substrate from the [reflection spectrum using a genetic algorithm,” Thin Solid Films](https://doi.org/10.1016/j.tsf.2004.04.040) 467 (1-2), 319–325 (2004). Research Article Vol. 33, No. 6 / 24 Mar 2025 / _Optics Express_ 13400 63. [D. Minkov and R. Swanepoel, “Computerization of the optical characterization of a thin dielectric film,” Opt. Eng.](https://doi.org/10.1117/12.151287) 32 (12), 3333–3337 (1993). 64. D. Minkov and R. Swanepoel, “Computer drawing of the envelopes of spectra with interference,” in _Thin Films for_ _Optical Systems_, vol. 1782 (SPIE, 1993), pp. 212–220. 65. G. Gavrilov, D. Minkov, E. Marquez, _et al._, “Advanced computer drawing envelopes of transmittance spectra of thin film specimens,” spectrum 5, 6 (2016). 66. D. A. Minkov, G. M. Gavrilov, E. Marquez, _et al._, “Development of algorithm for computer drawing envelopes of [interference reflectance spectra for thin film specimens,” Optik](https://doi.org/10.1016/j.ijleo.2016.12.063) 132, 320–328 (2017). 67. M. Salah, A. Abdelnaeim, S. Makhlolf, _et al._, “Optical parameters of varies thickness of bismuth (iii) iodide thin [films for photovoltaic and nonlinear applications,” Int. J. Thin. Film. Sci. Tec.](https://doi.org/10.18576/ijtfst/110303) 11 (3), 275–282 (2022). 68. V. Matějec, J. Pedliková, I. Barton, _et al._ [, “Optical properties of as2s3 layers deposited from solutions,” J. Non-Cryst.](https://doi.org/10.1016/j.jnoncrysol.2015.04.027) [Solids](https://doi.org/10.1016/j.jnoncrysol.2015.04.027) 431, 47–51 (2016). 69. [D. Dorranian, L. Dejam, and G. Mosayebian, “Optical characterization of cu 3 n thin film with swanepoel method,” J.](https://doi.org/10.1186/2251-7235-6-1) [Theor. Appl. Phys.](https://doi.org/10.1186/2251-7235-6-1) 6 (1), 1–9 (2012). 70. M. Ballester, E. Marquez, A. P. Marquez, _et al._, “Deep learning method to find swanepoel envelopes in transmission spectroscopy,” in _Computational Optical Sensing and Imaging_, (Optica Publishing Group, 2023), pp. CTh2A–5. 71. M. Ballester "swanpy," Google, [2024https://drive.google.com/drive/folders/1OdwJavus-](https://drive.google.com/drive/folders/1OdwJavus-JI2IMM81442716FFytGiCZ3) [JI2IMM81442716FFytGiCZ3.](https://drive.google.com/drive/folders/1OdwJavus-JI2IMM81442716FFytGiCZ3) 72. M. Born and E. Wolf, _Principles of optics:_ _electromagnetic theory of propagation, interference and diffraction of_ _light_ (Elsevier, 2013). 73. D. J. Borah and A. Mostako, “Investigation on dispersion parameters of molybdenum oxide thin films via [wemple–didomenico (wdd) single oscillator model,” Appl. Phys. A](https://doi.org/10.1007/s00339-020-03996-3) 126 (10), 818 (2020). 74. B. Ullrich, A. K. Singh, M. Bhowmick, _et al._ [, “Photoluminescence lineshape of zno,” AIP Adv.](https://doi.org/10.1063/1.4897383) 4 (12), 123001 (2014). 75. E. Marquez, J. Gonzalez-Leal, R. Prieto-Alcon, _et al._, “On the photo-and thermally-induced darkening phenomena in [as40 s40 se20 amorphous chalcogenide thin films,” J. Phys. D: Appl. Phys.](https://doi.org/10.1088/0022-3727/32/24/306) 32 (24), 3128–3134 (1999). 76. [K. Tanaka, “Optical properties and photoinduced changes in amorphous ass films,” Thin Solid Films](https://doi.org/10.1016/0040-6090%0x2880%0x2990381-8) 66 (3), 271–279 (1980). 77. M. Foldyna, K. Postava, J. Bouchala, _et al._, “Model dielectric functional of amorphous materials including urbach tail,” in _Microwave and Optical Technology 2003_, vol. 5445 (SPIE, 2004), pp. 301–305. 78. N. Malkova, L. Poslavsky, M. Di, _et al._ [, “New dispersion model for band gap tracking,” Thin Solid Films](https://doi.org/10.1016/j.tsf.2015.10.024) 595, 32–35 (2015). 79. E. Garoudja, R. Amrani, W. Filali, _et al._, “Artificial bee colony algorithm: a novel strategy for optical constants [and thin film thickness extraction using only optical transmittance spectra for photovoltaic applications,” Optik](https://doi.org/10.1016/j.ijleo.2021.167030) 241, 167030 (2021). 80. P. Virtanen, R. Gommers, T. E. Oliphant, _et al._, “SciPy 1.0: Fundamental algorithms for scientific computing in [Python,” Nat. Methods](https://doi.org/10.1038/s41592-019-0686-2) 17 (3), 261–272 (2020). 81. J. Gonzalez-Leal, M. Stuchlik, M. Vlcek, _et al._, “Influence of the deposition technique on the structural and optical [properties of amorphous ass films,” Appl. Surf. Sci.](https://doi.org/10.1016/j.apsusc.2004.11.050) 246 (4), 348–355 (2005). 82. E. Hecht, _Optics_ (Pearson Education India, 2012). 83. R. P. Canale and S. C. Chapra, _Numerical methods for engineers_ (Mcgraw-hill Education-Europe, 2014). 84. Y. Yuan, S. Liu, J. Zhang, _et al._, “Unsupervised image super-resolution using cycle-in-cycle generative adversarial networks,” _2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)_ pp. 814–81409 (2018). 85. K. Zhang, W. Zuo, and L. Zhang, “Deep plug-and-play super-resolution for arbitrary blur kernels,” in _IEEE Conference_ _on Computer Vision and Pattern Recognition_, (2019). 86. J. Cai, H. Zeng, H. Yong, _et al._, “Toward real-world single image super-resolution: A new benchmark and a new model,” in _Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)_, (2019). 87. S. López-Tapia, J. Mateos, R. Molina, _et al._, “Learning moore-penrose based residuals for robust non-blind image [deconvolution,” Digit. Signal Process.](https://doi.org/10.1016/j.dsp.2023.104193) 142, 104193 (2023).

섹션 본문

섹션 본문이 없습니다.

참고문헌 73건

  1. Electron spectroscopy of functional organic thin films: Deep insights into valence electronic structure in relation to charge transport property Progress in Surface Science · Elsevier BV · 2008 10.1016/j.progsurf.2008.10.002
  2. Calculation of the optical constants of a thin layer upon a transparent substrate from the reflection spectrum using a genetic algorithm Thin Solid Films · Elsevier BV · 2004 10.1016/j.tsf.2004.04.040
  3. Determining refractive index and thickness of thin films from wavelength measurements only Journal of the Optical Society of America A · Optica Publishing Group · 1985 10.1364/josaa.2.001339
  4. Optical Properties of Cadmium Sulfide and Zinc Sulfide from 06 Micron to 14 Microns Journal of the Optical Society of America · Optica Publishing Group · 1955 10.1364/josa.45.000714
  5. A Comprehensive Review of Semiconductor Ultraviolet Photodetectors: From Thin Film to One-Dimensional Nanostructures Sensors · Multidisciplinary Digital Publishing Institute · 2013 10.3390/s130810482
  6. Oxide Semiconductor Thin‐Film Transistors: A Review of Recent Advances Advanced Materials · 2012 10.1002/adma.201103228
  7. Analytical model for the optical functions of amorphous semiconductors from the near-infrared to ultraviolet: Applications in thin film photovoltaics Journal of Applied Physics · American Institute of Physics · 2002 10.1063/1.1497462
  8. Determination of the optical constants of HfO2–SiO2 composite thin films through reverse fitting of transmission spectra Vacuum · Elsevier BV · 2011 10.1016/j.vacuum.2011.09.002
  9. A simple method for the determination of the optical constants n, k and the thickness of a weakly absorbing thin film Journal of Physics E Scientific Instruments · IOP Publishing · 1976 10.1088/0022-3735/9/11/032
  10. Determination of optical constants of thin film coating materials based on inverse synthesis Applied Optics · Optica Publishing Group · 1983 10.1364/ao.22.003191
  11. Determination of surface roughness and optical constants of inhomogeneous amorphous silicon films Journal of Physics E Scientific Instruments · IOP Publishing · 1984 10.1088/0022-3735/17/10/023
  12. Influence of the deposition technique on the structural and optical properties of amorphous AsS films Applied Surface Science · Elsevier BV · 2005 10.1016/j.apsusc.2004.11.050
  13. Computer drawing of the envelopes of spectra with interference Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1993 10.1117/12.141047
  14. Thin-Film Amorphous Silicon Position-Sensitive Detectors Advanced Materials · Wiley · 2001 10.1002/1521-4095(200107)13:12/13<1022::aid-adma1023>3.0.co;2-i
  15. Photoluminescence lineshape of ZnO AIP Advances · American Institute of Physics · 2014 10.1063/1.4897383
  16. Methods for the determination of the optical constants of thin films from single transmission measurements: a critical review Journal of Physics D Applied Physics · Institute of Physics · 2003 10.1088/0022-3727/36/15/316
  17. Comparison of envelope method and full spectra fitting method for determination of optical constants of thin films Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2010 10.1117/12.888438
  18. Flexible Transparent Conductive Films on the Basis of Ag Nanowires: Design and Applications: A Review Journal of Material Science and Technology · Elsevier BV · 2015 10.1016/j.jmst.2014.11.020
  19. A new method for the determination of the thickness, the optical constants and the relaxation time of weakly absorbing semiconducting thin films Infrared Physics · Pergamon Press · 1986 10.1016/0020-0891(86)90063-1
  20. An algorithm and computer program for the calculation of envelope curves Computers in Physics · American Institute of Physics · 1991 10.1063/1.168405
  21. Determination of optical constants and average thickness of inhomogeneous-rough thin films using spectral dependence of optical transmittance Thin Solid Films · Elsevier BV · 1995 10.1016/0040-6090(94)06268-p
  22. Optical properties of amorphous PbZrxTi1−xO3 (x=0.52) thin films prepared by RF magnetron sputtering Thin Solid Films · Elsevier BV · 2003 10.1016/s0040-6090(03)00016-6
  23. Thin-film silicon solar cells: A review and selected trends Solar Energy Materials and Solar Cells · Elsevier BV · 1995 10.1016/0927-0248(94)00241-x
  24. On the photo- and thermally-induced darkening phenomena in As<sub>40</sub>S<sub>40</sub>Se<sub>20</sub>amorphous chalcogenide thin films Journal of Physics D Applied Physics · Institute of Physics · 1999 10.1088/0022-3727/32/24/306
  25. Optical properties of As2S3 layers deposited from solutions Journal of Non-Crystalline Solids · Elsevier BV · 2015 10.1016/j.jnoncrysol.2015.04.027
  26. Optical properties and photoinduced changes in amorphous AsS films Thin Solid Films · Elsevier BV · 1980 10.1016/0040-6090(80)90381-8
  27. Atmospheric Pressure Low Temperature Direct Plasma Technology: Status and Challenges for Thin Film Deposition Plasma Processes and Polymers · Wiley · 2012 10.1002/ppap.201200029
  28. Computerization of the optical characterization of a thin dielectric film Optical Engineering · SPIE · 1993 10.1117/12.151287
  29. Dual‐Gate Thin‐Film Transistors, Integrated Circuits and Sensors Advanced Materials · Wiley · 2011 10.1002/adma.201101493
  30. Investigation of nitrogen plasma effect on the nonlinear optical properties of PMMA Journal of theoretical and applied physics · Springer Science+Business Media · 2012 10.1186/2251-7235-6-1
  31. Determination of the thickness and optical constants of amorphous silicon Journal of Physics E Scientific Instruments · IOP Publishing · 1983 10.1088/0022-3735/16/12/023
  32. Thin film deposition by means of atmospheric pressure microplasma jet Plasma Physics and Controlled Fusion · IOP Publishing · 2007 10.1088/0741-3335/49/12b/s39
  33. Optical inhomogeneity of ZnS films deposited by thermal evaporation Applied Surface Science · Elsevier BV · 2008 10.1016/j.apsusc.2008.04.023
  34. Universal dispersion model for characterization of optical thin films over a wide spectral range: application to hafnia Applied Optics · Optica Publishing Group · 2015 10.1364/ao.54.009108
  35. Universal dispersion model for characterization of optical thin films over wide spectral range: Application to magnesium fluoride Applied Surface Science · Elsevier BV · 2016 10.1016/j.apsusc.2016.09.149
  36. Analytic optical-constant model derived from Tauc-Lorentz and Urbach tail Optics Express · Optica Publishing Group · 2016 10.1364/oe.24.028561
  37. Development of algorithm for computer drawing envelopes of interference reflectance spectra for thin film specimens Optik · Elsevier BV · 2016 10.1016/j.ijleo.2016.12.063
  38. Improvement of Swanepoel method for deriving the thickness and the optical properties of chalcogenide thin films Optics Express · Optica Publishing Group · 2017 10.1364/oe.25.000440
  39. Evaluation of spectral dispersion of optical constants of a-Se films from their normal-incidence transmittance spectra using Swanepoel algebraic envelope approach Optical Review · Springer Science+Business Media · 2017 10.1007/s10043-017-0311-5
  40. Extension of the Swanepoel method for obtaining the refractive index of chalcogenide thin films accurately at an arbitrary wavenumber Optics Express · Optica Publishing Group · 2017 10.1364/oe.25.031273
  41. Deposition and Characterization of Aluminium Thin film Coatings using DC Magnetron Sputtering Process Materials Today Proceedings · Elsevier BV · 2018 10.1016/j.matpr.2018.01.050
  42. Procedure to convert optical-constant models into analytic Thin Solid Films · Elsevier BV · 2018 10.1016/j.tsf.2018.08.010
  43. Band-fluctuations model for the fundamental absorption of crystalline and amorphous semiconductors: a dimensionless joint density of states analysis Journal of Physics D Applied Physics · Institute of Physics · 2018 10.1088/1361-6463/aaf963
  44. Microfluidic devices with gold thin film channels for chemical and biomedical applications: a review Biomedical Microdevices · Springer Science+Business Media · 2019 10.1007/s10544-019-0439-0
  45. Review of metal oxide semiconductors-based thin-film transistors for point-of-care sensor applications Journal of Information Display · Taylor & Francis · 2020 10.1080/15980316.2020.1714762
  46. SciPy 1.0: fundamental algorithms for scientific computing in Python Nature Methods · Nature Portfolio · 2020 10.1038/s41592-019-0686-2
  47. Metal oxide semiconductor-based Schottky diodes: a review of recent advances Materials Research Express · IOP Publishing · 2020 10.1088/2053-1591/ab7a60
  48. Simulation of anti-reflecting dielectric films by the interference matrix method Optical Materials · Elsevier BV · 2020 10.1016/j.optmat.2020.109782
  49. Investigation on dispersion parameters of Molybdenum Oxide thin films via Wemple–DiDomenico (WDD) single oscillator model Applied Physics A · Springer Science+Business Media · 2020 10.1007/s00339-020-03996-3
  50. A universal Urbach rule for disordered organic semiconductors Nature Communications · Nature Portfolio · 2021 101038s41467021242029
  51. Optical Bandgap Definition via a Modified Form of Urbach’s Rule Materials · Multidisciplinary Digital Publishing Institute · 2021 10.3390/ma14071639
  52. Artificial bee colony algorithm: a novel strategy for optical constants and thin film thickness extraction using only optical transmittance spectra for photovoltaic applications Optik · Elsevier BV · 2021 10.1016/j.ijleo.2021.167030
  53. Advances in Dielectric Thin Films for Energy Storage Applications, Revealing the Promise of Group IV Binary Oxides ACS Energy Letters · American Chemical Society · 2021 10.1021/acsenergylett.1c00313
  54. A universal Urbach rule for disordered organic semiconductors Cronfa (Swansea University) · Swansea University · 2021
  55. Corrigendum to Procedure to convert optical-constant models into analytic Thin Solid Films (2018) 52-59 Thin Solid Films · Elsevier BV · 2021 10.1016/j.tsf.2021.138816
  56. Wide spectral range optical characterization of yttrium aluminum garnet (YAG) single crystal by the universal dispersion model Optical Materials Express · Optica Publishing Group · 2021 10.1364/ome.441088
  57. New dispersion model for band gap tracking Thin Solid Films · Elsevier BV · 2015 10.1016/j.tsf.2015.10.024
  58. Energy-band-structure calculation by below-band-gap spectrophotometry in thin layers of non-crystalline semiconductors: A case study of unhydrogenated <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si37.svg" display="inline" id="d1e1162"><mml:mi>a</mml:mi></mml:math>-Si Journal of Non-Crystalline Solids · Elsevier BV · 2022 10.1016/j.jnoncrysol.2022.121803
  59. Optical Parameters of Varies Thickness of Bismuth (Iii) Iodide Thin Films for Photovoltaic and Nonlinear Applications International Journal of Thin Films Science and Technology · Natural Sciences Publishing · 2022 10.18576/ijtfst/110303
  60. Comparison of Optical Characterization Methods for Transmission Spectroscopy Imaging and Applied Optics Congress 2022 (3D, AOA, COSI, ISA, pcAOP) · 2022 10.1364/3d.2022.jw5d.4
  61. Application of the Holomorphic Tauc-Lorentz-Urbach Function to Extract the Optical Constants of Amorphous Semiconductor Thin Films Coatings · Multidisciplinary Digital Publishing Institute · 2022 10.3390/coatings12101549
  62. Fabrication of Li-Doped NiO Thin Films by Ultrasonic Spray Pyrolysis and Its Application in Light-Emitting Diodes Nanomaterials · Multidisciplinary Digital Publishing Institute · 2023 10.3390/nano13010197
  63. Optical Characterization of Gadolinium Fluoride Films Using Universal Dispersion Model Coatings · Multidisciplinary Digital Publishing Institute · 2023 10.3390/coatings13020218
  64. Print‐Light‐Synthesis of Gold Thin Film Electrodes for Electrochemical Sensing Advanced Materials Technologies · Wiley · 2023 10.1002/admt.202202039
  65. Learning Moore-Penrose based residuals for robust non-blind image deconvolution Digital Signal Processing · Elsevier BV · 2023 10.1016/j.dsp.2023.104193
  66. Deep Learning Method to Find Swanepoel Envelopes in Transmission Spectroscopy 2023 10.1364/cosi.2023.cth2a.5
  67. Mid-Infrared (MIR) Complex Refractive Index Spectra of Polycrystalline Copper-Nitride Films by IR-VASE Ellipsometry and Their FIB-SEM Porosity Coatings · Multidisciplinary Digital Publishing Institute · 2023 10.3390/coatings14010005
  68. Enhanced Selective Contact Behavior in a‐Si:H/oxide Transparent Photovoltaic Devices via Dipole Layer Integration Solar RRL · Wiley · 2024 10.1002/solr.202400276
  69. A Review of Thin-film Thickness Measurements using Optical Methods International Journal of Precision Engineering and Manufacturing · Springer Science+Business Media · 2024 10.1007/s12541-024-00955-3
  70. An Angular Spectrum Approach to Inverse Synthesis for the Characterization of Optical and Geometrical Properties of Semiconductor Thin Films arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2407.06535
  71. Development of a software “HebalOptics” to extract optical properties and thickness of thin films from a single transmittance measurement Optical and Quantum Electronics · Springer Science+Business Media · 2024 10.1007/s11082-024-07541-x
  72. Review and Novel Formulae for Transmittance and Reflectance of Wedged Thin Films on absorbing Substrates arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2409.02323
  73. Optical Characterization of Thin Films from Transmission Data using Deep Learning 2024 10.1364/sensors.2024.fd1.1