legume.PlaneWaveExp.ft_field_xy¶
-
PlaneWaveExp.
ft_field_xy
(field, kind, mind)¶ Compute the ‘H’, ‘D’ or ‘E’ field Fourier components in the xy-plane.
Parameters: - field ({'H', 'D', 'E'}) – The field to be computed.
- kind (int) – The field of the mode at PlaneWaveExp.kpoints[:, kind] is computed.
- mind (int) – The field of the mind mode at that kpoint is computed.
Note
The function outputs 1D arrays with the same size as PlaneWaveExp.gvec[0, :] corresponding to the G-vectors in that array.
Returns: - fi_x (np.ndarray) – The Fourier transform of the x-component of the specified field.
- fi_y (np.ndarray) – The Fourier transform of the y-component of the specified field.
- fi_z (np.ndarray) – The Fourier transform of the z-component of the specified field.