diff --git a/README.md b/README.md index b40d0183..6d3e8208 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ simulations. ## What is there now -- **762 source records:** 8481 datasets and 197,804 values, 259 errata and 780 +- **763 source records:** 8481 datasets and 197,804 values, 259 errata and 782 published formulas. - **15 gases:** He, Ne, Ar, Kr, Xe, H2, D2, N2, O2, CO, CO2, CH4, SF6, N2O and O3. - **A fitted model of the refractive index for every gas:** @@ -143,10 +143,10 @@ simulations. - **Crystalline silicon:** its complex index from 31 nm to 143 µm at 20 °C, Franta et al.'s universal dispersion model refitted to the absolute refractometry (to 1.4e-4 from 1.2 to 5.5 µm) and the measured absorption edge. -- **The window crystals and N-BK7:** CaF2, MgF2 and sapphire (both rays), BaF2 and - SCHOTT's N-BK7, each its source's Sellmeier formula made absolute (the prism and - catalogue indices are relative to air or nitrogen, which the formulas in common use - ignore: about 4e-4 in n). +- **The window crystals, N-BK7 and BBO:** CaF2, MgF2 and sapphire (both rays), BaF2, + SCHOTT's N-BK7 and the nonlinear crystal BBO (both rays), each its source's + Sellmeier formula made absolute (the prism and catalogue indices are relative to air + or nitrogen, which the formulas in common use ignore: about 4e-4 in n). - **The metals:** silver, gold and copper from the soft x-ray range (3-4 nm) to 12.4 µm (copper to 56 µm), aluminium from 0.8 nm to 200 µm, as curated tables joined by range. diff --git a/REGISTER.md b/REGISTER.md index cf44e07e..0145c336 100644 --- a/REGISTER.md +++ b/REGISTER.md @@ -29593,3 +29593,46 @@ tabulate (the table model clamps outside its range, so only in-range points coun against 0.623 at 1.5e14) and about equal from 2.3e14. With up to 11 % in the intensity (a factor of about 1.7 in the rate) it supports the default's xenon, not RMT's. - **Status:** verified (2026-10-17). + +## TC-1095 tamosauskas_2018: BBO's ordinary and extraordinary Sellmeier formulas (2026-11-12) + +- **Where:** `data/sources/tamosauskas_2018.toml` (`sellmeier_o`, `sellmeier_e`), + `data/solid/defaults.toml` (`[BBO]`), `docs/crystals.md`, the front pages, + `tests/solid/test_crystals.py`. +- **Transcribed:** Eq. (1), p. 1414: three-term Sellmeier formulas of n_o and n_e, λ in + µm, C_i in µm², over 0.188-5.2 µm. Read from the rendered page and checked digit by + digit against the PDF's text layer (the library holds the paper with a + registry-confirmed DOI, but its reading was not complete: no tables, status + disputed; so its tables and quote check were not used). +- **Uncertainty (stated):** the formulas fit the directly measured indices tabulated by + Chen et al. (ref. [4], *Nonlinear Optical Borate Crystals*, 2012; 0.25365-2.3253 µm) + 'with a remarkable accuracy better than 4 x 10^-5' (pp. 1414-1415), and give + phase-matching angles within 0.2° of the measured ones over 0.8-1.74 µm and 0.4° + beyond, to 5.2 µm (p. 1416); no confidence level is stated. +- **Doubt:** neither the medium nor the temperature is stated. The anchor indices are + directly measured, presumably prism indices at mercury lines (the range's end points are Hg air wavelengths), which + are relative to room air at air wavelengths. As for the NBS prism papers (TC-546), the + formulas are read as relative to room air at standard-air wavelengths, at an assumed + 20 °C, and made absolute with Edlén's air. Read as absolute at vacuum wavelengths, n + would be about 4.5e-4 lower. The maintainer chose the air reading (2026-11-12). +- **Checked:** + - Type I SHG of 800 nm (vacuum) phase-matches at θ = 29.23° (29.21° with the + absolute reading), consistent with the nominal 29.2° cut of the paper's type I + crystal for 800 nm SHG (p. 1413). Not an independent check: the paper used the SHG + phase-matching angles at 800 nm as references to calibrate the crystals' + orientation (presumably computed ones). + - n_o = n_e at 4.62 µm (stated p. 1415; the formulas give 4.624 µm). + - Against Eimerl et al. 1987 (`eimerl1987optical`, Table I, minimum deviation, + 404.66-1014.0 nm, 13 lines, read as air wavelengths and indices relative to air; + the table image checked), compared like for like with the formulas as printed: they + lie below on both rays, by 8.3e-4 on average (at most 9.2e-4) for n_o and 7.4e-4 + (at most 8.6e-4) for n_e. Most of the offset is common to the rays: the + birefringence agrees within 2.6e-4. The air correction does not enter this + comparison; under the absolute reading the gap would be about 1.3e-3. +- **Decision:** the recommended model of BBO, both axes, for nonlinear optics, where + index differences and dispersion matter more than the absolute index. A first + default for a registered material, added by the recipe; the maintainer judged that it + needs no OEP (2026-11-12). +- **Status:** decided (2026-11-12). Open: the 6-9e-4 offset from Eimerl's indices; + Chen et al.'s tabulation and Zhang et al. (2000) would settle it, and neither is in + the library. diff --git a/changelog.d/bbo-tamosauskas.added.md b/changelog.d/bbo-tamosauskas.added.md new file mode 100644 index 00000000..a25c5487 --- /dev/null +++ b/changelog.d/bbo-tamosauskas.added.md @@ -0,0 +1 @@ +BBO's ordinary and extraordinary indices: Tamošauskas et al.'s 2018 Sellmeier formulas over 188 nm-5.2 µm (`tamosauskas_2018/sellmeier_o`, `_e`), now the recommended models, `default_model("BBO", "o")` and `default_model("BBO", "e")`. The paper states no medium; like the prism indices they are anchored to, the formulas are read as relative to room air at standard-air wavelengths and made absolute, so the model lies about 4.5e-4 above the printed formula evaluated directly (TC-1095). See [the crystals page](docs/crystals.md). diff --git a/docs/crystals.md b/docs/crystals.md index 5a7b198a..1c446417 100644 --- a/docs/crystals.md +++ b/docs/crystals.md @@ -1,8 +1,9 @@ # The window crystals CaF2, MgF2, BaF2 and sapphire (`Al2O3`) are the window and substrate crystals of -ultrafast optics, and N-BK7 its commonest glass. Each recommended model is the Sellmeier -formula of its source, made absolute (TC-545, TC-546, TC-651). This page explains the +ultrafast optics, N-BK7 its commonest glass, and BBO its commonest nonlinear crystal. +Each recommended model is the Sellmeier formula of its source, made absolute (TC-545, +TC-546, TC-651, TC-1095). This page explains the reference-medium corrections, source agreement and temperature limits. Read {doc}`solid` for the common interface and {doc}`/quickstart` for a first calculation. @@ -29,6 +30,8 @@ models("CaF2") # every model of CaF2, by name | Al2O3 | o | `weber_2003/sellmeier_o` | 220-5001 | 20 °C | room air (inferred) | 1.77475 | 1.75616 | | Al2O3 | e | `weber_2003/sellmeier_e` | 220-5001 | 20 °C | room air (inferred) | 1.76655 | 1.74828 | | N-BK7 | | `schott_2023/sellmeier` | 313-2326 | 20 °C, catalogue | air, 1013.3 hPa | 1.52184 | 1.50791 | +| BBO | o | `tamosauskas_2018/sellmeier_o` | 188-5201 | not stated (20 °C assumed) | room air (inferred) | 1.67774 | 1.65604 | +| BBO | e | `tamosauskas_2018/sellmeier_e` | 188-5201 | not stated (20 °C assumed) | room air (inferred) | 1.55735 | 1.54312 | **Relative to a gas, made absolute.** A prism refractometer measures the index relative @@ -65,7 +68,7 @@ reference-medium correction (TC-545, TC-546). transmittance. `BK7` (the older catalogue glass) and `N-BK7` are distinct materials. **How well each formula holds its paper.** With its reference gas removed, each formula -reproduces its paper's table (`tests/solid/test_crystals.py`): +reproduces its paper's table (`tests/solid/test_crystals.py`; BBO's paper prints none): - Daimon's reproduces the 69 measured indices within 1.9e-6 (rms 6e-7). - Dodge's and Malitson's reproduce their computed columns to the printed digit, apart from a few printed values their authors do not explain (TC-546). @@ -75,10 +78,25 @@ The papers state their accuracy as follows: - Dodge: "better than 2e-5"; - Malitson: 2e-5 to 3e-5. -**Temperature.** Each model is at its paper's temperature, between 19 and 25 °C. For +**Temperature.** Each model is at its paper's temperature, between 19 and 25 °C (BBO's, not stated, +is taken as 20 °C). For CaF2 near room temperature, dn/dT is about −1.1e-5 per K: 4 K moves n by 4e-5, more than the formulas' uncertainty. `daimon_2002/sellmeier_25C` gives CaF2 at 25 °C, and Daimon's measured dn/dT is `daimon_2002/dndt`. +**BBO, a nonlinear crystal.** β-barium borate's two rays are Tamošauskas et al.'s +2018 Sellmeier formulas (TC-1095), fitted over its whole transparency range, +188 nm-5.2 µm, to directly measured prism indices and to indices derived from type I +and type II phase-matching angles. They give the type I SHG angle of 800 nm as 29.23°, +consistent with the paper's nominal 29.2° cut. The paper states neither the medium nor +the temperature; like the prism indices it is anchored to, the formulas are read as +relative to room air at standard-air wavelengths (at an assumed 20 °C) and made +absolute. Eimerl et al.'s 1987 minimum-deviation indices (404-1014 nm) lie 6-9e-4 +above both rays, compared like for like, while the birefringence agrees within 2.6e-4: +use these formulas for phase matching and dispersion, and treat the absolute index as +uncertain at the 1e-3 level. Only the +principal indices are curated; the extraordinary index at an angle θ to the optic +axis follows from 1/n(θ)² = cos²θ/n_o² + sin²θ/n_e². + **Not yet recommended:** CaF2 beyond 2.33 µm. Use `malitson_1963/sellmeier` (to 9.7 µm); Daimon's infrared term is weakly determined. diff --git a/docs/introduction/overview.md b/docs/introduction/overview.md index dd9ea6b6..b9779597 100644 --- a/docs/introduction/overview.md +++ b/docs/introduction/overview.md @@ -99,8 +99,8 @@ against measured gains ({doc}`/raman`). ## Available data and models -- **The curated records:** 762 source records: 8481 datasets and 197,804 values, 259 - errata and 780 published formulas. +- **The curated records:** 763 source records: 8481 datasets and 197,804 values, 259 + errata and 782 published formulas. - **15 gases:** He, Ne, Ar, Kr, Xe, H2, D2, N2, O2, CO, CO2, CH4, SF6, N2O and O3. - A fitted refractive-index model for every gas: - helium and argon at the accuracy of ab initio theory; @@ -137,8 +137,9 @@ against measured gains ({doc}`/raman`). - **Crystalline silicon** ({doc}`/silicon`): its complex index from 31 nm to 143 µm at 20 °C, Franta et al.'s universal dispersion model refitted to the absolute refractometry and the measured absorption edge. -- **The window crystals and N-BK7** ({doc}`/crystals`): CaF2, MgF2, BaF2, sapphire and - SCHOTT's N-BK7, each its source's Sellmeier formula made absolute. +- **The window crystals, N-BK7 and BBO** ({doc}`/crystals`): CaF2, MgF2, BaF2, + sapphire, SCHOTT's N-BK7 and the nonlinear crystal BBO, each its source's Sellmeier + formula made absolute. - **The metals** ({doc}`/metals`): silver, gold and copper from 3-4 nm to 12.4 µm (copper to 56 µm), aluminium from 0.8 nm to 200 µm, as curated tables joined by range. diff --git a/docs/quickstart.md b/docs/quickstart.md index c45a9179..9cfb8256 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -147,7 +147,7 @@ The pages {doc}`ionisation`, {doc}`ionisation_rates` and ## Solids -Fused silica, the window crystals, N-BK7 and the metals have recommended models. A +Fused silica, the window crystals, N-BK7, BBO and the metals have recommended models. A solid's index is at its reference temperature, and needs no state: ```python diff --git a/src/optmat/data/catalogue_index.json b/src/optmat/data/catalogue_index.json index 6963dea7..47689044 100644 --- a/src/optmat/data/catalogue_index.json +++ b/src/optmat/data/catalogue_index.json @@ -647,6 +647,7 @@ "talebpour_1999": {"size": 8566, "datasets": [["N2", "ionization_model_parameter"], ["O2", "ionization_model_parameter"]], "formulas": []}, "tammer_1990": {"size": 17900, "datasets": [["H2", "molar_kerr_constant"], ["D2", "molar_kerr_constant"], ["H2", "kerr_virial_coefficient"], ["H2", "hyperpolarizability"], ["D2", "hyperpolarizability"]], "formulas": ["H2"]}, "tammer_1992": {"size": 22170, "datasets": [["H2", "molar_kerr_constant"], ["H2", "kerr_virial_coefficient"], ["H2", "hyperpolarizability"], ["He", "hyperpolarizability"], ["He", "molar_kerr_constant"], ["He", "kerr_constant"], ["H2", "hyperpolarizability_ratio"]], "formulas": []}, +"tamosauskas_2018": {"size": 6860, "datasets": [], "formulas": ["BBO"]}, "tan_1998": {"size": 2568, "datasets": [], "formulas": []}, "tan_2003": {"size": 8923, "datasets": [["SiO2", "band_gap"]], "formulas": []}, "tanaka_1953": {"size": 4103, "datasets": [["O3", "absorption_cross_section"]], "formulas": []}, diff --git a/src/optmat/data/solid/defaults.toml b/src/optmat/data/solid/defaults.toml index 3be86381..946205af 100644 --- a/src/optmat/data/solid/defaults.toml +++ b/src/optmat/data/solid/defaults.toml @@ -52,3 +52,8 @@ reason = "Shiles et al.'s self-consistent analysis of bulk aluminium (Weaver et [Si] model = "fit/Si" reason = "Franta et al.'s universal dispersion model of float-zone silicon (newAD2's c-Si parameter file, franta_2017/udm_c_si) refitted at 20 C (TC-1088): to Frey, Leviton & Madison's absolute CHARMS indices (1.2-5.5 um, +-1e-4, taken from 295 K with their own dn/dT), to Schinke et al.'s absorption coefficient (250-1200 nm) and, outside those ranges, to Franta et al.'s temperature-dependent model at 20 C (the 31-250 nm ultraviolet and the infrared lattice bands). The published parameter file is 0.015 high in n in the near infrared and 2.6 times high in k at 633 nm. The refit is analytic, causal and passive from 31 nm to 143 um; its k beyond 1.2 um (alpha < 0.1 cm-1) is an upper bound, not the band-to-band absorption, and it describes 20 C only." + +# Nonlinear crystals (TC-1095). +[BBO] +model = { o = "tamosauskas_2018/sellmeier_o", e = "tamosauskas_2018/sellmeier_e" } +reason = "Tamosauskas et al.'s Sellmeier formulas of both rays, 0.188-5.2 um, fitted to directly measured prism indices (0.25-2.33 um, as Chen et al. tabulate them, within 4e-5) and to indices derived from type I and type II phase-matching angles out to 5.2 um, the only BBO formula optmat curates. They give the type I SHG angle of 800 nm as 29.23 degrees, consistent with the paper's nominal 29.2 degree cut. The paper states neither medium nor temperature: read, as the prism indices it is anchored to, as relative to room air at standard-air wavelengths, taken as 20 C, and made absolute with Edlen's air (TC-1095). Eimerl et al.'s 1987 minimum-deviation indices (404-1014 nm) lie 6-9e-4 above both rays, while the birefringence agrees within 2.6e-4: the absolute index is uncertain at the 1e-3 level, index differences much less." diff --git a/src/optmat/data/sources/tamosauskas_2018.toml b/src/optmat/data/sources/tamosauskas_2018.toml new file mode 100644 index 00000000..f7da0e74 --- /dev/null +++ b/src/optmat/data/sources/tamosauskas_2018.toml @@ -0,0 +1,85 @@ +citation = "G. Tamošauskas, G. Beresnevičius, D. Gadonas and A. Dubietis, \"Transmittance and phase matching of BBO crystal in the 3-5 um range and its application for the characterization of mid-infrared laser pulses\", Opt. Mater. Express 8, 1410 (2018)" # codespell:ignore mater +doi = "10.1364/ome.8.001410" +library = "Tamosauskas_2018_TransmittancePhaseMatching" +identity = "VALIDATED" +kind = "fit" +technique = """A Sellmeier fit to a constructed index dataset (Sec. 3, p. 1414): ordinary \ +indices derived from measured type I and extraordinary indices from measured type II \ +sum-frequency phase-matching angles (800 nm mixed with an OPA's output, 1.142-2.412 um \ +for type I and 1.140-1.571 um for type II, from Light Conversion's database of more than \ +600 tuning curves; and with 2.8-5.2 um DFG pulses measured in this work in 200 um \ +crystals cut at theta = 29.2 and 30 degrees, p. 1413); the directly measured indices of \ +0.25365-2.3253 um tabulated by Chen et al. (ref. [4], Nonlinear Optical Borate \ +Crystals, Wiley-VCH, 2012, printed 'Wiley-WCH'); values down to 204.8 nm from Kato's fitting rule (ref. [26]); and \ +values down to 188 nm from Light Conversion's ultraviolet sum-frequency tuning curves. \ +Three idealised oscillators, one placed a priori in the mid-infrared and two in the \ +ultraviolet. A phase-matching angle fixes a combination of indices, not one index, so \ +the indices derived from the angles are not independent absolute measurements.""" +notes = """Journal pages 1410-1418 are pdf pages 1-9. Identity checked against the first page; \ +the library holds the paper (registry-confirmed DOI), but its reading was not complete \ +(no tables; status disputed), so its tables and quote check were not used. The coefficients of Eq. (1) (p. 1414) were read from the \ +rendered page and checked digit by digit against the PDF's text layer (2026-11-12). + +WHAT IS HERE. No tabulated indices: Eq. (1) only, with Figs. 2-3 comparing it with the \ +formulas of Eimerl et al. (ref. [1]), Chen et al. (ref. [4]) and Zhang et al. (ref. \ +[24]). '... the refined dispersion curves fit the directly measured ordinary and \ +extraordinary refractive index values in the 0.25365 - 2.3253 um range, as tabulated in \ +[4], with a remarkable accuracy better than 4 x 10^-5' (pp. 1414-1415). 'The evaluated \ +differences between the calculated and measured phase matching angles do not exceed 0.2 \ +degrees in the 0.8 - 1.74 um range and 0.4 degrees for the rest of the wavelengths up to \ +5.2 um for both types of phase matching' (p. 1416). n_o = n_e at 4.62 um (p. 1415), \ +confirmed between crossed polarizers (Fig. 4). + +AIR OR VACUUM. Not stated, for the wavelength or the index. The formula's anchor, which \ +it fits to 4e-5, is the directly measured prism indices of 0.25365-2.3253 um tabulated by \ +Chen et al.; both end points are mercury lines at their air wavelengths, and such indices \ +are relative to the room air. As for the NBS prism papers (TC-546), the formula is read \ +as relative to room air at standard-air wavelengths and made absolute with Edlen's air \ +(TC-1095). This is an inference from the anchor data, not a statement of the paper; read \ +as absolute at vacuum wavelengths the index would be about 4.5e-4 lower. + +TEMPERATURE. Not stated; the measurements described are at room temperature, taken as \ +20 C (an assumption, recorded as such; dn/dT of BBO is of order 1e-5 per K, so a few \ +kelvin move n by a few 1e-5).""" + +[[formulas]] +id = "sellmeier_o" +form = "n2_sellmeier" +terms = { B = ["0.90291", "0.83155", "0.76536"], C = ["0.003926", "0.018786", "60.01"] } +# Standard-air wavelengths and an index relative to room air at 20 C: inferred from +# the anchor data (prism indices at mercury lines), not stated (see notes, TC-1095). +wavelength_medium = "standard_air" +index_medium = "air" +air_temperature_k = 293.15 +# The vacuum wavelengths of 0.188-5.2 um in standard air. +range_nm = [188.06, 5201.42] +material = "BBO" +parameters = { axis = "o", temperature_k = 293.15 } +equation = "Eq. (1), p. 1414, first line (n_o)" +printed = "n_o^2(lambda) = 1 + 0.90291 lambda^2/(lambda^2 - 0.003926) + 0.83155 lambda^2/(lambda^2 - 0.018786) + 0.76536 lambda^2/(lambda^2 - 60.01)" +variable = "lambda: wavelength in um (the medium is not stated; read as standard air, see the source notes)" +range = "0.188-5.2 um, 'the full transparency range' (p. 1414)" +coefficients = { B1 = "0.90291", B2 = "0.83155", B3 = "0.76536", C1 = "0.003926", C2 = "0.018786", C3 = "60.01" } +check = "With the extraordinary formula, made absolute, type I SHG of 800 nm (vacuum) phase-matches at theta = 29.23 degrees inside the crystal (29.21 with the formulas read as absolute at vacuum wavelengths), consistent with the paper's nominal 29.2 degree type I cut for 800 nm SHG (p. 1413); not an independent check, since that reference angle was itself presumably computed from earlier dispersion equations. n_o = n_e at 4.62 um (printed p. 1415). Against Eimerl et al.'s directly measured n_o (eimerl1987optical, Table I, 404.66-1014.0 nm, minimum deviation, at air wavelengths and relative to air), compared like for like with this formula as printed: 8.3e-4 lower on average, at most 9.2e-4. Checked 2026-11-12 (TC-1095)." +notes = "Ordinary ray. The C_i are printed in um^2 (the squared pole wavelengths). Fitted, with the extraordinary formula, to the dataset described in the technique." + +[[formulas]] +id = "sellmeier_e" +form = "n2_sellmeier" +terms = { B = ["1.151075", "0.21803", "0.656"], C = ["0.007142", "0.02259", "263"] } +# Standard-air wavelengths and an index relative to room air at 20 C: inferred from +# the anchor data (prism indices at mercury lines), not stated (see notes, TC-1095). +wavelength_medium = "standard_air" +index_medium = "air" +air_temperature_k = 293.15 +# The vacuum wavelengths of 0.188-5.2 um in standard air. +range_nm = [188.06, 5201.42] +material = "BBO" +parameters = { axis = "e", temperature_k = 293.15 } +equation = "Eq. (1), p. 1414, second line (n_e)" +printed = "n_e^2(lambda) = 1 + 1.151075 lambda^2/(lambda^2 - 0.007142) + 0.21803 lambda^2/(lambda^2 - 0.02259) + 0.656 lambda^2/(lambda^2 - 263)" +variable = "lambda: wavelength in um (the medium is not stated; read as standard air, see the source notes)" +range = "0.188-5.2 um, 'the full transparency range' (p. 1414)" +coefficients = { B1 = "1.151075", B2 = "0.21803", B3 = "0.656", C1 = "0.007142", C2 = "0.02259", C3 = "263" } +check = "See sellmeier_o for the phase-matching check. Against Eimerl et al.'s directly measured n_e (Table I, 404.66-1014.0 nm, air wavelengths, relative to air), like for like: 7.4e-4 lower on average, at most 8.6e-4; the birefringence n_o - n_e agrees within 2.6e-4. Checked 2026-11-12 (TC-1095)." +notes = "Principal extraordinary index (light polarised along the optic axis). BBO is negative uniaxial (n_e < n_o) below 4.62 um." diff --git a/tests/data/golden_models.json b/tests/data/golden_models.json index dd29bc9d..17565131 100644 --- a/tests/data/golden_models.json +++ b/tests/data/golden_models.json @@ -11098,6 +11098,154 @@ ], "digest": "dd36763a4f60dd645114b5ad49f7a50ba2f31e58f7253e7cc20e85adaa756925" }, + { + "id": "solid/tamosauskas_2018/sellmeier_e", + "class": "optmat.solid.models.formulas.FormulaModel", + "quantity": "permittivity", + "arguments": { + "wavelength": [ + 1.8824805999999999e-07, + 4.3148900609528856e-07, + 9.890288504492447e-07, + 2.266982595623623e-06, + 5.19621858e-06 + ] + }, + "values": [ + [ + 3.0458860688785587, + 0.0 + ], + [ + 2.4460623385707243, + 0.0 + ], + [ + 2.3815684917901425, + 0.0 + ], + [ + 2.3598695036060358, + 0.0 + ], + [ + 2.2958150863388727, + 0.0 + ] + ], + "digest": "8c84cf48e92a3a9466b0574f54271ba712aa18a22d7d84a226ca74820c2bc984" + }, + { + "id": "solid/tamosauskas_2018/sellmeier_e", + "class": "optmat.solid.models.formulas.FormulaModel", + "quantity": "dpermittivity_domega", + "arguments": { + "wavelength": [ + 1.8824805999999999e-07, + 4.3148900609528856e-07, + 9.890288504492447e-07, + 2.266982595623623e-06, + 5.19621858e-06 + ] + }, + "values": [ + [ + 2.851971556782245e-16, + 0.0 + ], + [ + 3.785256605030182e-17, + 0.0 + ], + [ + 1.710152345609717e-17, + 0.0 + ], + [ + 3.8294314795205104e-17, + 0.0 + ], + [ + 4.640867730071834e-16, + 0.0 + ] + ], + "digest": "8c84cf48e92a3a9466b0574f54271ba712aa18a22d7d84a226ca74820c2bc984" + }, + { + "id": "solid/tamosauskas_2018/sellmeier_o", + "class": "optmat.solid.models.formulas.FormulaModel", + "quantity": "permittivity", + "arguments": { + "wavelength": [ + 1.8824805999999999e-07, + 4.3148900609528856e-07, + 9.890288504492447e-07, + 2.266982595623623e-06, + 5.19621858e-06 + ] + }, + "values": [ + [ + 3.7885697537799916, + 0.0 + ], + [ + 2.8464918869389733, + 0.0 + ], + [ + 2.7431950938864422, + 0.0 + ], + [ + 2.6679929093037855, + 0.0 + ], + [ + 2.1108788748194587, + 0.0 + ] + ], + "digest": "16fe3c8e7ed761d2bc5a8397b455c35fec26eb26e9f26b93c1ca7076e2b7bed2" + }, + { + "id": "solid/tamosauskas_2018/sellmeier_o", + "class": "optmat.solid.models.formulas.FormulaModel", + "quantity": "dpermittivity_domega", + "arguments": { + "wavelength": [ + 1.8824805999999999e-07, + 4.3148900609528856e-07, + 9.890288504492447e-07, + 2.266982595623623e-06, + 5.19621858e-06 + ] + }, + "values": [ + [ + 4.258617170364688e-16, + 0.0 + ], + [ + 5.784286856191212e-17, + 0.0 + ], + [ + 3.4840720078799466e-17, + 0.0 + ], + [ + 1.9772967608188074e-16, + 0.0 + ], + [ + 6.2775273324811495e-15, + 0.0 + ] + ], + "digest": "16fe3c8e7ed761d2bc5a8397b455c35fec26eb26e9f26b93c1ca7076e2b7bed2" + }, { "id": "solid/weber_2003/sellmeier_e", "class": "optmat.solid.models.formulas.FormulaModel", diff --git a/tests/solid/test_crystals.py b/tests/solid/test_crystals.py index 7e520b05..8e13b3bc 100644 --- a/tests/solid/test_crystals.py +++ b/tests/solid/test_crystals.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: MIT -"""The window crystals' recommended models (TC-545, TC-546).""" +"""The crystals' recommended models (TC-545, TC-546, TC-1095).""" import dataclasses import json @@ -108,3 +108,32 @@ def test_solprop_uses_the_coefficients_as_absolute_indices(): ours = np.real(chosen.refractive_index(wavelength[inside])) difference = ours - np.asarray(entry["n"])[inside] assert low < difference.min() and difference.max() < high, key + + +def _bbo_index(axis, wavelength): + return float(np.real(default_model("BBO", axis).refractive_index(wavelength))) + + +def test_bbo_reproduces_the_type_one_shg_angle_of_800_nm(): + # Consistent with the paper's nominal 29.2 degree type I cut for 800 nm SHG + # (p. 1413), within the 0.2 degrees its angles are stated to hold over 0.8-1.74 um + # (p. 1416); and pinned at 29.226 degrees (29.211 under the absolute reading) as + # a regression (TC-1095). + n_fundamental = _bbo_index("o", 800e-9) + n_o, n_e = _bbo_index("o", 400e-9), _bbo_index("e", 400e-9) + sin2 = (n_fundamental**-2 - n_o**-2) / (n_e**-2 - n_o**-2) + theta = np.degrees(np.arcsin(np.sqrt(sin2))) + assert theta == pytest.approx(29.2, abs=0.2) + assert theta == pytest.approx(29.226, abs=0.002) + + +def test_bbo_loses_its_birefringence_at_4_62_um(): + # n_o = n_e at 4.62 um, as printed (p. 1415): negative uniaxial below it, + # positive above. + assert _bbo_index("o", 4.60e-6) > _bbo_index("e", 4.60e-6) + assert _bbo_index("o", 4.64e-6) < _bbo_index("e", 4.64e-6) + + +def test_bbo_needs_its_axis(): + with pytest.raises(OptmatError, match="give the axis"): + default_model("BBO")