myelinated_results.get_AP_upward_len

myelinated_results.get_AP_upward_len(x_AP: <MagicMock name='mock.array' id='139958333163664'>, t_AP: <MagicMock name='mock.array' id='139958333163664'>) int

Returns the length (number of x pts) of the AP in the upward direction

Parameters:
  • x_AP (np.array) – x positions of the AP

  • t_AP (np.array) – time values of the AP

Returns:

number of AP x-pos points in the upward direction

Return type:

int