We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b350b7b commit 1e69e3cCopy full SHA for 1e69e3c
1 file changed
stumpy/motifs.py
@@ -217,6 +217,10 @@ def motifs(
217
max_motifs : int, default 1
218
The maximum number of motifs to return
219
220
+ atol : float, default 1e-8
221
+ The absolute tolerance parameter. This value will be added to `max_distance`
222
+ when comparing distances between subsequences.
223
+
224
normalize : bool, default True
225
When set to `True`, this z-normalizes subsequences prior to computing distances.
226
Otherwise, this function gets re-routed to its complementary non-normalized
@@ -299,6 +303,7 @@ def motifs(
299
303
cutoff,
300
304
max_matches,
301
305
max_motifs,
306
+ atol=atol,
302
307
)
308
309
return motif_distances, motif_indices
0 commit comments