Skip to content

Commit 8c04845

Browse files
committed
Merge branch 'release/0.6'
2 parents 551153a + 4b14bcb commit 8c04845

27 files changed

+53553
-60551
lines changed

bfast/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from .models import BFASTMonitor
22

33

4-
__version__ = '0.5'
5-
4+
__version__ = '0.6'

bfast/base.py

+10-9
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,35 @@
22
Created on Oct 15, 2019
33
44
@author: fgieseke
5-
'''
5+
'''
66

77
from abc import ABC
88
from abc import abstractmethod
9-
9+
1010
class BFASTMonitorBase(ABC):
11-
11+
1212
def __init__(
1313
self,
1414
start_monitor,
1515
freq=365,
1616
k=3,
1717
hfrac=0.25,
1818
trend=True,
19-
level=0.05,
19+
level=0.05,
20+
period=10,
2021
verbose=0,
2122
):
22-
23+
2324
self.start_monitor = start_monitor
2425
self.freq = freq
2526
self.k = k
2627
self.hfrac = hfrac
2728
self.trend = trend
2829
self.level = level
30+
self.period = period
2931
self.verbose = verbose
3032

31-
@abstractmethod
33+
@abstractmethod
3234
def fit(self, y):
33-
34-
raise Exception("Function 'fit' not implemented!")
35-
35+
36+
raise Exception("Function 'fit' not implemented!")

0 commit comments

Comments
 (0)