Module polarization

Module polarization 

Source
Expand description

Plane-wave polarization vectors, their wavevector derivatives and the normal wavenumber.

Upstream: treams.special.vpw_M, vpw_N and vpw_A, and treams.misc.wave_vec_z.

Structsยง

Direction ๐Ÿ”’
The direction of a wavevector (kx, ky, kz) as jets in its components: slots 0, 1 and 2 hold the derivatives with respect to kx, ky and kz (only the first N are kept).

Functionsยง

algebraic_norm ๐Ÿ”’
The algebraic norm sqrt(ฮฃ v^2) (principal root) of complex components.
field_value
The field polarization exp(i kยทposition) of a plane wave from its polarization vector, which polarization gives.
polarization
Plane-wave electric vector at the origin in treams normalization.
polarization_from_inputs ๐Ÿ”’
Chain the local Cartesian polarization derivative into solver parameters.
polarization_jet ๐Ÿ”’
The polarization vector of a plane wave with wavevector vector, as jets in the wavevector components.
transverse_values ๐Ÿ”’
The transverse norm sqrt(kx^2 + ky^2) (principal root) and the unit transverse direction (kx, ky) / norm, which is (cos phi, sin phi) for a real wavevector.
wave_vector_z
The normal wavenumber kz = sqrt(k^2 - kx^2 - ky^2) on the root with a nonnegative imaginary part, so the wave propagates or decays toward +z; zero at a cutoff.
wavenumbers ๐Ÿ”’
The wavenumber k, the transverse norm and the unit transverse direction of a finite wavevector with a nonzero algebraic norm.