text: # -*- coding: utf-8 -*-
  """
  computes the spectral crest from the magnitude spectrum
  
    Args:
      X: spectrogram (dimension FFTLength X Observations)
      f_s: sample rate of audio data
  
    Returns:
      v spectral crest factor
  """
    
      
  def FeatureSpectralCrestFactor(X,f_s):   
      
      norm = X.sum(axis=0)
      norm[norm == 0] = 1
  
      vtsc = X.max(axis = 0)/norm;
      
      return (vtsc)