From c9ccf441d431cf94fb2feef4c0d06a827a380d0a Mon Sep 17 00:00:00 2001 From: JarnoRFB Date: Tue, 23 Jul 2019 18:21:17 +0200 Subject: [PATCH] Make parameter name consistent --- epysurv/models/timepoint/rki.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/epysurv/models/timepoint/rki.py b/epysurv/models/timepoint/rki.py index 0e8c2b7..3c6f1c2 100644 --- a/epysurv/models/timepoint/rki.py +++ b/epysurv/models/timepoint/rki.py @@ -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) diff --git a/setup.py b/setup.py index ae1b29a..762ceca 100644 --- a/setup.py +++ b/setup.py @@ -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",