Skip to content

Commit

Permalink
simpson(y, x=f)
Browse files Browse the repository at this point in the history
  • Loading branch information
aewallin committed Jul 4, 2024
1 parent 22d277d commit 92a8b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allantools/allantools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ def psd2allan(S_y, f=1.0, kind='adev', base=2):
for idx, mj in enumerate(m)])
integrand = np.insert(integrand, 0, 0.0, axis=1)
f = np.insert(f, 0, 0.0)
ad = np.sqrt(2.0 * simpson(integrand, f))
ad = np.sqrt(2.0 * simpson(integrand, x=f))
return taus_used, ad


Expand Down

0 comments on commit 92a8b61

Please sign in to comment.