def get_centers(bins):
	"""Return the center of the provided bins.

	Example:
	>>> get_centers(bins=np.array([0.0, 1.0, 2.0]))
	array([0.5, 1.5])
	"""	
	bins = bins.astype(float)
	return (bins[:-1] + bins[1:]) / 2