Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
87f3873
Add extra check for window size
NimaSarajpoor Mar 27, 2025
f8d6df5
update module to include extra check for self join
NimaSarajpoor Mar 27, 2025
f174ed6
add tests for warning
NimaSarajpoor Mar 28, 2025
f611339
revise comment
NimaSarajpoor Mar 28, 2025
c2073ef
ignore coverage
NimaSarajpoor Mar 28, 2025
6c69155
minor improvement in docstring
NimaSarajpoor Mar 28, 2025
e63860c
fix flake8
NimaSarajpoor Mar 28, 2025
91f767e
Revised test function using expected signature
NimaSarajpoor Mar 29, 2025
ab411aa
fixed format
NimaSarajpoor Mar 29, 2025
b7494d9
Revise function to pass test
NimaSarajpoor Mar 30, 2025
3c87e0d
Update stumpy/core.py
NimaSarajpoor Mar 30, 2025
252d52b
improve comments
NimaSarajpoor Mar 30, 2025
8e5d9af
improve readability of function
NimaSarajpoor Mar 30, 2025
113b5c5
minor improvement in the description of param
NimaSarajpoor Mar 30, 2025
82caebb
remove redundant test function
NimaSarajpoor Mar 30, 2025
f29732f
Revise logic and the comment
NimaSarajpoor Mar 31, 2025
6f308a3
improving comments
NimaSarajpoor Mar 31, 2025
77b878b
minor change
NimaSarajpoor Mar 31, 2025
2c68716
minor change in comment
NimaSarajpoor Apr 1, 2025
643b4b0
minor change in comment
NimaSarajpoor Apr 1, 2025
a15b757
update aamp for checking window size
NimaSarajpoor Apr 1, 2025
316bf07
improve docstring and comments
NimaSarajpoor Apr 2, 2025
9f71816
improve docstring
NimaSarajpoor Apr 2, 2025
445a6cb
use smaller input to make test function more understandable
NimaSarajpoor Apr 2, 2025
7751792
updated stumped and aamped
NimaSarajpoor Apr 2, 2025
8bff40b
updated maamp and maamped modules
NimaSarajpoor Apr 2, 2025
f0cbfae
update different modules to consider the change in core.check_window_…
NimaSarajpoor Apr 2, 2025
aa61b24
minor fix
NimaSarajpoor Apr 2, 2025
9349e2a
improve comments
NimaSarajpoor Apr 2, 2025
54cd2fa
improve comments
NimaSarajpoor Apr 2, 2025
917fcc4
improved the explanations
NimaSarajpoor Apr 2, 2025
be4d6bb
minor change in the description of function
NimaSarajpoor Apr 2, 2025
97e6f2b
improve the clarity of the logic
NimaSarajpoor Apr 5, 2025
32a15f3
improve comment
NimaSarajpoor Apr 5, 2025
90d3901
improve description of function
NimaSarajpoor Apr 5, 2025
17e2db9
minor change
NimaSarajpoor Apr 5, 2025
0a25af1
improve readability and consistency
NimaSarajpoor Apr 5, 2025
e29cdca
minor change
NimaSarajpoor Apr 5, 2025
949db7e
minor changes
NimaSarajpoor Apr 5, 2025
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
2 changes: 1 addition & 1 deletion stumpy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ def check_window_size(m, max_size=None, n=None):
# For any `i` and its corresponding `jmax`, we have:
# |i - jmax| >= d > excl_zone

# The minimum |i - jmax| is achieved when `S_i` is the middle ubsequence,
# The minimum |i - jmax| is achieved when `S_i` is the middle subsequence,
# i.e. i == int(ceil((n - m) / 2)), and its corresponding jmax is 0. Hence,
# we just need to make sure the following inequity is satisfied:
# |int(ceil((n - m) / 2)) - 0| > excl_zone`
Expand Down