#include <modulationschemes.h>
Inheritance diagram for simthlib::PhaseAmplitudeConstellationDiagram:
Public Member Functions | |
PhaseAmplitudeConstellationDiagram (int bitsPerAmpl, int bitsPerPhase) | |
virtual | ~PhaseAmplitudeConstellationDiagram () |
int | bitsPerAmpl () const |
int | numAmplitudes () const |
int | bitsPerPhase () const |
int | numPhases () const |
virtual double | deltaPhase () const |
double | getPhase (unsigned symbolIndex) const |
double | getAmplitude (unsigned symbolIndex) const |
int | getSymbolIndex (int amplIndex, int phaseIndex) const |
int | getAmplIndex (int symbolIndex) const |
int | getPhaseIndex (int symbolIndex) const |
Protected Member Functions | |
virtual void | setComplSymbols (int symbolIndex, simth::Complex newValue) |
void | setDeltaPhase (double newDeltaPhase) |
Classes | |
struct | PolarComplex |
|
|
|
|
|
|
|
|
|
Returns the phase difference between two (in phase direction) neighbouring complex symbols. |
|
Returns the amplitde index that corresponds to the symbol index given as argument. |
|
Returns the amplitude (norm) of the complex symbol corresponding to the given symbol index. |
|
Returns the phase of the complex symbol corresponding to the given symbol index. |
|
Returns the phase index that corresponds to the symbol index given as argument. |
|
Returns the symbol index that corresponds to the amplitude and phase index given as arguments. |
|
|
|
|
|
|
|
|