Hi,
I’m having difficulty calculating the orientation of the dwell points given the catheter path and the dwell positions on it in some x-y-z coordinate system. My current approach involves fitting a spline to the catheter coordinates, finding the closest catheter coordinate to each dwell point, and then using the derivative of the spline at that point as the potential direction vector. My question is: Would the angles theta and phi be calculated as follows?
Does this seem correct? My endpoint is to know the orientation of dwell points along with its position (which i know already).