edmundsj / rcwa

Rigorous Coupled Wave Analysis for the calculation of Photonic Crystal R/T spectra
MIT License
93 stars 29 forks source link

Add Cauchy / Sellmeier dispersion models #11

Closed edmundsj closed 2 years ago

edmundsj commented 3 years ago

Lots of common materials have Cauchy or Sellmeier coefficients, and adding an option to add this type of dispersion model would make life nice and easy for me. Allowing the user to pass an arbitrary function of wavelength into the software would also be pretty trivial because this is python, and that would be a useful extension.

edmundsj commented 2 years ago

Added something better - support for arbitrary functions of wavelength to be used in b157a55a0b5618d715ab8753b8803a980dea862b.