app.ml.logreg.map_neuron_weights_to_brain_region

map_neuron_weights_to_brain_region(all_data, session_id, model)[source]

Returns a dictionary with (neuron-idx, brain-region) tuples associated with each response type.

Parameters
  • all_data (np.ndarray) – A 2-d numpy array that contains data from all sessions.

  • session_id (int) – Integer that denotes a particular session.

Returns

Corresponding neuron and brain-region for each response type.

Return type

dict

Return type

dict