Closed kombatEldridge closed 10 months ago
The wavelength range for Au_JC_visible
in materials.py
is [400, 800] nm as the fitting data is from D. Barchiesi and T. Grosges, J. Nanophotonics, Vol. 8, 08996 (2015) as well this errata.
However, the definition of the Au_JC_visible
object is missing assignment of its valid_freq_range
property:
Thanks for catching this bug. The fix would require adding valid_freq_range=metal_visible_range
. Feel free to submit a PR with this change.
Fixed by #2751.
Thank you for all the work you have put into meep!
Do the JC values for Au in materials.py need to have a range of wavelength values for where it is valid? Right now, it does not have a range but the two other Au fitting values have a wavelength range.