pyrmittivity Documentation
pyrmittivity is a simple module designed to calculate Maxwell’s Equations describing Permittivity.
See an explanation of Permittivity at a site dedicated to Maxwell’s Equations here.
Core functions
The constants used in these functions are defined in Constant definitions.
Wave velocity
- pyrmittivity.core.celerity(E_r)
Calculate the wave velocity (\(C_r\)) given the permittivity (\(\varepsilon_r\)) of the dielectric.
(1)\[C_r = \frac{1}{\sqrt{\mu_0 \varepsilon_r \varepsilon_0}}\]See Equation [6] of Maxwell’s Equations.
Permittivity
- pyrmittivity.core.epsilon_r(C_r)
Calculate the permittivity (\(\varepsilon_r\)) given the wave velocity through the dielectric (\(C_r\)).
(2)\[\varepsilon_r = \frac{\frac{1}{C_r}^2}{\mu_0 \varepsilon_0}\]See Equation [6] of Maxwell’s Equations.
Wavelength
- pyrmittivity.core.wavelength(f, E_r)
Calculate the wavelength (\(\lambda\)) given the permittivity and frequency (\(\varepsilon_r\) and f).
(3)\[\lambda = \frac{C_0}{f \sqrt{\varepsilon_r}}\]- Parameters
- Return type
See Equation [7] of Maxwell’s Equations.
Velocity conversions
m/s to m/ns
m/ns to m/s
Constant definitions
These are physical constants that are used in the core functions.
Variable |
Symbol |
Value |
---|---|---|
Speed of light |
\(C_0\) |
299792458 |
Vacuum permittivity |
\(\varepsilon_0\) |
\(8.8541878 * 10^{-12}\) |
Vacuum permeability |
\(\mu_0\) |
\(1.257 * 10^{-6}\) |