Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions stumpy/motifs.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ def motifs(
max_motifs : int, default 1
The maximum number of motifs to return

atol : float, default 1e-8
The absolute tolerance parameter. This value will be added to `max_distance`
when comparing distances between subsequences.

normalize : bool, default True
When set to `True`, this z-normalizes subsequences prior to computing distances.
Otherwise, this function gets re-routed to its complementary non-normalized
Expand Down Expand Up @@ -299,6 +303,7 @@ def motifs(
cutoff,
max_matches,
max_motifs,
atol=atol,
)

return motif_distances, motif_indices
Expand Down