diff --git a/pykirdy/driver/kirdy.py b/pykirdy/driver/kirdy.py index cb7d653..005424c 100644 --- a/pykirdy/driver/kirdy.py +++ b/pykirdy/driver/kirdy.py @@ -140,8 +140,10 @@ class FilterConfig: return "Sinc3" class Sinc3WithFineODR(): + upper_limit = 31250 + lower_limit = 1.907465 def __init__(self, rate): - assert rate >= 1.907465 and rate <= 31250 + assert rate >= self.lower_limit and rate <= self.upper_limit self.rate = float(rate) def _odr_type(self):