myelinated_results.get_interAPs_collision

myelinated_results.get_interAPs_collision(x_AP1: <MagicMock name='mock.NDArray' id='139958334109072'>, t_AP1: <MagicMock name='mock.NDArray' id='139958334109072'>, x_AP2: <MagicMock name='mock.NDArray' id='139958334109072'>, t_AP2: <MagicMock name='mock.NDArray' id='139958334109072'>) 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