Skip to content

Commit

Permalink
Make parameter name consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
JarnoRFB committed Jul 23, 2019
1 parent ea05e4a commit c9ccf44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions epysurv/models/timepoint/rki.py
Expand Up @@ -16,19 +16,19 @@ class RKI(STSBasedAlgorithm):
----------
years_back
How many years back in time to include when forming the base counts.
window_half_size
window_half_width
Number of weeks to include before and after the current week in each year.
include_recent_year
Is a boolean to decide if the year of timePoint also contributes w reference values.
"""
years_back: int = 0
window_half_size: int = 6
window_half_width: int = 6
include_recent_year: bool = True

def _call_surveillance_algo(self, sts, detection_range):
control = r.list(range=detection_range,
b=self.years_back,
w=self.window_half_size,
w=self.window_half_width,
actY=self.include_recent_year)

surv = surveillance.rki(sts, control=control)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -10,7 +10,7 @@

setup(
name=package,
version="0.0.2",
version="0.0.3",
description="Epidemiological surveillance in Python.",
long_description=long_description,
author="Rüdiger Busche",
Expand Down

0 comments on commit c9ccf44

Please sign in to comment.