C8H18 (Octane)
5 datasets, together covering 0.326–25.02 µm. Default: Kerl and Varchmin 1995: n-Octane; 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
# C8H18 (Octane): Kerl and Varchmin 1995: n-Octane; 293 K; n 0.326–0.644 µm
c8h18 = ls.fetch_refractiveindex("organic", "octane", "Kerl-293K", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(c8h18.range_nm) # (326, 644) nm
eps = c8h18.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_7d4563e2520f/lightsmith"
c8h18 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(c8h18.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (octane/kerl-varchmin-1995-293k).
# ... load c8h18 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=c8h18)],
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 C8H18 (Octane)
Octane (C8H18) is a straight-chain alkane comprising eight carbon atoms. It is a primary constituent in gasoline and is employed as a reference standard in the octane rating scale, which measures a fuel's ability to resist engine knocking or pinging. As a liquid at room temperature and atmospheric pressure, octane is less dense than water and possesses a characteristic hydrocarbon odor. In the optical domain, octane's properties can be utilized in certain specialized settings. While it's not highly reactive, safety precautions should be followed when handling octane, particularly due to its flammability. Structural formula: CH3(CH2)6CH3
Other names: C8H18, C8H18
API: /v1/materials/mat_b6e04793c0e5 · slug octane