myelinated_results.linfit_AP

myelinated_results.linfit_AP(x_AP: <MagicMock name='mock.NDArray' id='139958334109072'>, t_AP: <MagicMock name='mock.NDArray' id='139958334109072'>) <MagicMock name='mock.poly1d.__or__()' id='139958332242688'>

Fit the AP with two 1D polynomial equations: one for the upward propagation, one for the downward propagation

Parameters:
  • x_AP (NDArray) – x positions of the AP

  • t_AP (NDArray) – t positions of the AP

Returns:

  • np.poly1d – AP upward direction 1D poly fit

  • np.poly1d – AP downward direction 1D poly fit