def METHOD_NAME(data,func):
	if re.search('exp', func):
		if (min(data[1])<=1):
			raise ValueError, "Output\\le1"
		return log(data[0]),log(log(data[1]))
	else:
		if (min(data[1])<=0):
			raise ValueError, "Output\\le0"
		return log(data[0]),log(data[1])