Skip to main content

Module conventions

Module conventions 

Source
Expand description

Conventions shared by the whole crate: the harmonic time convention, media, and dB helpers.

Units are SI. Harmonic quantities are complex peak phasors; time-averaged products carry the factor ½ (for example S = ½ E × H*).

See the book entry Fields on grids.

Structs§

Medium
A linear, homogeneous, isotropic medium described by complex relative permittivity and permeability. Losses are given in the TimeConvention::PlusJ form (ε_r = ε' - jε'' with ε'' >= 0); the medium’s methods convert to the requested convention.

Enums§

TimeConvention
The sign convention relating a phasor X to its real signal.

Functions§

amplitude_to_db
A field (amplitude) ratio in decibels.
db_to_amplitude
Decibels to an amplitude ratio.
db_to_power
Decibels to a power ratio.
power_to_db
A power ratio in decibels.

Type Aliases§

C64