Esempio n. 1
0
 internal static extern void digital_demodulate(Types.ModulationScheme ms, Complex[] modulated, int length, int *output);
Esempio n. 2
0
 internal static extern void digital_modulate(Types.ModulationScheme ms, int[] symbols, int length, Complex *output);
Esempio n. 3
0
 internal static extern int digital_get_max_symbol(Types.ModulationScheme ms);
Esempio n. 4
0
 public Modem(int modem_scheme)
 {
     this._scheme             = (Types.ModulationScheme)modem_scheme;
     this._constellation_size = libliquid.digital_get_max_symbol(this._scheme);
 }
Esempio n. 5
0
 public static int GetBitsPerSymbol(Types.ModulationScheme scheme)
 {
     return((int)(Math.Log(libliquid.digital_get_max_symbol(scheme)) / Math.Log(2)));
 }
Esempio n. 6
0
 public static int GetConstellationSize(Types.ModulationScheme scheme)
 {
     return(libliquid.digital_get_max_symbol(scheme));
 }