single_cell_parsercellPointCell

PointCell

class single_cell_parser.cell.PointCell(spikeTimes=None)

Cell without morphological or electrophysiological features.

Used as a presynaptic spike source for synapses. Stores spike times in neuron.h.Vector and numpy.array. Requires nrn.h.VecStim to trigger spikes at specified times.

Parameters:

spikeTimes (list) – List of precomputed spike times. Used to initialize release sites with precomputed release times from presynaptic spike times (see single_cell_parser.network.activate_functional_synapse()) Defaults to None.

Attributes:

spikeTimes

list of spike times. Default=None.

Type:

list

spikeVec

hoc Vector containing spike times

Type:

neuron.h.Vector

spikes

VecStim object to use as a spike source in NetCon objects (see https://www.neuron.yale.edu/neuron/static/py_doc/modelspec/programmatic/network/netcon.html). These are initialized from spikeTimes.

Type:

neuron.h.VecStim

playing

flag indicating whether the VecStim spike source is playing

Type:

bool

synapseList

list of synapses connected to this cell.

Type:

list

Methods:

is_active()

Check if the point cell is active.

play()

Activate point cell

append(spikeT, spike_source)

Append an additional spike time to the presynaptic cell.

compute_spike_train_times(interval, noise, start, stop, nSpikes, spike_source)

Compute a simple spike train for the presynaptic cell.

_next_interval()

Calculate the next spike interval t for a simple spike train.

_add_synapse_pointer(synapse)

Add a reference to a synapse connected to this cell.

turn_off()

Turns off the spike source.