ems 0.0.2

Pure Rust FDTD electromagnetic field solver, compatible with openEMS models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Post-processing: complex arithmetic, discrete Fourier transforms,
//! port analysis (power waves, S-parameters) and SAR ([`sar`]).
//!
//! Sign convention used throughout `ems`: a time signal `x(t)` is mapped to
//! the frequency domain with the kernel `e^{-j2πft}`, i.e.
//! `X(f) = ∫ x(t)·e^{-j2πft} dt` (engineering convention, `j² = -1`). The
//! discrete transforms in [`mod@dft`] approximate this integral, and
//! [`Waveform::spectrum`](crate::waveform::Waveform::spectrum) evaluates it
//! analytically.

pub mod complex;
pub mod dft;
pub mod port;
pub mod sar;

pub use complex::Complex64;
pub use dft::{RunningDft, dft};
pub use port::{PortResult, s_param};