This module defines classical waveforms (BPSK, M-PSK, FSK, QAM, ...).


Structures

struct WaveForm
WaveForm specification.

Functions

std::ostream & dsp::telecom::operator<<(std::ostream &ss, const WaveForm &t)

sptr<WaveForm> waveform_psk(unsigned int M, const ShapingFilterSpec &filtre=nrz())
Phase modulation.

sptr<WaveForm> waveform_bpsk(const ShapingFilterSpec &filtre=nrz())
Creation of a BPSK waveform.

sptr<WaveForm> waveform_ask(int M=2, float K1=-1, float K2=2, const ShapingFilterSpec &filter=nrz())
Creation of a M-ASK waveform.

sptr<WaveForm> waveform_qpsk(const ShapingFilterSpec &filter=nrz())
Creation of a QPSK waveform.

sptr<WaveForm> waveform_π4_qpsk(const ShapingFilterSpec &filter=nrz())
Creation of a π/4 - QPSK waveform.

sptr<WaveForm> waveform_qam(unsigned int M, const ShapingFilterSpec &filter=nrz())
Creation of a QAM waveform.

sptr<WaveForm> waveform_fsk(unsigned int M=2, float index=0.4, const ShapingFilterSpec &filter=nrz())
Creation of a FSK waveform.