def _filtfilt(*args, **kwargs): # cut out filter args if len(args) > 4: args = args[:4] if 'padlen' in kwargs: del kwargs['padlen'] return sp_filtfilt(*args, **kwargs)
def _filtfilt(*args, **kwargs): # cut out filter args if len(args) > 4: args = args[:4] if "padlen" in kwargs: del kwargs["padlen"] return sp_filtfilt(*args, **kwargs)