edmundsj / rcwa

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

Add dispersion models for metals #10

Closed edmundsj closed 2 years ago

edmundsj commented 3 years ago

Lots of metals can be well-modeled with analytic permittivity models (Drude model, etc.). My understanding is these are very accurate. It would be very easy to add these. I'm not sure how well the underlying algorithm handles metals. In principle, it should work, but in practice, there might be something I am missing.

edmundsj commented 3 years ago

In the meantime, metals are available as n/k tables from the refractiveindex.info database: #8

edmundsj commented 2 years ago

This can now be implemented manually by using an arbitrary function of wavelength as of b157a55a0b5618d715ab8753b8803a980dea862b. I don't think this on its own is enough of a value-add to justify it.