yeh_tm.Layer.set_epsilon¶
-
Layer.
set_epsilon
(epsilon1=None, epsilon2=None, epsilon3=None)¶ Assign the dielectric functions to the main axes (x=1, y=2, z=3) of the layer in the crystal frame.
New in version 03-07-2016.
Parameters: - epsilon1 (function) – Function that takes the frequency w as argument and returns a value for the dielectric constant along this axis. If no function is provided, defaults to vacuum.
- epsilon2 (function) – Function that takes the frequency w as argument and returns a value for the dielectric constant along this axis. If no function is provided, defaults to epsilon1.
- epsilon3 (function) – Function that takes the frequency w as argument and returns a value for the dielectric constant along this axis. If no function is provided, defaults to epsilon1.