pub struct Coherency(pub [[C64; 2]; 2]);Expand description
A 2×2 coherency (polarization) matrix J = ⟨p pᴴ⟩ in the (θ̂, φ̂) basis, normalised to unit
trace (it describes the shape of the polarization; power is carried separately).
Tuple Fields§
§0: [[C64; 2]; 2]Implementations§
Source§impl Coherency
impl Coherency
Sourcepub fn from_jones(p: [C64; 2]) -> Self
pub fn from_jones(p: [C64; 2]) -> Self
A fully polarized state with Jones vector p (normalised here).
Sourcepub fn unpolarized() -> Self
pub fn unpolarized() -> Self
Unpolarized: ½ I.
Sourcepub fn rhcp_incoming(convention: TimeConvention) -> Self
pub fn rhcp_incoming(convention: TimeConvention) -> Self
A wave arriving from the direction with right-hand circular polarization (IEEE, with
respect to its own propagation, i.e. -r̂).
Sourcepub fn lhcp_incoming(convention: TimeConvention) -> Self
pub fn lhcp_incoming(convention: TimeConvention) -> Self
A wave arriving from the direction with left-hand circular polarization.
pub fn trace(&self) -> f64
Sourcepub fn degree_of_polarization(&self) -> f64
pub fn degree_of_polarization(&self) -> f64
The degree of polarization √(1 - 4 det J) (0 unpolarized, 1 fully polarized).
Trait Implementations§
impl Copy for Coherency
impl StructuralPartialEq for Coherency
Auto Trait Implementations§
impl Freeze for Coherency
impl RefUnwindSafe for Coherency
impl Send for Coherency
impl Sync for Coherency
impl Unpin for Coherency
impl UnsafeUnpin for Coherency
impl UnwindSafe for Coherency
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