def get_sosfiltfilt():
 try:
  from scipy.signal import sosfiltfilt
 except ImportError:
  sosfiltfilt = _sosfiltfilt
 return sosfiltfilt

def get_sosfiltfilt ( ) : try : from scipy . signal import sosfiltfilt except ImportError : sosfiltfilt = _sosfiltfilt return sosfiltfilt
helper to get sosfiltfilt from scipy .