Skip to content

Commit

Permalink
bug #112: window size identification fixed
Browse files Browse the repository at this point in the history
for trend change detection
  • Loading branch information
papaemman committed Sep 15, 2022
1 parent 580318c commit c6f1a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luminaire/exploration/data_exploration.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ def __init__(self,
tc_window_len_dict = {
'H': 24,
'D': 7,
'W':4
}

if freq in ['H', 'D']:
self.tc_window_length = tc_window_len_dict.get(freq)
self.tc_window_length = tc_window_len_dict.get(freq) if freq in ['H', 'D', 'W'] else None

self.tc_max_window_length = 24

Expand Down

0 comments on commit c6f1a63

Please sign in to comment.