I have two points in 3D:
(xa, ya, za) (xb, yb, zb)
And I want to calculate the distance:
dist = sqrt((xa-xb)^2 + (ya-yb)^2 + (
Having a and b as you defined them, you can use also:
a
b
distance = np.sqrt(np.sum((a-b)**2))