def get_spectrogram():
 from .utils import check_version
 if check_version('scipy', '0.16.0'):
  from scipy.signal import spectrogram
 else:
  spectrogram = _spectrogram
 return spectrogram

def get_spectrogram ( ) : from . utils import check_version if check_version ( 'scipy' , '0.16.0' ) : from scipy . signal import spectrogram else : spectrogram = _spectrogram return spectrogram
helper function to get relevant spectrogram .