Skip to content

Commit

Permalink
rtd-theme?
Browse files Browse the repository at this point in the history
  • Loading branch information
aewallin committed Nov 27, 2023
1 parent 56b1054 commit 546d7a9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
9 changes: 4 additions & 5 deletions allantools/allantools.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ def tdev(data, rate=1.0, data_type="phase", taus=None):
Note that TDEV has a unit of seconds.
NIST [SP1065]_ eqn (15), page 18.
Parameters
----------
data: np.array
Expand Down Expand Up @@ -164,9 +162,10 @@ def tdev(data, rate=1.0, data_type="phase", taus=None):
ns: np.array
Values of N used in mdev_phase()
Notes
-----
http://en.wikipedia.org/wiki/Time_deviation
References
----------
* http://en.wikipedia.org/wiki/Time_deviation
* NIST [SP1065]_ eqn (15), page 18.
"""
phase = input_to_phase(data, rate, data_type)
(taus, md, mde, ns) = mdev(phase, rate=rate, taus=taus)
Expand Down
27 changes: 14 additions & 13 deletions allantools/noise_kasdin.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,21 @@ class Noise(object):
qd: float
discrete variance
b: float
noise type
+----+--------------------------------------------+
| b | noise type |
+====+============================================+
| 0 | White Phase Modulation (WPM) |
+----+--------------------------------------------+
| -1 | Flicker Phase Modulation (FPM) |
+----+--------------------------------------------+
| -2 | White Frequency Modulation (WFM) |
+----+--------------------------------------------+
| -3 | Flicker Frequency Modulation (FFM) |
+----+--------------------------------------------+
| -4 | Random Walk Frequency Modulation (RWFM) |
+----+--------------------------------------------+
+----+--------------------------------------------+
| b | noise type |
+====+============================================+
| 0 | White Phase Modulation (WPM) |
+----+--------------------------------------------+
| -1 | Flicker Phase Modulation (FPM) |
+----+--------------------------------------------+
| -2 | White Frequency Modulation (WFM) |
+----+--------------------------------------------+
| -3 | Flicker Frequency Modulation (FFM) |
+----+--------------------------------------------+
| -4 | Random Walk Frequency Modulation (RWFM) |
+----+--------------------------------------------+
Returns
-------
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ scipy
numpydoc
matplotlib
pytest
sphinx_rtd_theme

0 comments on commit 546d7a9

Please sign in to comment.