CR-39
2 datasets, together covering 0.5893–0.5893 µm. Default: Polymer: n 0.58929 µ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
# CR-39: Polymer: n 0.58929 µm
cr_39 = ls.fetch_refractiveindex("other", "CR-39", "poly", ref="c5c2f188e848453def5970e347399d653df2ffc2")
print(cr_39.range_nm) # (589.29, 589.29) nm
eps = cr_39.eps([589]) # 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_05e6b7b5158f/lightsmith"
cr_39 = ls.Tabulated.model_validate(json.load(urllib.request.urlopen(url)))
print(cr_39.source) # citation and provenance travel with the data
Any dataset here, as the library's Tabulated material (cr-39/poly).
# ... load cr_39 as above, then:
sim = ls.Simulation(
particles=[ls.Particle(shape=ls.Sphere(radius_nm=50), material=cr_39)],
medium_index=1.0,
wavelengths=ls.WavelengthRange(start_nm=590, stop_nm=589, 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 CR-39
Other names: Allyl diglycol carbonate (ADC), Columbia resin #39
API: /v1/materials/mat_e5ea8411d158 · slug cr-39