efel.pyfeatures.pyfeatures¶
Functions
|
|
|
|
Time constant for an ion channel activation trace. |
|
The number of bursts. |
|
|
Get current trace |
Time constant for an ion channel deactivation trace. |
|
Check for a depolarization block |
|
Wrapper around the depol_block feature. |
|
|
Exponential function used in exponential fitting. |
|
|
Time constant for an ion channel inactivation trace. |
|
SlowAHP voltage from steady_state_voltage_stimend after initial burst |
|
SlowAHP voltage from voltage base after initial burst |
|
Calculate the maximum phase slope. |
|
Get spike count. |
|
Get spike count within stimulus interval. |
|
Calculate the diff between the spikes in 1st and 2nd bursts |
|
Calculate the diff between the spikes in 1st and last bursts |
|
Calculate the number of spikes per burst |
|
Calculate the diff between the spikes in each burst and the next one |
|
|
Get time trace. |
Returns np.array([0]) if there are no spikes outside stimulus boundaries. |
|
|
Get voltage trace. |
- efel.pyfeatures.pyfeatures.activation_time_constant()[source]¶
Time constant for an ion channel activation trace. Fits for stim_start to trace maximum interval as A - B * exp(-t/tau).
- Return type:
ndarray|None
- efel.pyfeatures.pyfeatures.deactivation_time_constant()[source]¶
Time constant for an ion channel deactivation trace. Fits for stim_start to stim_end as A + B * exp(-t/tau).
- Return type:
ndarray|None
- efel.pyfeatures.pyfeatures.depol_block_bool()[source]¶
Wrapper around the depol_block feature. Returns [1] if depol_block is None, [0] otherwise.
- efel.pyfeatures.pyfeatures.exp_fit(t, tau, A0, A1)[source]¶
Exponential function used in exponential fitting.
- Parameters:
t (ndarray or float) – time series
tau (float) – time constant
A0 (float) – constant added to the exponential
A1 (float) – constant multiplying the exponential
- Return type:
ndarray|float
- efel.pyfeatures.pyfeatures.inactivation_time_constant()[source]¶
Time constant for an ion channel inactivation trace. Fits for trace maximum to stim end interval as A + B * exp(-t/tau).
- Return type:
ndarray|None
- efel.pyfeatures.pyfeatures.initburst_sahp_ssse()[source]¶
SlowAHP voltage from steady_state_voltage_stimend after initial burst
- efel.pyfeatures.pyfeatures.initburst_sahp_vb()[source]¶
SlowAHP voltage from voltage base after initial burst
- efel.pyfeatures.pyfeatures.phaseslope_max()[source]¶
Calculate the maximum phase slope.
- Return type:
ndarray|None
- efel.pyfeatures.pyfeatures.spike_count_stimint()[source]¶
Get spike count within stimulus interval.
- Return type:
ndarray
- efel.pyfeatures.pyfeatures.spikes_in_burst1_burst2_diff()[source]¶
Calculate the diff between the spikes in 1st and 2nd bursts
- efel.pyfeatures.pyfeatures.spikes_in_burst1_burstlast_diff()[source]¶
Calculate the diff between the spikes in 1st and last bursts
- efel.pyfeatures.pyfeatures.spikes_per_burst_diff()[source]¶
Calculate the diff between the spikes in each burst and the next one