NH3 (Ammonia)
1 dataset, together covering 0.48–0.6708 µm. Default: Cuthbertson and Cuthbertson 1914: n 0.480–0.671 µ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
# NH3 (Ammonia): Cuthbertson and Cuthbertson 1914: n 0.480–0.671 µm
nh3 = ls.fetch_refractiveindex("main", "NH3", "Cuthbertson", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(nh3.range_nm) # (479.99, 670.785) nm
eps = nh3.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_b598937c02ce/lightsmith"
nh3 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(nh3.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (nh3/cuthbertson-cuthbertson-1914).
# ... load nh3 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=nh3)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=480, stop_nm=670, 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 NH3 (Ammonia)
Ammonia (NH3) is a compound of nitrogen and hydrogen, manifesting as a colorless gas with a distinct pungent smell. In the realm of optics, ammonia is notable not only for its refractive index and absorption characteristics, especially in the infrared region where it exhibits absorption bands, but also as a lasing medium. Ammonia gas has been used in far-infrared NH3 lasers, which operate based on the molecule's inversion transitions. Industrially, ammonia plays a pivotal role in fertilizer production and also serves as a refrigerant. Its liquid form can dissolve a variety of inorganic salts, acting as a solvent. However, given its corrosive nature and potential to form explosive mixtures with air, it's imperative to handle and store ammonia with caution.
Other names: Ammonia, Azane, Hydrogen nitride, Trihydrogen nitride, Nitro-sil
API: /v1/materials/mat_83c8c6dd648b · slug nh3