biophysics_fitting
❭ hay
❭ evaluation
❭ bAP
❭ check
bAP.check¶
- biophysics_fitting.hay.evaluation.bAP.check(out, voltage_traces)¶
Check for problems in the voltage trace.
This should be called after evaluating the voltage traces. it is e.g. the last step in
get()
, where it adds the checks to the output dictionary.This method checks if the voltage trace:
has at least 1 AP present.
properly returns to rest.
has no spikes before stimulus onset (in soma or dendrite).
has its last spike before the deadline.