NaCl (Sodium chloride)
Glasses, oxides and dielectrics
2 datasets, together covering 0.2–166.7 µm. Default: Li 1976: n 0.20–30 µ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
# NaCl (Sodium chloride): Li 1976: n 0.20–30 µm
nacl = ls.fetch_refractiveindex("main", "NaCl", "Li", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(nacl.range_nm) # (200, 30000) nm
eps = nacl.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_83974412f912/lightsmith"
nacl = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(nacl.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (nacl/li-1976).
# ... load nacl as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=nacl)],
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"]).
import json, urllib.request
import lightsmith as ls
url = "https://materials.lightsmith.dev/v1/datasets/ds_83974412f912/lightsmith?model=drude_lorentz"
nacl_dl = ls.DrudeLorentz.model_validate(json.load(urllib.request.urlopen(url)))
A dispersive Drude–Lorentz model for time-domain solvers.
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 NaCl (Sodium chloride)
Sodium chloride (NaCl), commonly known as table salt, is a white crystalline compound. In its purified form, it is transparent and can be shaped into clear optical windows. With its wide transparency range that extends from the ultraviolet through to the infrared spectrum, NaCl finds significant utility in the optics field. It's particularly well-suited for infrared spectroscopy. However, being hygroscopic, it readily absorbs moisture from the air, which can degrade its optical performance. Thus, careful handling and storage are essential when using it for optical applications. Mineral: Halite
Other names: Sodium chloride, Salt, Common salt, Table salt, Rock salt, Halite
Also listed in
API: /v1/materials/mat_8c45bc4c7e46 · slug nacl