pub struct MagneticLoop {
pub radius: f64,
pub turns: u32,
}Expand description
A loop of radius a ≪ λ in the xy plane centred at the origin, turns turns, carrying a
uniform current I (counter-clockwise about +z). It radiates as a magnetic dipole
m = N π a² I ẑ (Balanis §5.2), in the e^{+jωt} convention:
H_r = j k a² N I cos θ / (2 r²) (1 + 1/(jkr)) e^{-jkr}H_θ = -(ka)² N I sin θ / (4 r) (1 + 1/(jkr) - 1/(kr)²) e^{-jkr}E_φ = η (ka)² N I sin θ / (4 r) (1 + 1/(jkr)) e^{-jkr}
Directivity 1.5; radiation resistance 20π² (ka)⁴ N².
Fields§
§radius: f64§turns: u32Implementations§
Source§impl MagneticLoop
impl MagneticLoop
pub fn new(radius: f64, turns: u32) -> Self
Sourcepub fn exact_radiation_resistance(&self, frequency: f64) -> f64
pub fn exact_radiation_resistance(&self, frequency: f64) -> f64
The exact radiation resistance 20π² (ka)⁴ N².
Sourcepub fn near_field(
&self,
p: &Position,
frequency: f64,
convention: TimeConvention,
) -> ([C64; 3], [C64; 3])
pub fn near_field( &self, p: &Position, frequency: f64, convention: TimeConvention, ) -> ([C64; 3], [C64; 3])
The exact (E, H) at p (spherical components) for a unit current.
Sourcepub fn near_field_containers(
&self,
domain: Arc<Domain>,
frequency: f64,
convention: TimeConvention,
) -> Result<(HarmonicField, HarmonicField), ErrorsJSL>
pub fn near_field_containers( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, ) -> Result<(HarmonicField, HarmonicField), ErrorsJSL>
The exact E and H on a spatial domain (spherical basis).
Trait Implementations§
Source§impl Antenna for MagneticLoop
impl Antenna for MagneticLoop
Source§fn far_field(
&self,
theta: f64,
_phi: f64,
frequency: f64,
convention: TimeConvention,
) -> [C64; 2]
fn far_field( &self, theta: f64, _phi: f64, frequency: f64, convention: TimeConvention, ) -> [C64; 2]
The far field
[E_θ, E_φ] in the direction (θ, φ) with e^{-jkr}/r removed (V), per
unit excitation, in vacuum.Source§fn excitation(&self) -> Excitation
fn excitation(&self) -> Excitation
What the unit excitation is.
Source§fn peak_directivity(&self, _frequency: f64) -> f64
fn peak_directivity(&self, _frequency: f64) -> f64
The peak directivity, searched on a half-degree grid.
Source§fn far_field_pattern(
&self,
domain: Arc<Domain>,
frequency: f64,
convention: TimeConvention,
) -> Result<HarmonicField, ErrorsJSL>
fn far_field_pattern( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, ) -> Result<HarmonicField, ErrorsJSL>
The far-field pattern as an electric-field container on a far-field domain (spherical basis).
Source§fn power_grid(&self, _frequency: f64) -> (usize, usize)
fn power_grid(&self, _frequency: f64) -> (usize, usize)
The
(θ nodes, φ samples) of the grid used for numerical power integration.Source§fn radiated_power(&self, frequency: f64) -> f64
fn radiated_power(&self, frequency: f64) -> f64
The radiated power
∫ |E|² / (2η) dΩ (W) for a unit excitation.Source§fn radiation_intensity(&self, theta: f64, phi: f64, frequency: f64) -> f64
fn radiation_intensity(&self, theta: f64, phi: f64, frequency: f64) -> f64
The radiation intensity
U = |E|² / (2η) (W/sr) for a unit excitation.Source§fn directivity(&self, theta: f64, phi: f64, frequency: f64) -> f64
fn directivity(&self, theta: f64, phi: f64, frequency: f64) -> f64
The directivity
4π U(θ, φ) / P_rad in a direction.Source§fn radiation_resistance(&self, frequency: f64) -> Option<f64>
fn radiation_resistance(&self, frequency: f64) -> Option<f64>
The radiation resistance
2 P / |I|² (Ω) referred to the unit excitation current, for
current-excited models.Source§fn gain_pattern(
&self,
domain: Arc<Domain>,
frequency: f64,
convention: TimeConvention,
efficiency: f64,
) -> Result<HarmonicField, ErrorsJSL>
fn gain_pattern( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, efficiency: f64, ) -> Result<HarmonicField, ErrorsJSL>
The pattern scaled so that
|E_θ|² + |E_φ|² equals the directivity times efficiency
(the gain): the normalisation the array signal models expect.Source§impl Clone for MagneticLoop
impl Clone for MagneticLoop
impl Copy for MagneticLoop
Source§impl Debug for MagneticLoop
impl Debug for MagneticLoop
Source§impl PartialEq for MagneticLoop
impl PartialEq for MagneticLoop
impl StructuralPartialEq for MagneticLoop
Auto Trait Implementations§
impl Freeze for MagneticLoop
impl RefUnwindSafe for MagneticLoop
impl Send for MagneticLoop
impl Sync for MagneticLoop
impl Unpin for MagneticLoop
impl UnsafeUnpin for MagneticLoop
impl UnwindSafe for MagneticLoop
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more