def getRMSBins(data, chunk=64):
 bins = []
 i = chunk
 while (i <= len(data)):
  r = getRMS(data[(i - chunk):i])
  bins.append(r)
  i += chunk
 return np.array(bins)

def getRMSBins ( data , chunk = 64 ) : bins = [ ] i = chunk while ( i <= len ( data ) ) : r = getRMS ( data [ ( i - chunk ) : i ] ) bins . append ( r ) i += chunk return np . array ( bins )
return rms in bins of chunk samples .