pub struct Psk8Demodulator { /* private fields */ }
Expand description
8PSK demodulator.
Assumes the same mapping as the Psk8Modulator. Demodulates symbols into LLRs using the exact formula implemented with the max-* function.
Implementations§
Source§impl Psk8Demodulator
impl Psk8Demodulator
Sourcepub fn new(noise_sigma: f64) -> Psk8Demodulator
pub fn new(noise_sigma: f64) -> Psk8Demodulator
Creates a new 8PSK demodulator.
The noise_sigma
indicates the channel noise standard deviation. The
channel noise is assumed to be a circularly symmetric Gaussian with mean
zero and standard deviation noise_sigma
in its real part and imaginary
part (the total variance is 2 * noise_sigma * noise_sigma
.
Trait Implementations§
Source§impl Clone for Psk8Demodulator
impl Clone for Psk8Demodulator
Source§fn clone(&self) -> Psk8Demodulator
fn clone(&self) -> Psk8Demodulator
Returns a duplicate of the value. Read more
1.0.0 · 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 Psk8Demodulator
impl Debug for Psk8Demodulator
Source§impl Default for Psk8Demodulator
impl Default for Psk8Demodulator
Source§fn default() -> Psk8Demodulator
fn default() -> Psk8Demodulator
Returns the “default value” for a type. Read more
Source§impl Demodulator for Psk8Demodulator
impl Demodulator for Psk8Demodulator
Auto Trait Implementations§
impl Freeze for Psk8Demodulator
impl RefUnwindSafe for Psk8Demodulator
impl Send for Psk8Demodulator
impl Sync for Psk8Demodulator
impl Unpin for Psk8Demodulator
impl UnwindSafe for Psk8Demodulator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more