[time-nuts] Sample "R" script for ADEV under Linux wanted

Tom Van Baak tvb at LeapSecond.com
Sun Feb 2 23:23:58 EST 2014


>I suggest to use the TVB's
> http://www.leapsecond.com/tools/adev1.c
> C source and derive your script from it... but first, your GPSDO has
> to put out the time interval error samples or you have a reference and
> a TIC to measure your GPSDO (better this last setup).

Correct. That code, like most ADEV calculations, assumes you have phase data, and so it uses the "x" form of 
the formula. If the data is period or frequency then you use the "y" form of the formula. See: http://www.wriley.com/paper2ht.htm for details on both equations.

See also: http://leapsecond.com/tools/adev_lib.c which computes ADEV, MDEV, and HDEV from phase.

/tvb



More information about the time-nuts mailing list