[time-nuts] Histogram of T2 arrival times
Hal Murray
hmurray at megapathdsl.net
Fri Jul 29 23:12:46 UTC 2016
holrum at hotmail.com said:
> te a histogram of the values (along with the average and standard
> deviation). I'm now using the peak histogram bin(s) to determine the
> message offset time. The histogram technique has the advantage of ignoring
> outlier points that can be caused by the system being tied up / interrupted
> doing other things (like shoving a Windows 10 upgrade up your systems' rear
> I/O port ;-()
How do you determine the bin size?
ntpd has an interesting filter in that area. For refclocks where it has many
samples, it sorts them, then discards roughly 1/3 of them as outliers. The
code is simple. Compute the average then check the first and last samples to
see which is farther away. Drop it, iterate.
--
These are my opinions. I hate spam.
More information about the Time-nuts_lists.febo.com
mailing list