mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
Enable hamming rounding on ambiguity for big speedup
This commit is contained in:
parent
461b214f5f
commit
9d0eb44418
1 changed files with 3 additions and 2 deletions
|
@ -137,12 +137,13 @@ int main(int argc, char **argv)
|
||||||
// setup process ambiguity
|
// setup process ambiguity
|
||||||
int32_t delayMin, delayMax;
|
int32_t delayMin, delayMax;
|
||||||
int32_t dopplerMin, dopplerMax;
|
int32_t dopplerMin, dopplerMax;
|
||||||
|
bool roundHamming = true;
|
||||||
tree["process"]["ambiguity"]["delayMin"] >> delayMin;
|
tree["process"]["ambiguity"]["delayMin"] >> delayMin;
|
||||||
tree["process"]["ambiguity"]["delayMax"] >> delayMax;
|
tree["process"]["ambiguity"]["delayMax"] >> delayMax;
|
||||||
tree["process"]["ambiguity"]["dopplerMin"] >> dopplerMin;
|
tree["process"]["ambiguity"]["dopplerMin"] >> dopplerMin;
|
||||||
tree["process"]["ambiguity"]["dopplerMax"] >> dopplerMax;
|
tree["process"]["ambiguity"]["dopplerMax"] >> dopplerMax;
|
||||||
Ambiguity *ambiguity = new Ambiguity(
|
Ambiguity *ambiguity = new Ambiguity(delayMin, delayMax,
|
||||||
delayMin, delayMax, dopplerMin, dopplerMax, fs, nSamples);
|
dopplerMin, dopplerMax, fs, nSamples, roundHamming);
|
||||||
|
|
||||||
// setup process clutter
|
// setup process clutter
|
||||||
int32_t delayMinClutter, delayMaxClutter;
|
int32_t delayMinClutter, delayMaxClutter;
|
||||||
|
|
Loading…
Reference in a new issue