single_cell_parseranalyzemembrane_potential_analysis

membrane_potential_analysis

Analyze the membrane voltage.

Classes

RecordingSiteManager

Parse AMIRA recording sites from a .landmarkAscii file.

RecordingSite

Dataclass for a recording site.

SpikeInit

Analyze spike initiation.

Functions

vm_mean(vVec, tVec, tStim, dtStim)

Computes the mean voltage during a stimulation time window

vm_std(vVec, tVec, tStim, dtStim)

Computes the standard deviation of the voltage during a stimulation time window

compute_mean_psp_amplitude(vTraces, tStim, dt, width, t_delay)

Compute the mean amplitude of all PSPs across multiple voltage traces.

compute_vm_std_windows(vStd, tStim, dt, width, window_start_times)

Compute the standard deviation of the voltage during different time windows.

compute_vm_histogram(vTraces, bins)

Compute the histogram of membrane voltage traces.

compute_uPSP_amplitude(t, v, tSyn, isEPSP, t_width_baseline)

Compute the amplitude of a uPSP.

simple_spike_detection(t, v, tBegin, tEnd, threshold, mode)

Detect spike times in a voltage trace.

PSTH_from_spike_times(spikeTimeVectors, binSize, tBegin, tEnd, aligned)

Calculates a PSTH from spike times.