yt.utilities.math_utils.euclidean_dist(a, b)[source]¶Find the Euclidean distance between two points.
| Parameters: | a : array or list
b : array or list
|
|---|
Examples
>>> a = [0.1, 0.1, 0.1]
>>> b = [0.9, 0,9, 0.9]
>>> period = 1.
>>> dist = euclidean_dist(a, b)
>>> dist
1.38564064606