.. py:currentmodule:: allantools .. py:module: allantools .. py:module: allantools.noise .. py:module: allantools.realtime Implemented statistics functions ================================ Low-level access to the statistics functions -------------------------------------------- The deviation functions are generally of the form:: (tau_out, adev, adeverr, n) = allantools.adev(data, rate=1.0, data_type="phase", taus=None) *Inputs:* * **data** = list of phase measurements in seconds, or list of fractional frequency measurements (nondimensional) * **rate** = sample rate of data in Hz , i.e. interval between phase measurements is 1/rate seconds. * **data_type=** = either "phase" or "freq" * **taus** = list of tau-values for ADEV computation. The keywords "all", "octave", "decade", or "log10" can also be used. *Outputs* * **tau_out** = list of tau-values for which deviations were computed * **adev** = list of ADEV (or another statistic) deviations * **adeverr** = list of estimated errors of allan deviations. some functions instead return a confidence interval (**err_l**, **err_h**) * **n** = list of number of pairs in allan computation. standard error is adeverr = adev/sqrt(n) Statistics ---------- .. autofunction:: adev .. autofunction:: oadev .. autofunction:: mdev .. autofunction:: pdev .. autofunction:: hdev .. autofunction:: ohdev .. autofunction:: tdev .. autofunction:: totdev .. autofunction:: mtotdev .. autofunction:: ttotdev .. autofunction:: htotdev .. autofunction:: theo1 .. autofunction:: mtie .. autofunction:: tierms .. autofunction:: gcodev Real-Time Statistics -------------------- .. autoclass:: oadev_realtime :members: .. autoclass:: tdev_realtime :members: .. autoclass:: ohdev_realtime :members: Noise Generation ---------------- .. autoclass:: allantools.noise_kasdin.Noise :members: .. autofunction:: allantools.noise.timmer_koenig_from_psd .. autofunction:: allantools.noise.white .. autofunction:: allantools.noise.brown .. autofunction:: allantools.noise.violet .. autofunction:: allantools.noise.pink Utilities --------- .. autofunction:: frequency2phase .. autofunction:: phase2frequency .. autofunction:: phase2radians .. autofunction:: psd2allan .. autofunction:: psd_piecewise_to_adev .. autofunction:: adev2psd_piecewise_approx .. autofunction:: tau_generator .. autofunction:: edf_simple .. autofunction:: edf_greenhall .. autofunction:: edf_totdev .. autofunction:: edf_mtotdev .. autofunction:: three_cornered_hat_phase