MgH2 (Magnesium hydride)
Glasses, oxides and dielectrics
1 dataset, together covering 0.25–1.685 µm. Default: Palm et al. 2018: n,k 0.250–1.68 µ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
# MgH2 (Magnesium hydride): Palm et al. 2018: n,k 0.250–1.68 µm
mgh2 = ls.fetch_refractiveindex("main", "MgH2", "Palm", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(mgh2.range_nm) # (250.02, 1684.53) nm
eps = mgh2.eps([633]) # 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_41fcb681bbf0/lightsmith"
mgh2 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(mgh2.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (mgh2/palm-2018).
# ... load mgh2 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=mgh2)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=400, stop_nm=1000, 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 MgH2 (Magnesium hydride)
Magnesium hydride (MgH2) is a solid compound consisting of magnesium and hydrogen. It is known primarily for its potential use as a hydrogen storage material. When heated, MgH2 decomposes to release hydrogen gas, making it of interest for hydrogen storage and production technologies. Optically, MgH2 is generally not transparent and doesn't have widespread use in conventional optical applications. However, research into its optical properties might become relevant in the context of its potential use in energy storage and conversion systems.
Other names: Magnesium hydride, Magnesium dihydride
API: /v1/materials/mat_6041d5282874 · slug mgh2