Previous topic

All

Next topic

Functions

This Page

Network

class neuron3d.Network(spikefile='')
display()
Plot background field
plot_points(x, y, z, spikes=[], t=0, color=(0.5, 0.5, 0.5), csize=0.013333333333333334)
Plot spheres representing each node in network
read_file_to_vector(file_name, spike_ids=None)

Read the spike data formatted from NEURON where each line is a timestamp of spike followed by a cell (or other spike generator) id that gave the spike.

Parameters:
  • file_name – Name of the spike file to read.
  • spike_ids – If specified, a subset of ids to load. This should be an sorted-ascending list.
Returns:

The data in a vector of tuples of the format (time, gid).