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::PlusJform (ε_r = ε' - jε''withε'' >= 0); the medium’s methods convert to the requested convention.
Enums§
- Time
Convention - The sign convention relating a phasor
Xto 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.