axon_results.linfit_AP
- axon_results.linfit_AP(x_AP: <MagicMock name='mock.NDArray' id='126257861083648'>, t_AP: <MagicMock name='mock.NDArray' id='126257861083648'>) <MagicMock name='mock.poly1d.__or__()' id='126257858803088'>[source]
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