Skip to content

Commit

Permalink
MAINT: update example in EventSeries docstring and tutorial
Browse files Browse the repository at this point in the history
- because original one had lead to trivial results and divide-by-zero warnings.
- also corrected more typos in `EventSeriesAnalysis.ipynb`
- related: #185
  • Loading branch information
fkuehlein committed Jan 9, 2024
1 parent 11dcf64 commit e19906e
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 73 deletions.
125 changes: 55 additions & 70 deletions examples/tutorials/EventSeriesAnalysis.ipynb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/pyunicorn/eventseries/event_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ def __init__(self, data, timestamps=None, taumax=np.inf, lag=0.0,
eventmatrix could look like
array([[0, 1, 0],
[0, 0, 0],
[1, 0, 1],
[0, 0, 0],
[1, 0, 1],
[0, 1, 0],
[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
[1, 0, 0],
[0, 0, 1],
[0, 1, 0],
[0, 0, 0]])
Expand Down

0 comments on commit e19906e

Please sign in to comment.