Preamble definition.
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
equals(Preamble pre) |
|
static Preamble |
getNone() Create a preamble with an empty user-defined signal. |
|
float[] |
getSignal() Gets the user-defined signal. |
|
static Preamble |
hfmDownSweep(int len) Create a preamble with a hyperbolic frequency modulated down-sweep. |
|
static Preamble |
hfmDownSweep(int len, int sps) Create a preamble with a hyperbolic frequency modulated down-sweep. |
|
static Preamble |
hfmDownSweep(int len, int sps, float fc) Create a preamble with a hyperbolic frequency modulated down-sweep. |
|
static Preamble |
hfmUpSweep(int len) Create a preamble with a hyperbolic frequency modulated up-sweep. |
|
static Preamble |
hfmUpSweep(int len, int sps) Create a preamble with a hyperbolic frequency modulated up-sweep. |
|
static Preamble |
hfmUpSweep(int len, int sps, float fc) Create a preamble with a hyperbolic frequency modulated up-sweep. |
|
static Preamble |
janus() Create a JANUS preamble. |
|
static Preamble |
mseq(int len) Create a preamble with a m-sequence. |
|
static Preamble |
mseq(int len, int sps) Create a preamble with a m-sequence. |
|
static Preamble |
mseq(int len, int sps, float fc) Create a preamble with a m-sequence. |
|
static Preamble |
none() Create a preamble with an empty user-defined signal. |
|
void |
setSignal(float[] signal) Sets a user-defined signal. |
|
String |
toInitString() Creates a Java-like string representation of the preamble. |
|
String |
toString() |
Create a preamble with an empty user-defined signal.
Create a preamble with a user-defined signal.
signal
- baseband signal in I, Q formatCreate a preamble with an empty user-defined signal.
Gets the user-defined signal.
Create a preamble with a hyperbolic frequency modulated down-sweep.
len
- length of the sweep in baseband samplesCreate a preamble with a hyperbolic frequency modulated down-sweep.
len
- length of the sweep in baseband samplessps
- number of samples per symbolCreate a preamble with a hyperbolic frequency modulated down-sweep.
len
- length of the sweep in baseband samplessps
- number of samples per symbolfc
- normalized relative carrier frequency
(0 = baseband carrier, normalized by baseband sampling rate)Create a preamble with a hyperbolic frequency modulated up-sweep.
len
- length of the sweep in baseband samplesCreate a preamble with a hyperbolic frequency modulated up-sweep.
len
- length of the sweep in baseband samplessps
- number of samples per symbolCreate a preamble with a hyperbolic frequency modulated up-sweep.
len
- length of the sweep in baseband samplessps
- number of samples per symbolfc
- normalized relative carrier frequency
(0 = baseband carrier, normalized by baseband sampling rate)Create a JANUS preamble.
Create a preamble with a m-sequence.
len
- length of the m-sequence in baseband samplesCreate a preamble with a m-sequence.
len
- length of the m-sequence in baseband samplessps
- number of samples per symbolCreate a preamble with a m-sequence.
len
- length of the m-sequence in baseband samplessps
- number of samples per symbolfc
- normalized relative carrier frequency
(0 = baseband carrier, normalized by baseband sampling rate)Create a preamble with an empty user-defined signal.
Sets a user-defined signal.
signal
- baseband signal in I, Q formatCreates a Java-like string representation of the preamble.
Copyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd