KBr (Potassium bromide)
Glasses, oxides and dielectrics
1 dataset, together covering 0.2–42 µm. Default: Li 1976: n 0.20–42 µ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
# KBr (Potassium bromide): Li 1976: n 0.20–42 µm
kbr = ls.fetch_refractiveindex("main", "KBr", "Li", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(kbr.range_nm) # (200, 42000) nm
eps = kbr.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_4c1514fa6372/lightsmith"
kbr = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(kbr.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (kbr/li-1976).
# ... load kbr as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=kbr)],
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_4c1514fa6372/lightsmith?model=drude_lorentz"
kbr_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 KBr (Potassium bromide)
Potassium bromide (KBr) is a salt commonly used in the form of a transparent crystal for a variety of optical applications. Its wide transmission range, extending from the ultraviolet into the far-infrared spectrum, makes it a popular choice for infrared spectroscopy. KBr is also used as a substrate material for specialized optical coatings. It is hygroscopic, meaning it readily absorbs moisture from the air, so care must be taken in its handling and storage to maintain its optical properties. It is not advisable for applications where it would be exposed to high moisture or extreme environmental conditions. Despite its hygroscopic nature, KBr is highly valued for its excellent transmission characteristics and is a staple in various optical and spectroscopic setups.
Other names: Potassium bromide
API: /v1/materials/mat_3791eb0348c6 · slug kbr