mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 14:30:34 +00:00
use BPSK for the pilot blocks
This commit is contained in:
parent
463836c41f
commit
fa1cc128be
1 changed files with 2 additions and 6 deletions
|
|
@ -128,12 +128,8 @@ struct Encoder
|
|||
value code_fac = std::sqrt(value(symbol_len) / value(code_cols));
|
||||
for (int i = 0; i < symbol_len; ++i)
|
||||
fdom[i] = 0;
|
||||
for (int i = code_off; i < code_off + code_cols; ++i) {
|
||||
int8_t tmp[Mod::BITS];
|
||||
for (int k = 0; k < Mod::BITS; ++k)
|
||||
tmp[k] = nrz(seq2());
|
||||
fdom[bin(i)] = code_fac * Mod::map(tmp);
|
||||
}
|
||||
for (int i = code_off; i < code_off + code_cols; ++i)
|
||||
fdom[bin(i)] = code_fac * nrz(seq2());
|
||||
symbol();
|
||||
}
|
||||
void schmidl_cox()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue