unmyelinated_results.get_interAPs_collision
- unmyelinated_results.get_interAPs_collision(x_AP1: <MagicMock name='mock.NDArray' id='126257861083648'>, t_AP1: <MagicMock name='mock.NDArray' id='126257861083648'>, x_AP2: <MagicMock name='mock.NDArray' id='126257861083648'>, t_AP2: <MagicMock name='mock.NDArray' id='126257861083648'>) float
Returns the estimated collision coordinates of two APs. Returns (0,0) if the collision is out of scope.
- Parameters:
x_AP1 (NDArray) – x positions of the first AP
t_AP1 (NDArray) – t positions of the first AP
x_AP2 (NDArray) – x positions of the seconc AP
t_AP2 (NDArray) – t positions of the second AP
- Returns:
float – x position of the intersection (collision) point. Is 0 is the position is out of scope
float – t position of the intersection (collision) point. Is 0 is the position is out of scope