mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
Add SNR to detection stash data
This commit is contained in:
parent
bdcc7a2ed3
commit
261496303e
1 changed files with 4 additions and 1 deletions
|
@ -52,19 +52,22 @@ function update_data() {
|
|||
delay = [];
|
||||
doppler = [];
|
||||
timestamp = [];
|
||||
snr = [];
|
||||
for (var i = 0; i < map.length; i++)
|
||||
{
|
||||
for (var j = 0; j < map[i].delay.length; j++)
|
||||
{
|
||||
delay.push(map[i].delay[j]);
|
||||
doppler.push(map[i].doppler[j]);
|
||||
snr.push(map[i].snr[j]);
|
||||
timestamp.push(map[i].timestamp);
|
||||
}
|
||||
}
|
||||
output = {
|
||||
timestamp: timestamp,
|
||||
delay: delay,
|
||||
doppler: doppler
|
||||
doppler: doppler,
|
||||
snr: snr
|
||||
};
|
||||
} catch (e) {
|
||||
console.error(e.message);
|
||||
|
|
Loading…
Reference in a new issue