(C8H8)n-(C3H3N)m (Styrene-acrylonitrile, SAN)
1 dataset, together covering 0.4368–1.052 µm. Default: Sultanova et al. 2009: n 0.4368–1.052 µ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
# (C8H8)n-(C3H3N)m (Styrene-acrylonitrile, SAN): Sultanova et al. 2009: n 0.4368–1.052 µm
c8h8_n_c3h3n_m = ls.fetch_refractiveindex("other", "C8H8_n-C3H3N_m", "Sultanova", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(c8h8_n_c3h3n_m.range_nm) # (436.8, 1052) nm
eps = c8h8_n_c3h3n_m.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_bf0138885d0b/lightsmith"
c8h8_n_c3h3n_m = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(c8h8_n_c3h3n_m.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (c8h8-n-c3h3n-m/sultanova-2009).
# ... load c8h8_n_c3h3n_m as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=c8h8_n_c3h3n_m)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=437, 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"]).
import json, urllib.request
import lightsmith as ls
url = "https://materials.lightsmith.dev/v1/datasets/ds_bf0138885d0b/lightsmith?model=drude_lorentz"
c8h8_n_c3h3n_m_dl = ls.DrudeLorentz.model_validate(json.load(urllib.request.urlopen(url)))
A dispersive Drude–Lorentz model for time-domain solvers.
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 (C8H8)n-(C3H3N)m (Styrene-acrylonitrile, SAN)
Other names: C8H8_n-C3H3N_m, C8H8)n-(C3H3N)m (Styrene-acrylonitrile, SAN, Styrene-acrylonitrile, SAN, C8H8)n-(C3H3N)m, Styrene-acrylonitrile resin, Styrene-acrylonitrile copolymer
API: /v1/materials/mat_9ca6eed8a410 · slug c8h8-n-c3h3n-m