edmundsj / rcwa

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

Materials with dispersion formulas from refractiveindex.info won't load #21

Closed edmundsj closed 2 years ago

edmundsj commented 3 years ago

Materials with n/k tables from refractiveindex.info work just fine, but lots of them (SiO2, BaTiO3) instead have dispersion formulas, and these need to be loaded in separately. Right now the software crashes when trying to load these in, and this needs to be fixed.

edmundsj commented 2 years ago

This is fixed in commit c6e3ae0. Unclear if all possible dispersion formulas are included for all materials - likely not.