mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Use the standard value of 3.5 in the outlier test
This commit is contained in:
parent
6b75442312
commit
8cb8d97ee2
@ -51,7 +51,7 @@ static QSet<int> eliminate(const QVector<qreal> &v)
|
|||||||
qreal M = MAD(w, m);
|
qreal M = MAD(w, m);
|
||||||
|
|
||||||
for (int i = 0; i < v.size(); i++)
|
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);
|
rm.insert(i);
|
||||||
|
|
||||||
return rm;
|
return rm;
|
||||||
|
Loading…
Reference in New Issue
Block a user