NaBr (Sodium bromide)
Glasses, oxides and dielectrics
1 dataset, together covering 0.21–34 µm. Default: Li 1976: n 0.21–34 µ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
# NaBr (Sodium bromide): Li 1976: n 0.21–34 µm
nabr = ls.fetch_refractiveindex("main", "NaBr", "Li", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(nabr.range_nm) # (210, 34000) nm
eps = nabr.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_a6faea122677/lightsmith"
nabr = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(nabr.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (nabr/li-1976).
# ... load nabr as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=nabr)],
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_a6faea122677/lightsmith?model=drude_lorentz"
nabr_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 NaBr (Sodium bromide)
Sodium bromide (NaBr) is a white crystalline solid commonly used in various applications. In its pure form, it can be processed into clear crystalline windows or pieces, showcasing transparency not just in the visible range but also extensively into the infrared spectrum. This characteristic transparency in the infrared region is particularly beneficial, making NaBr an invaluable material in infrared spectroscopy and other related optical applications.
Other names: Sodium bromide, Sedoneural
API: /v1/materials/mat_c205dd1ce07a · slug nabr