C9H8O (Cinnamaldehyde)
1 dataset, together covering 0.5893–1.05 µm. Default: Rheims et al. 1997: n 0.589–1.05 µ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
# C9H8O (Cinnamaldehyde): Rheims et al. 1997: n 0.589–1.05 µm
c9h8o = ls.fetch_refractiveindex("organic", "cinnamaldehyde", "Rheims", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(c9h8o.range_nm) # (589.3, 1050) nm
eps = c9h8o.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_3cce56c6c9ea/lightsmith"
c9h8o = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(c9h8o.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (cinnamaldehyde/rheims-1997).
# ... load c9h8o as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=c9h8o)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=590, 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 C9H8O (Cinnamaldehyde)
Cinnamaldehyde (C9H8O) is the organic compound responsible for the characteristic flavor and aroma of cinnamon. It is a pale yellow, viscous liquid that is slightly soluble in water but highly soluble in organic solvents. Cinnamaldehyde is derived from the steam distillation of the oil of cinnamon bark. In addition to its use as a flavoring agent in foods, beverages, and confectionery, it has antimicrobial properties and is used in some types of fungicides. Furthermore, due to its pleasant scent and flavor, it is a common ingredient in cosmetics and chewing gums.
Other names: C9H8O, C9H8O, (2E)-3-phenylprop-2-enal, (E)-Cinnamaldehyde, Cinnamic aldehyde, Trans-cinnamaldehyde
API: /v1/materials/mat_61cd8158041e · slug cinnamaldehyde