PlaneWave#

class nannos.PlaneWave(wavelength=1, angles=(0, 0, 0))[source]#

A plane wave object

Parameters:
  • wavelength (float) – Wavelength (the default is 1).

  • angles (tuple) – Incidence angles \((\theta,\phi,\psi)\) in degrees (the default is (0, 0, 0)). \(\\theta\): polar angle, \(\phi\): azimuthal angle, \(\psi\): polarization angle.

Examples#

Polarization conversion

Polarization conversion

Tangent field

Tangent field

One dimensional grating

One dimensional grating

Two photonic crystal slabs

Two photonic crystal slabs

Elliptical holes

Elliptical holes

Photonic crystal slab

Photonic crystal slab

Dielectric patch array

Dielectric patch array

Stress tensor

Stress tensor

Convergence

Convergence

Permittivity approximation

Permittivity approximation

Computing gradients

Computing gradients

Geometry tools

Geometry tools