efel.pyfeatures.pyfeatures

Functions

Spikecount()

Spikecount_stimint()

activation_time_constant()

Time constant for an ion channel activation trace.

burst_number()

The number of bursts.

current()

Get current trace

deactivation_time_constant()

Time constant for an ion channel deactivation trace.

depol_block()

Check for a depolarization block

depol_block_bool()

Wrapper around the depol_block feature.

exp_fit(t, tau, A0, A1)

Exponential function used in exponential fitting.

impedance()

inactivation_time_constant()

Time constant for an ion channel inactivation trace.

initburst_sahp_ssse()

SlowAHP voltage from steady_state_voltage_stimend after initial burst

initburst_sahp_vb()

SlowAHP voltage from voltage base after initial burst

phaseslope_max()

Calculate the maximum phase slope.

spike_count()

Get spike count.

spike_count_stimint()

Get spike count within stimulus interval.

spikes_in_burst1_burst2_diff()

Calculate the diff between the spikes in 1st and 2nd bursts

spikes_in_burst1_burstlast_diff()

Calculate the diff between the spikes in 1st and last bursts

spikes_per_burst()

Calculate the number of spikes per burst

spikes_per_burst_diff()

Calculate the diff between the spikes in each burst and the next one

time()

Get time trace.

trace_check()

Returns np.array([0]) if there are no spikes outside stimulus boundaries.

voltage()

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.burst_number()[source]

The number of bursts.

Return type:

ndarray

efel.pyfeatures.pyfeatures.current()[source]

Get current trace

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()[source]

Check for a depolarization block

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()[source]

Get spike count.

Return type:

ndarray

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()[source]

Calculate the number of spikes per burst

efel.pyfeatures.pyfeatures.spikes_per_burst_diff()[source]

Calculate the diff between the spikes in each burst and the next one

efel.pyfeatures.pyfeatures.time()[source]

Get time trace.

Return type:

ndarray | None

efel.pyfeatures.pyfeatures.trace_check()[source]

Returns np.array([0]) if there are no spikes outside stimulus boundaries.

Returns None upon failure.

Return type:

ndarray | None

efel.pyfeatures.pyfeatures.voltage()[source]

Get voltage trace.

Return type:

ndarray | None

Source

_autosummary/efel.pyfeatures.pyfeatures.rst