check_test_AP

nrv.ui.check_test_AP(results_sim)[source]

Check if a test AP is correctely triggered during an axon simulation and if so return the trigger time

Parameters:

results_sim (dict) – results of axon.simulate method

Returns:

test_AP – time in ms of the first test AP during the simulation. None if no test AP found

Return type:

float or None