def _calcPeakRange(sr,n, loFreq=200., hiFreq=2000.):
	"""
	_calcPeakRange - utility function to calculate parameters for peaks	
	inputs:
		sr - sample rate
		n  - fft length
	  loFreq - lowest peak frequency
	  hiFreq - highest peak frequency
	"""
	fftBase = sr / float(n)
	pkRange = n/2 + 1
	minPos = int(round(loFreq/fftBase))
	maxPos = int(round(hiFreq/fftBase))
	return pkRange, minPos, maxPos