def extract_key_vals (data_str):
	""" Extract key -> value pairs into a dictionary from a string
	"""
	split_str = data_str.split(':')
	key_vals = {}
	for el in split_str:
		key_val_split = el.split('>')
		if len(key_val_split) == 2:
			key_vals[key_val_split[0]] = float(key_val_split[1])
	return key_vals