import math


def _scale_uniform_param(snr, data):
	"""
	A helper function to convert given uniform parameters in SNR dB according
	to desired standard deviation, and scale to correct values according 
	to given data set features.
	"""
	return math.sqrt(3 * data.std()**2 / math.pow(10, snr / 10.0))