I have a point set in 3D and i want to pick the points that are inside the 3D shape enclosing by the boundary given as
ro(phi) = sqrt(cos(2*phi)+sqrt(1.4-(sin(2*phi))**2))
X = ro(phi) * cos(phi)
Y = ro(phi) * sin(theta) * sin(phi)
Z = ro(phi) * cos(theta) * sin(phi)
0 <= theta <= 2pi
0 <= phi <= pi
Is there a way of doing this in python environment? I would appreciate any help.