pub enum MaskKind {
Octanary,
UniformPhase,
Rademacher,
}Expand description
Distribution from which coded-diffraction mask entries are drawn.
Variants§
Octanary
Octanary masks of Candès et al.: d = b1 · b2 with b1 ∈ {1, −1, i, −i} and
b2 ∈ {√2/2, √3} (used in the CDP phase-retrieval guarantees).
UniformPhase
Uniform-phase unit-modulus masks d = exp(iθ), θ ∼ U[0, 2π).
Rademacher
Real Rademacher masks d ∈ {1, −1} (no imaginary part).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MaskKind
impl RefUnwindSafe for MaskKind
impl Send for MaskKind
impl Sync for MaskKind
impl Unpin for MaskKind
impl UnsafeUnpin for MaskKind
impl UnwindSafe for MaskKind
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