@@ -127,9 +127,7 @@ class DigitalFilter(ModifierBase):
127127 :math:`B = [1 - \alpha]`.
128128 """
129129
130- def __init__ (
131- self , cfg : modifier_cfg .DigitalFilterCfg , data_dim : tuple [int , ...], device : str
132- ) -> None :
130+ def __init__ (self , cfg : modifier_cfg .DigitalFilterCfg , data_dim : tuple [int , ...], device : str ):
133131 """Initializes digital filter.
134132
135133 Args:
@@ -143,9 +141,7 @@ def __init__(
143141 """
144142 # check that filter coefficients are not None
145143 if cfg .A is None or cfg .B is None :
146- raise ValueError (
147- "Digital filter coefficients A and B must not be None. Please provide valid coefficients."
148- )
144+ raise ValueError ("Digital filter coefficients A and B must not be None. Please provide valid coefficients." )
149145
150146 # initialize parent class
151147 super ().__init__ (cfg , data_dim , device )
@@ -217,9 +213,7 @@ class Integrator(ModifierBase):
217213 :math:`\Delta t` is the time step between samples.
218214 """
219215
220- def __init__ (
221- self , cfg : modifier_cfg .IntegratorCfg , data_dim : tuple [int , ...], device : str
222- ):
216+ def __init__ (self , cfg : modifier_cfg .IntegratorCfg , data_dim : tuple [int , ...], device : str ):
223217 """Initializes the integrator configuration and state.
224218
225219 Args:
0 commit comments