Skip to content

Commit

Permalink
adjust tmax values to start at tmin+inc and go all the way to tend
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMBury committed Aug 22, 2022
1 parent 3a0d320 commit b54d07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ewstools/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def apply_classifier_inc(self, classifier, inc=10, name='c1', verbose=1):
tend = self.state.index[-1] if not self.transition else self.transition

# Tmax values for each time series segment
tmax_vals = np.arange(tmin, tend, inc)
tmax_vals = np.arange(tmin+inc, tend+inc, inc)
for tmax in tmax_vals:
self.apply_classifier(classifier, name=name, tmin=tmin, tmax=tmax,
verbose=verbose)
Expand Down

0 comments on commit b54d07e

Please sign in to comment.