def get_percentages_values(signal, fs, plot=True):
	"""
	Returns percentages of being on each of four parts of board.

	Input:
	signal 	-- 2-dim array with shape (channel, samples) 
			   (index 0 - samples from channel x, index 1 - samples from channel y)
	fs 		-- float -- sampling frequency

	Output:
		top_right 		-- float
		top_left		-- float
		bottom_right	-- float
		bottom_left		-- float
	"""

	p, xedges, yedges = get_percentages_being(signal, fs, plot=plot)
	top_right = 0
	top_left = 0
	bottom_right = 0
	bottom_left = 0
	for j,x in enumerate(xedges[1:-1]):
		for i,y in enumerate(yedges[1:-1]):
			if x > 0 and y > 0:
				top_right += p[j,i]
			elif x < 0 and y > 0:
				top_left += p[j,i]
			elif x < 0 and y < 0:
				bottom_left += p[j,i]
			elif x > 0 and y < 0:
				bottom_right += p[j,i]
	return top_right, top_left, bottom_right, bottom_left