pub struct FaradayRotation {
pub verdet_constant: f64,
pub b_field: f64,
pub length: f64,
}Expand description
Faraday rotation parameters for a magneto-optic material.
Fields§
§verdet_constant: f64Verdet constant V [rad/(T·m)].
b_field: f64Applied magnetic field B [T].
length: f64Interaction length L [m].
Implementations§
Source§impl FaradayRotation
impl FaradayRotation
Sourcepub fn new(verdet_constant: f64, b_field: f64, length: f64) -> Self
pub fn new(verdet_constant: f64, b_field: f64, length: f64) -> Self
Construct Faraday rotation parameters.
Sourcepub fn rotation_angle(&self) -> f64
pub fn rotation_angle(&self) -> f64
Rotation angle θ = V · B · L [rad].
Sourcepub fn rotation_angle_deg(&self) -> f64
pub fn rotation_angle_deg(&self) -> f64
Rotation angle in degrees.
Sourcepub fn tgg_verdet_1064nm() -> f64
pub fn tgg_verdet_1064nm() -> f64
Verdet constant for terbium gallium garnet (TGG) at 1064 nm [rad/(T·m)].
Sourcepub fn eps_xy_estimate(&self, n: f64) -> f64
pub fn eps_xy_estimate(&self, n: f64) -> f64
Off-diagonal permittivity element ε_xy for a gyromagnetic medium.
ε_xy = i n Δn where Δn is the circular birefringence. Here we return a qualitative estimate.
Trait Implementations§
Source§impl Clone for FaradayRotation
impl Clone for FaradayRotation
Source§fn clone(&self) -> FaradayRotation
fn clone(&self) -> FaradayRotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FaradayRotation
impl Debug for FaradayRotation
impl Copy for FaradayRotation
Auto Trait Implementations§
impl Freeze for FaradayRotation
impl RefUnwindSafe for FaradayRotation
impl Send for FaradayRotation
impl Sync for FaradayRotation
impl Unpin for FaradayRotation
impl UnsafeUnpin for FaradayRotation
impl UnwindSafe for FaradayRotation
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