def find_index_from_freq(freq, frequency_step):
	""" 
	Gives the index corresponding to a specific frequency (eg to find a frequency
	from a fourier transform list). Requires the frequency step of the list

	Arguments:
		freq - frequency being looked for
		frequency_step - the step between consecutive indexes
	"""
	index = int(round(freq/frequency_step))
	return index