def MAVS(data1, data2):
	"""
	Mean Absolute Value Slope: the difference between MAVs in adjacent 
		segments.
	
	Parameters
	----------
		data1: array-like
			2D matrix of shape (time, data)
		data2: array-like
			2D matrix of shape (time, data) of subsequent segment to x1
		
	Returns
	-------
		MAVSlope: 1D numpy array containing MAV for adjacent signals
		
	Reference
	---------
		Hudgins, B., Parker, P., & Scott, R. N. (1993). A new strategy 
		for multifunction myoelectric control. IEEE Transactions on 
		Bio-Medical Engineering, 40(1), 82–94.
	"""
	
	MAV1Data = sum(abs(data1))/len(data1)
	MAV2Data = sum(abs(data2))/len(data2)
	
	MAVSlope = MAV2Data - MAV1Data
	
	return MAVSlope