ephys¶
The content of this module is mostly a reimplementation of the Hay et.al. 2011 methods used for extracting features. See Hay et al. [2] for more information.
Functions¶
|
Check the properties of a voltage trace: |
|
Check whether anywhere in the dendritic, there is a spike before stimulus onset |
|
Returns a basic trace error that penalizes traces with low variance. |
|
Original NEURON doc: |
|
Original NEURON doc: |
|
Calculates the mean voltage between 0.5 * stim_delay and 0.75 * stim_delay. |
|
Fetch the voltage at a given time point t0 for a specific recording site ID. |
|
Counts the number of spikes in a voltage trace. |
|
Determines if an action potential (AP) is present in a voltage trace by checking if the voltage crosses a given threshold. |
|
Computes the amplitude of each action potential (AP) in a voltage trace. |
|
Calculates the action potential (AP) width given the time and voltage arrays and a threshold value. |
|
Determines whether there are at least two action potentials (APs) in the voltage trace v |
|
Calculates the absolute afterhyperpolarization (AHP) depth for a given voltage trace. |
|
Checks if there is exactly one calcium spike in the dendritic voltage trace. |
|
Checks if the number of spikes in the voltage trace is greater than or equal to 2. |
|
Checks if a calcium spike occurs after the nth sodium spike. |
|
Returns the height of the calcium spike after tstim. |
|
Calculates the width of a calcium spike action potential. |
|
Computes the ratio of the backpropagating action potential (bAP) amplitude at the soma and dendrite |
|
Checks if there is exactly one action potential in the somatic voltage trace. |
|
Computes the amplitude of the backpropagating action potential (bAP) at the dendrite. |
|
Check if there are 2 or 3 action potentials (APs) in a given voltage trace for a BAC stimulus. |
|
Checks if the membrane potential has repolarized to a certain value after a stimulus for a BAC stimulus. |
|
Computes the Inter-Spike Interval (ISI) of a voltage trace for a BAC stimulus. |
|
Computes the mean frequency of action potentials in a voltage trace for a step stimulus. |
|
Check if there are more than 2 ISIs in the trace. |
|
Calculate the adaptation index for a step current stimulus. |
|
Computes the coefficient of variation (CV) of the Inter-Spike Interval (ISI) of a voltage trace for a step stimulus. |
|
Computes the Inter-Spike Interval (ISI) for the first two spikes of a voltage trace for a step stimulus. |
|
Computes the time to first spike (TTFS) of a voltage trace for a step stimulus. |
|
Computes the average depth of the fast afterhyperpolarization (fAHP) of a voltage trace for a step stimulus. |
|
Computes the average depth of the slow afterhyperpolarization (sAHP) of a voltage trace for a step stimulus. |
|
Calculates the time of the slow afterhyperpolarization (sAHP) of a voltage trace for a step stimulus. |