Skip to content

Commit

Permalink
update sphinx in docs + refactor endaq.calc.integrate to use culmulat…
Browse files Browse the repository at this point in the history
…ive_trapezoid
  • Loading branch information
jaydenpersonnat committed May 30, 2024
1 parent 9531a7c commit fe7be3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Sphinx==4.2.0
Sphinx>=5.0.2
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
Expand Down
2 changes: 1 addition & 1 deletion endaq/calc/integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _integrate(
dt = utils.sample_spacing(df)

result = df.apply(
functools.partial(scipy.integrate.cumtrapz, dx=dt, initial=0),
functools.partial(scipy.integrate.cumulative_trapezoid, dx=dt, initial=0),
axis=0,
raw=True,
)
Expand Down

0 comments on commit fe7be3b

Please sign in to comment.