H2 (Hydrogen)
3 datasets, together covering 0.168–1.694 µm. Default: Smith et al. 1976: n 0.168–0.289 µ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
# H2 (Hydrogen): Smith et al. 1976: n 0.168–0.289 µm
h2 = ls.fetch_refractiveindex("main", "H2", "Smith", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(h2.range_nm) # (167.97, 289.45) nm
eps = h2.eps([220]) # 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_1d4ded6f5614/lightsmith"
h2 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(h2.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (h2/smith-1976).
# ... load h2 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=h2)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=168, stop_nm=289, 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 H2 (Hydrogen)
Hydrogen (H2) is the most abundant element in the universe and forms diatomic molecules under standard conditions. In the realm of optics, hydrogen is commonly encountered in the form of gas cells that are used for Raman spectroscopy and as a reference in various types of spectroscopic analysis. Hydrogen's transparency over a broad range of wavelengths makes it useful in applications that require minimal interaction with light, although it's generally not used in its elemental form for robust optical components due to its reactivity and the challenges associated with containing it. Hydrogen gas cells can also serve as frequency standards in metrology.
Other names: Hydrogen
API: /v1/materials/mat_7a63abebc506 · slug h2