Skip to main content

transmit

Function transmit 

Source
pub fn transmit(
    ofdm: &Ofdm,
    grid: &ResourceGrid,
    streams: Vec<Vec<C64>>,
    rng: &mut Rng,
) -> Result<(Vec<Vec<C64>>, OfdmFrame)>
Expand description

Map the symbols of every antenna on resource grids and modulate them (see the module): the samples of every antenna and the frame.

ยงErrors

comnum_core::Error::Shape for antennas of different lengths, comnum_core::Error::Config for a grid without data resource element, a grid whose width is not the number of active subcarriers, or a DFT-spread modulator (the pilots of the grid are resource elements), and the errors of the modulator.