D2 (Deuterium)
1 dataset, together covering 0.2302–0.5791 µm. Default: Weber: n 0.230–0.579 µm.
Compare datasets
Tick datasets in the list to add them to the plot (up to 12).
Datasets
Use it in Lightsmith
Load this data in Python, simulate in one more line
pip install lightsmith
import lightsmith as ls
# D2 (Deuterium): Weber: n 0.230–0.579 µm
d2 = ls.fetch_refractiveindex("main", "D2", "Weber", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(d2.range_nm) # (230.209, 579.065) nm
eps = d2.eps([365]) # complex permittivity
Downloads the original record once (pinned to the imported snapshot) and caches it.
import json, urllib.request
import lightsmith as ls
url = "https://materials.lightsmith.dev/v1/datasets/ds_442138d20d58/lightsmith"
d2 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(d2.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (d2/weber).
# ... load d2 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=d2)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=400, stop_nm=579, num=81),
)
res = ls.solve(sim) # exact Mie for a sphere
print(res.q_ext) # extinction efficiency at each wavelength
Same spec runs with DDA, FDTD, BEM or T-matrix: ls.compare(sim, ["mie", "dda"]).
Lightsmith is open source (MIT): Mie, T-matrix, BEM, DDA, FDTD, RCWA, TMM, mode solvers and inverse design behind one spec, on CPU or GPU. GitHub.
About D2 (Deuterium)
Deuterium (D2) is an isotope of hydrogen consisting of a nucleus with one proton and one neutron, double the mass of ordinary hydrogen. It is commonly used in nuclear fusion research and as a tracer in chemical studies. In optics, deuterium lamps are often used as ultraviolet light sources due to their continuous spectrum that extends down to shorter wavelengths compared to ordinary hydrogen. These lamps are commonly used in ultraviolet-visible spectroscopy and other applications requiring a stable, broad-spectrum UV light source. Deuterium gas itself is transparent to a broad range of wavelengths, making it suitable for use in optical cells for spectroscopic studies that require isotopic sensitivity.
Other names: Deuterium, H-2
API: /v1/materials/mat_cf2ef91880a1 · slug d2