C7H16 (Heptane)
3 datasets, together covering 0.326–0.644 µm. Default: Kerl and Varchmin 1995: n-Heptane; 293 K; n 0.326–0.644 µ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
# C7H16 (Heptane): Kerl and Varchmin 1995: n-Heptane; 293 K; n 0.326–0.644 µm
c7h16 = ls.fetch_refractiveindex("organic", "heptane", "Kerl-293K", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(c7h16.range_nm) # (326, 644) nm
eps = c7h16.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_4e01682d9aca/lightsmith"
c7h16 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(c7h16.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (heptane/kerl-varchmin-1995-293k).
# ... load c7h16 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=c7h16)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=400, stop_nm=644, 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 C7H16 (Heptane)
Heptane (C7H16) is a straight-chain alkane hydrocarbon. It is a clear, colorless liquid that is less dense than water and exhibits a characteristic odor reminiscent of petrol. Being flammable, it is used in many laboratory settings as a non-polar solvent for organic substances. Heptane is also employed as a fuel in various applications and forms a significant component of gasoline. Due to its non-polarity, it is unsuitable for dissolving polar compounds but works effectively with non-polar molecules. In the field of optics, heptane can be used in a variety of experiments and setups that require a liquid medium with specific refractive properties.
Other names: C7H16, C7H16
API: /v1/materials/mat_346db4ef4dff · slug heptane