This is a ROS node that is used by itself to generate CSV data files by running Brian simulations. More...
Classes | |
class | Channel |
structure for a MEA channel pad neurons: list of neurons within range of the pad total_weight: combined weights of all the neurons More... | |
class | CloseNeuron |
Data structure for a neuron that is close to a channel pad. More... | |
Functions | |
def | brianRecv |
Runs a Brian simulation "P" and records and publishes voltages captured by the multielectrode array "channels". | |
def | channelizer |
Populates a 60-channel list using data from an x,y map. | |
Variables | |
tuple | channels = channelizer(pad_neuron_map) |
tuple | connections = Unpickler(connections_file) |
tuple | connections_file = open(connections_file_name) |
tuple | connections_file_name = rospy.get_param('brian_connections_file_path') |
tuple | pad_neuron_map = Unpickler(pad_neuron_map_file) |
tuple | pad_neuron_map_file = open(pad_neuron_map_file_name) |
tuple | pad_neuron_map_file_name = rospy.get_param('brian_pad_neuron_map_file_path') |
This is a ROS node that is used by itself to generate CSV data files by running Brian simulations.
Use this node to generate a CSV file, and then use the csv_recv node to read the generated file.
def brian_to_csv.brianRecv | ( | connections, | |
channels | |||
) |
Runs a Brian simulation "P" and records and publishes voltages captured by the multielectrode array "channels".
Definition at line 67 of file brian_to_csv.py.
def brian_to_csv.channelizer | ( | pad_neuron_map | ) |
Populates a 60-channel list using data from an x,y map.
Definition at line 168 of file brian_to_csv.py.
Definition at line 206 of file brian_to_csv.py.
tuple brian_to_csv::connections = Unpickler(connections_file) |
Definition at line 200 of file brian_to_csv.py.
tuple brian_to_csv::connections_file = open(connections_file_name) |
Definition at line 195 of file brian_to_csv.py.
tuple brian_to_csv::connections_file_name = rospy.get_param('brian_connections_file_path') |
Definition at line 188 of file brian_to_csv.py.
tuple brian_to_csv::pad_neuron_map = Unpickler(pad_neuron_map_file) |
Definition at line 201 of file brian_to_csv.py.
tuple brian_to_csv::pad_neuron_map_file = open(pad_neuron_map_file_name) |
Definition at line 196 of file brian_to_csv.py.
tuple brian_to_csv::pad_neuron_map_file_name = rospy.get_param('brian_pad_neuron_map_file_path') |
Definition at line 189 of file brian_to_csv.py.