Skip to content

Commit

Permalink
new api for usage-section
Browse files Browse the repository at this point in the history
  • Loading branch information
aewallin committed Apr 6, 2016
1 parent c2f2ad4 commit e23cad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ Usage
rate = 1/float(data_interval_in_s) # data rate in Hz
taus = [1,2,4,8,16] # tau-values in seconds
# fractional frequency data
(taus_used, adev, adeverror, adev_n) = allantools.adev(frequency=fract_freqdata, rate=rate, taus=taus)
(taus_used, adev, adeverror, adev_n) = allantools.adev(fract_freqdata, data_type='freq', rate=rate, taus=taus)
# phase data
(taus_used, adev, adeverror, adev_n) = allantools.adev(phase=phasedata, rate=rate, taus=taus)
(taus_used, adev, adeverror, adev_n) = allantools.adev(phasedata, data_type='phase', rate=rate, taus=taus)

# notes:
# - taus_used may differ from taus, if taus has a non-integer multiples
Expand Down

0 comments on commit e23cad9

Please sign in to comment.