- #1
Nick.Kallas
- 8
- 0
I have posted this question before but I don't think I was clear on what i was trying to do exactly. I am trying to simulate a set of muon detecting drift tubes in 2d space. I have 2 sets of detector tubes (shown as black circles in the image), a particle trajectory goes through all tubes instantaneously (represented as a blue line 2 shown), if a particle passes through the tube you can tell how far from the center of the tube the particle was but not in what direction this closest point was (The closest point in the trajectory is represented omnidirectionaly as a colored circle). Using the information about how close the particle was to the center of the respective tubes it passed through, i need to recreate the trajectory of the particle. Fundamentally I am given one set of colored circles and need to find the best fit line that is tangent to all the circles. Since this data is represented as the distance from the center of a tube to the trajectory without any directional data (i.e. no θ) I believe a linear regression must be preformed in polar coordinates.
If anyone could point me in the right direction it would be greatly appreciated. I am trying to implement this in MATLAB so i cannot use any external programs.
Let me know if i need to clarify anything else about the problem.