BaF2 - Barium fluoride (CRYSTRAN)
Glasses, oxides and dielectrics supplier-datasheet Supplier: CRYSTRAN
1 dataset, together covering 0.1408–10.35 µm. Default: BaF2 - Barium fluoride.
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
# BaF2 - Barium fluoride (CRYSTRAN): BaF2 - Barium fluoride
crystran_baf2 = ls.fetch_refractiveindex("specs", "CRYSTRAN-optical", "BaF2", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(crystran_baf2.range_nm) # (140.8, 10346) nm
eps = crystran_baf2.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_fa4de5262249/lightsmith"
crystran_baf2 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(crystran_baf2.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (crystran-baf2/crystran).
# ... load crystran_baf2 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=crystran_baf2)],
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 BaF2 - Barium fluoride (CRYSTRAN)
Other names: BaF2
API: /v1/materials/mat_488bc0871586 · slug crystran-baf2