pub struct DualPol {
pub x: Vec<C64>,
pub y: Vec<C64>,
}Expand description
A field in two polarisations, x and y, of equal length.
Fields§
§x: Vec<C64>Polarisation x.
y: Vec<C64>Polarisation y.
Implementations§
Source§impl DualPol
impl DualPol
Sourcepub fn from_signal(s: &Signal) -> Result<DualPol>
pub fn from_signal(s: &Signal) -> Result<DualPol>
The field of a two-stream Signal: x its first stream, y its second (the
inverse of DualPol::to_signal).
§Errors
Error::Shape unless the signal has exactly two streams.
Trait Implementations§
impl StructuralPartialEq for DualPol
Auto Trait Implementations§
impl Forget for DualPol
impl Freeze for DualPol
impl RefUnwindSafe for DualPol
impl Send for DualPol
impl Sync for DualPol
impl Unpin for DualPol
impl UnsafeUnpin for DualPol
impl UnwindSafe for DualPol
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