legume.PlaneWaveExp.get_eps_xy

PlaneWaveExp.get_eps_xy(Nx=100, Ny=100, z=0)

Get the xy-plane permittivity of the layer as computed from an inverse Fourier transform with the PWE reciprocal lattice vectors.

Parameters:
  • Nx (int, optional) – A grid of Nx points in the elementary cell is created.
  • Ny (int, optional) – A grid of Ny points in the elementary cell is created.
  • z (float, optional) – Position of the xy-plane. This doesn’t matter for the PWE, but is added for consistency with the GME definitions.
Returns:

  • eps_r (np.ndarray) – The in-plane real-space permittivity.
  • xgrid (np.ndarray) – The constructed grid in x.
  • ygrid (np.ndarray) – The constructed grid in y.