blueetl.external.bluecv.neuron_class

neuron_class features from BlueCV.

Functions

calculate_features_by_neuron_class(repo, ...)

Calculate features grouped by neuron_class.

get_AC(BST)

Get mean firing rate of neuronal population.

get_CPDF(ST[, bin_size])

Get complexity.

get_PSD(spiketrains[, n_segments])

Get power spectrum density of neuronal population.

get_PSTH(spiketrains, t_start, t_stop[, ...])

Get perstimulus time histogram of the selected population.

blueetl.external.bluecv.neuron_class.calculate_features_by_neuron_class(repo, key, df, params)

Calculate features grouped by neuron_class.

blueetl.external.bluecv.neuron_class.get_AC(BST)

Get mean firing rate of neuronal population.

blueetl.external.bluecv.neuron_class.get_CPDF(ST, bin_size=20)

Get complexity.

blueetl.external.bluecv.neuron_class.get_PSD(spiketrains, n_segments=2)

Get power spectrum density of neuronal population.

blueetl.external.bluecv.neuron_class.get_PSTH(spiketrains, t_start, t_stop, bin_size=20)

Get perstimulus time histogram of the selected population.

Parameters:
  • spiketrains – array containing multiple arrays of spikes

  • t_start (float) – start time

  • t_stop (float) – stop time

  • bin_size (float) – bin size in ms

Returns:

counts (np.ndarray): number of spike_times per bin in psth bins (np.ndarray): start of the bins

Return type:

a list with two items