public abstract class ModulationPsk extends DigitalModulation
Modifier | Constructor and Description |
---|---|
protected |
ModulationPsk(int bitsPerSymbol,
double spectralEfficiency)
Create a new instance based on the given data rate and chips per bit
|
Modifier and Type | Method and Description |
---|---|
double |
computeBitErrorRate(double bitEnergyPerNoiseDensity)
A method to decode the digital signal and produce the probability that any given bit will be incorrect.
|
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
int |
getBitsPerSymbol()
Gets the number of bits per symbol.
|
double |
getSpectralEfficiency()
Gets the spectral efficiency representing the number of bits that can be represented per unit bandwidth, in bps/Hz.
|
double |
getSymbolRate(double dataRate)
Gets the rate at which symbols are transmitted, based on the rate of bits.
|
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
computeBitErrorRate
protected ModulationPsk(int bitsPerSymbol, double spectralEfficiency)
bitsPerSymbol
- The number of bits used to designate each 'symbol'.
A 'symbol' represents the behavior of the waveform over a given interval and
is used to encode information onto the signal.spectralEfficiency
- The number of bits per unit bandwidth, in bps/Hz.public double computeBitErrorRate(double bitEnergyPerNoiseDensity)
computeBitErrorRate
in class DigitalModulation
bitEnergyPerNoiseDensity
- The bit energy per noise density ratio (Eb/No).public double getSpectralEfficiency()
This specifies the bandwidth needed to represent a certain SignalDataRate
successfully.
The half-bandwidth (or base-band bandwidth) of the corresponding signal is the data rate divided by the spectral efficiency.
getSpectralEfficiency
in class DigitalModulation
public final int getBitsPerSymbol()
public final double getSymbolRate(double dataRate)
dataRate
- The data rate in bits per second.public boolean equals(Object obj)
equals
in class Object
obj
- The object to compare to this instance.true
if obj
is an instance of this type and represents the same value as this instance; otherwise false
.Object.hashCode()
,
HashMap
public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)