pub struct FreqShifter<Flt> { /* private fields */ }
Expand description

Complex oscillator and mixer, which shifts all frequencies in an I/Q stream

Implementations

Create new FreqShifter block with 1 Hz precision and initial frequency shift of zero

Create new FreqShifter block with 1 Hz precision and given initial frequency shift in hertz

Create new FreqShifter block with given precision in hertz and an initial shift of zero

Create new FreqShifter block with given precision and shift, both in hertz

Get frequency precision in hertz

The precision can’t be changed once the block has been created. Create a new block with FreqShifter::with_precision or FreqShifter::with_precision_and_shift if you need to change the frequency precision.

Get current frequency shift

Set frequency shift

Update frequency shift

Trait Implementations

Obtain reference to ReceiverConnector
Connect Consumer to Producer
Disconnect Consumer from any connected Producer if connected
👎Deprecated since 0.2.0: method has been renamed to feed_from
Connect Consumer to Producer
👎Deprecated since 0.2.0: method has been renamed to feed_from_none
Disconnect Consumer from any connected Producer if connected
Obtain reference to SenderConnector
Connect Producer to Consumer
👎Deprecated since 0.2.0: method has been renamed to feed_into
Connect Producer to Consumer

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.