Add SNR to detection stash data

This commit is contained in:
30hours 2024-03-03 00:40:25 +00:00
parent bdcc7a2ed3
commit 261496303e

View file

@ -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);