C2H4O2 (Acetic acid)
1 dataset, together covering 0.4–0.8 µm. Default: El-Kashef 2000: n 0.4–0.8 µ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
# C2H4O2 (Acetic acid): El-Kashef 2000: n 0.4–0.8 µm
c2h4o2 = ls.fetch_refractiveindex("organic", "acetic_acid", "El-Kashef", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(c2h4o2.range_nm) # (400, 800) nm
eps = c2h4o2.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_334e4bdb77f3/lightsmith"
c2h4o2 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(c2h4o2.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (acetic-acid/el-kashef-2000).
# ... load c2h4o2 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=c2h4o2)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=400, stop_nm=800, 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 C2H4O2 (Acetic acid)
Acetic Acid (C2H4O2): A colorless liquid at room temperature, acetic acid is the primary component of vinegar, giving it its characteristic pungent smell and sour taste. It has a wide range of industrial and household applications, from synthetic fiber and plastic production to food preservatives. In its undiluted form, it's known as glacial acetic acid. Acetic acid exhibits strong hydrogen bonding properties, leading to its miscibility with water. In the realm of optics, it's sometimes used as a solvent or component in complex liquid mixtures. Chemical formula: CH3COOH (AcOH)
Other names: acetic_acid, C2H4O2, Acetic acid, C2H4O2, Ethanoic acid, Acetyl hydroxide, Hydrogen acetate (HAc), Ethylic acid, Methanecarboxylic acid
API: /v1/materials/mat_c420e1c38e8c · slug acetic-acid