myelinated_results.is_AP_in_timeframe

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

Return true if AP has reached it’s last position (in both direction) within the simulation timeframe, else False

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

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

Returns:

true if AP has reached its last position (in both direction) within the simulation timeframe, else False

Return type:

bool