mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 14:30:34 +00:00
print residual CFO in millihertz
This commit is contained in:
parent
87eae6675a
commit
800dfb9d78
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ struct Decoder : Common
|
|||
}
|
||||
tse.compute(index, phase, tone_count);
|
||||
std::cerr << "coarse sfo: " << -1000000 * tse.slope() / Const::TwoPi() << " ppm" << std::endl;
|
||||
std::cerr << "residual cfo: " << tse.yint() * rate / (Const::TwoPi() * symbol_len) << " Hz" << std::endl;
|
||||
std::cerr << "residual cfo: " << 1000 * tse.yint() * rate / (Const::TwoPi() * symbol_len) << " mHz" << std::endl;
|
||||
for (int i = 0; i < symbol_len; ++i)
|
||||
tdom[i] = buf[i+symbol_pos+symbol_len+extended_len] * osc();
|
||||
for (int i = 0; i < guard_len; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue