Struct sdr::cic::CIC [] [src]

pub struct CIC<T: SampleType> { /* fields omitted */ }

Qth order CIC filter with decimate-by-R (and D=R).

Methods

impl<T: SampleType> CIC<T>
[src]

[src]

Create a new CIC filter of order q and downsampling ratio r.

Bitwidth is the number of bits actually used by your input data, so must be equal to or less than the size of the data type.

Note that bitwidth + ceil(Q log2 R) must <= 32.

[src]

Run the CIC filter over a block x, returning the filtered and decimated output.

Trait Implementations

Auto Trait Implementations

impl<T> Send for CIC<T> where
    <T as SampleType>::RegType: Send

impl<T> Sync for CIC<T> where
    <T as SampleType>::RegType: Sync