Utilities/maths/math_utils.py
def percentile_range(data, low=5, high=95):
	"""[Calculates the range between the low and high percentiles]
	"""

	lowp = np.percentile(data, low)
	highp = np.percentile(data, high)
	median = np.median(data)
	mean = np.mean(data)
	std = np.std(data)
	sem = stats.sem(data)

	res = namedtuple("percentile", "low median mean high std sem")
	return res(lowp, median, mean, highp, std, sem)
[Calculates the range between the low and high percentiles]
	
[Calculates the range between the low and high percentiles]
[ Calculates the range between the low and high percentiles ]
def percentile_range(data, low=5, high=95):
	lowp = np.percentile(data, low)
	highp = np.percentile(data, high)
	median = np.median(data)
	mean = np.mean(data)
	std = np.std(data)
	sem = stats.sem(data)
	res = namedtuple("percentile", "low median mean high std sem")
	return res(lowp, median, mean, highp, std, sem)
def percentile_range ( data , low = 5 , high = 95 ) : lowp = np . percentile ( data , low ) highp = np . percentile ( data , high ) median = np . median ( data ) mean = np . mean ( data ) std = np . std ( data ) sem = stats . sem ( data ) res = namedtuple ( "percentile" , "low median mean high std sem" ) return res ( lowp , median , mean , highp , std , sem )
[Calculates the range between the low and high percentiles]
[ Calculates the range between the low and high percentiles ]
"""[Calculates the range between the low and high percentiles]
	"""
data
low
high