Created
June 20, 2019 20:27
-
-
Save n0obcoder/70027dbc472527f885f4cf7cabc9a52c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_mean_shit_value(old_point, new_point): | |
mean_shift_value = np.sqrt( np.square(old_point[0] - new_point[0]) + np.square(old_point[1] - new_point[1]) ) | |
return mean_shift_value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment