biophysics_fittingephysfind_crossing_old

find_crossing_old

biophysics_fitting.ephys.find_crossing_old(v, thresh)

Original NEURON doc: Function that giving a threshold returns a list of two vectors The first is the crossing up of that threshold The second is the crossing down of that threshold

Note

Extended by Arco: returns [[],[]] if the number of crossing up vs crossing down is not equal.