Module metric

Module metric 

Source
Expand description

Circular dichroism, duality breaking and electromagnetic chirality of helicity T-matrices.

Upstream: treams.TMatrix.cd, treams.TMatrix.db and treams.TMatrix.chi.

Modulesยง

saved ๐Ÿ”’
Fixed-shape metric gradient state, including deferred nonsmoothness errors. treams-rs extension.

Structsยง

HelicityBlock ๐Ÿ”’
One helicity block of the chirality metric and its place in the singular-value differences.
MetricGradient
Gradients of the inputs of metric, in the order of its arguments.
MetricResidual
What metric saves for its pullback: the gradient itself, since the value is a real scalar; no singular vectors are kept.

Enumsยง

Metric
Normalized measures of a global helicity T-matrix.

Constantsยง

CHIRALITY_BLOCKS ๐Ÿ”’
The four helicity blocks, ordered so that block 3 - p minus block p is difference p, as treams pairs them in TMatrix.chi.

Functionsยง

chirality ๐Ÿ”’
Electromagnetic chirality from the singular values of the four helicity blocks, for a matrix at unit scale. Its gradient is undefined at zero contrast.
chirality_gradient ๐Ÿ”’
The chirality gradient through the singular values of the helicity blocks.
circular_dichroism ๐Ÿ”’
Absorption circular dichroism with its matrix and wavenumber gradients.
duality_breaking ๐Ÿ”’
The fraction of scattering that flips helicity and its gradient, for a matrix at unit scale.
metric
One Metric of a global helicity T-matrix.