Air
8 datasets, together covering 0.185–14.1 µm. Default: Ciddor 1996: n 0.23–1.690 µ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
# Air: Ciddor 1996: n 0.23–1.690 µm
air = ls.fetch_refractiveindex("other", "air", "Ciddor", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(air.range_nm) # (230, 1690) nm
eps = air.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_6dd461dd74b9/lightsmith"
air = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(air.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (air/ciddor-1996).
# ... load air as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=air)],
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 Air
Air is a mixture of gases that constitutes the Earth's atmosphere and is vital for most forms of life on our planet. It primarily consists of nitrogen (approximately 78%) and oxygen (about 21%), with small amounts of other gases such as argon, carbon dioxide, neon, helium, and methane. The exact composition can vary depending on location and environmental conditions. Air is colorless, odorless, and tasteless. From a physical perspective, air plays a crucial role in many processes such as weather patterns, the water cycle, and is also an important medium for sound transmission. In terms of its optical properties, air has a refractive index very close to 1 (approximately 1.0003 at sea level under standard conditions), which varies slightly with temperature, humidity, and pressure. This refractive index is crucial in various applications ranging from astronomical observations to the design of optical systems where light travels through the atmosphere. Understanding the properties of air, including its refractive index, is essential for disciplines such as meteorology, environmental science, aviation, and optical engineering.
API: /v1/materials/mat_d5dece3cda0c · slug air