Module tr

Module tr 

Source
Expand description

Transmittance and reflectance of plane-wave S-matrix columns between two ports.

Upstream: treams.SMatrices.tr.

Modulesยง

saved ๐Ÿ”’
Numeric port fields and powers preserved across an array-only callback. treams-rs extension.

Structsยง

TrForward ๐Ÿ”’
Forward values with the intermediates the pullback reuses.
TrGradient
S-matrix, illumination, port wavenumber/impedance and transverse-wavevector cotangents.
TrPorts
The two plane-wave ports of tr and tr_value: port 0 on the positive side (above), port 1 on the negative side (below).
TrResidual
What tr saves for its pullback: copies of the transmission and reflection blocks of the illumination direction, the incident fields, the ports and the forward results.

Constantsยง

INVALID_INPUTS ๐Ÿ”’
KS ๐Ÿ”’
Jet seed offsets of the parameters: the wavenumbers ks[port][pol] at KS + 2 port + pol, the impedances zs[port] at ZS + port and the transverse components q[j] at Q + j.
Q ๐Ÿ”’
See KS.
ZS ๐Ÿ”’
See KS.

Functionsยง

aggregate ๐Ÿ”’
The incident, transmitted and reflected tangential fields of one illumination column, summed over the modes of each diffraction group.
amplitudes ๐Ÿ”’
Incident, transmitted and reflected amplitudes of one mode and illumination.
cross ๐Ÿ”’
The time-averaged power flux Re(E x H*) / 2 along the normal of tangential fields e and h.
cross_direction ๐Ÿ”’
Real directional derivative of the sesquilinear power flux.
cross_pullback ๐Ÿ”’
The cotangents of e and h in cross for the flux cotangent weight.
evaluate ๐Ÿ”’
Validate the inputs and compute the transmittance and reflectance.
port_wave_inputs ๐Ÿ”’
Field algebra shared by coordinate derivatives and a single directional seed.
port_waves ๐Ÿ”’
The port fields of one diffraction group, as jets in the eight parameters when N = 8; parity bases combine the helicity fields.
tr
Transmittance and reflectance of S-matrix columns between two plane-wave ports.
tr_value
The transmittance and reflectance of tr without the data its pullback needs. Matrix views are the transmission and reflection blocks for the illumination direction.

Type Aliasesยง

PortWaves ๐Ÿ”’
Tangential fields [E_a, E_b, H_a, H_b] of the plane waves of one diffraction group, indexed by port, propagation direction and polarization.