driver: Expose the upper and lower limit settings for Sinc3WithFineODR Filter Cfg
This commit is contained in:
parent
e8d3858fc9
commit
4f19d2c2be
|
@ -140,8 +140,10 @@ class FilterConfig:
|
||||||
return "Sinc3"
|
return "Sinc3"
|
||||||
|
|
||||||
class Sinc3WithFineODR():
|
class Sinc3WithFineODR():
|
||||||
|
upper_limit = 31250
|
||||||
|
lower_limit = 1.907465
|
||||||
def __init__(self, rate):
|
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)
|
self.rate = float(rate)
|
||||||
|
|
||||||
def _odr_type(self):
|
def _odr_type(self):
|
||||||
|
|
Loading…
Reference in New Issue