C8H10 (Xylene)
2 datasets, together covering 0.226–2 µm. Default: Li et al. 2022: para-Xylene (PX); n 0.226–1.7 µ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
# C8H10 (Xylene): Li et al. 2022: para-Xylene (PX); n 0.226–1.7 µm
c8h10 = ls.fetch_refractiveindex("organic", "xylene", "Li", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(c8h10.range_nm) # (226, 1700) nm
eps = c8h10.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_91e0c0c282bc/lightsmith"
c8h10 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(c8h10.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (xylene/li-2022).
# ... load c8h10 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=c8h10)],
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 C8H10 (Xylene)
Xylene (C8H10) is a volatile organic compound consisting of a benzene ring with two methyl groups (-CH3) attached. It is typically found as a clear, colorless liquid possessing a sweet, aromatic odor reminiscent of gasoline. Xylene is primarily used as a solvent in the printing, rubber, and leather industries and is also a key ingredient in the production of polyethylene terephthalate (PET) plastics and polyester fibers. In optical applications, xylene's unique refractive properties may make it useful for specific purposes. However, xylene is known to be a potent neurotoxin and exposure can lead to significant health risks, necessitating stringent safety measures during use and handling.
Other names: C8H10, C6H4(CH3)2, Dimethylbenzene, Xylol
API: /v1/materials/mat_d4285a04a3b0 · slug xylene