Skip to content

Instantly share code, notes, and snippets.

View stefan789's full-sized avatar

stefan789

  • Technical University München
View GitHub Profile
@stefan789
stefan789 / allan.py
Last active September 10, 2015 12:30 — forked from mgmarino/allan.py
allan deviaton
import numpy as np
def allanVar(data, sf=1):
'''
calculates allan variance
according to eq 8.13a in
David W. Allan, John H. Shoaf and Donald Halford: Statistics of Time and Frequency Data Analysis,
NBS Monograph 140, pages 151–204, 1974
'''