1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Use the standard value of 3.5 in the outlier test

This commit is contained in:
Martin Tůma 2020-03-25 23:19:30 +01:00
parent 6b75442312
commit 8cb8d97ee2

View File

@ -51,7 +51,7 @@ static QSet<int> eliminate(const QVector<qreal> &v)
qreal M = MAD(w, m);
for (int i = 0; i < v.size(); i++)
if (qAbs((0.6745 * (v.at(i) - m)) / M) > 5)
if (qAbs((0.6745 * (v.at(i) - m)) / M) > 3.5)
rm.insert(i);
return rm;