yeh_tm.Layer.calculate_epsilon

Layer.calculate_epsilon(w)

Calculate the dielectric tensor for given frequency w. Stores the result in self.epsilon, which can be used for repeated access.

Call this function only if you do not use the update function.

Parameters:w (float) – Frequency value.
Returns:Dielectric tensor (4x4).