brian_recv is a ROS node that runs a Brian simulation, then creates and publishes dish_states using the generated data. More...
Classes | |
class | BrianSimulation |
Runs a Brian simulation, then creates and publishes dish_states using the generated data. More... | |
class | Channel |
Data structure for a multi electrode array channel pad neurons : list of neurons within range of the pad total_weight : combined weights of all the neurons. More... | |
class | CloseNeuron |
Data structure representing a neuron that is within range of a channel pad self.data : unique id of the neuron self.weight : how much weight this neuron has in calculating average activity for its channel. More... | |
Functions | |
def | channelizer |
Channelizer takes data from an 8x8 map and populates a 60-channel list. | |
Variables | |
tuple | brian = BrianSimulation(connections, channels) |
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') |
brian_recv is a ROS node that runs a Brian simulation, then creates and publishes dish_states using the generated data.
Running network simulations in Brian can take quite a while. An alternate method is to generate a CSV file using the brian_to_csv.py node and then use the csv_recv node.
def brian_recv.channelizer | ( | pad_neuron_map | ) |
Channelizer takes data from an 8x8 map and populates a 60-channel list.
Definition at line 285 of file brian_recv.py.
tuple brian_recv::brian = BrianSimulation(connections, channels) |
Definition at line 328 of file brian_recv.py.
Definition at line 324 of file brian_recv.py.
tuple brian_recv::connections = Unpickler(connections_file) |
Definition at line 318 of file brian_recv.py.
tuple brian_recv::connections_file = open(connections_file_name) |
Definition at line 312 of file brian_recv.py.
tuple brian_recv::connections_file_name = rospy.get_param('brian_connections_file_path') |
Definition at line 305 of file brian_recv.py.
tuple brian_recv::pad_neuron_map = Unpickler(pad_neuron_map_file) |
Definition at line 319 of file brian_recv.py.
tuple brian_recv::pad_neuron_map_file = open(pad_neuron_map_file_name) |
Definition at line 313 of file brian_recv.py.
tuple brian_recv::pad_neuron_map_file_name = rospy.get_param('brian_pad_neuron_map_file_path') |
Definition at line 306 of file brian_recv.py.