Structure WaveForm

WaveForm specification.

Namespace: dsp::telecom

Fields list

fr : sptr< nfr::FormeOnde >

Methods list

dsp::telecom::WaveForm::WaveForm(sptr<nfr::FormeOnde> fo)

Veccf make_symbols(const BitStream &bs)
Generation of I/Q symbols from a binary stream.

Veccf make_samples(const BitStream &bs, int ntaps, int osf, float &delay)
Generation of I/Q samples from a binary stream (including upsampling and shaping filter).

sptr<CtxGen> get_contexte_tx(int ncoefs, int osf)

void decode_symbols(BitStream &bs, const Veccf &x)
Decoding of I/Q symbols to binary sequence.

cfloat get_symbol(unsigned int i) const
Returns the symbol number i from the constellation, as a complex value.

int closest_symbol(const cfloat &point) const
Returns the index to the closest symbol in the constellation.

float ber(float EbN0_dB)
Theoretical binary error rate (ber), for this waveform, as a function of the normalized SNR.

Vecf ber(const Vecf &EbN0_dB)
Theoretical binary error rate (ber), for this waveform, as a function of the normalized SNR.

Veccf constellation() const
Returns all the points of the constellation.

float excursion() const
Get frequency excursion fréquentielle, in multiple of symbol frequency.

string desc() const
A short description of this waveform.

Infos get_infos() const
Get waveform informations.

void set_shaping_filter(const ShapingFilterSpec &spec)
Change the shaping filter.

ShapingFilterSpec get_shaping_filter() const
Read shaping filter specifications.