OpticalMedium

OpticalMedium is a simple class that provides refractive index and permittivity of a material.

您现在正在关注此提交

OpticalMedium gives refractive index and permittivity of a material.

It uses Sellmeyer formula to retrieve refractive index and permittivity
at specified frequency, wavelength or photon energy in eV.
The available materials are listed in the file 'sellmeyer.csv', which
can be easily edited to add more materials.

examples:
n = OpticalMedium('BK7').refractiveIndex(800, 'nm');
n = OpticalMedium('SF10').refractiveIndex(2, 'eV');
n = OpticalMedium('BK7').refractiveIndex(350, 'THz');
eps = OpticalMedium('BK7').permittivity(800, 'nm');
eps = OpticalMedium('BK7').permittivity(2, 'eV');
eps = OpticalMedium('SF5').permittivity(350, 'THz');

References:
Refractive index values are mainly taken from http://refractiveindex.info/
and from SCHOTT data sheets.

引用格式

Alberto Comin (2026). OpticalMedium (https://ww2.mathworks.cn/matlabcentral/fileexchange/55412-opticalmedium), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: waveUnit

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.1.1

small fixes

1.0.1.0

added validity range for Sellmeier formula

1.0.0.0