function format_eegdata(eeg_data){
  var eeg_data_formatted = [];
  for (i=0;i<eeg_data.length;i++){
    eeg_dic = eeg_data[i];
    eeg_channels = eeg_dic["eeg"]
    eeg_channels = eeg_channels.slice(3,eeg_channels.length-2);
    eeg_data_formatted[i] = eeg_channels;
  }
  eeg_data_formatted = transpose(eeg_data_formatted);
  return eeg_data_formatted
}
// Format EEG Data to be analyzed. Return an array of arrays (signal values for channel x time).

Format EEG Data to be analyzed. Return an array of arrays (signal values for channel x time).
Format EEG Data to be analyzed . Return an array of arrays ( signal values for channel x time ) .
function format_eegdata(eeg_data){
  var eeg_data_formatted = [];
  for (i=0;i<eeg_data.length;i++){
    eeg_dic = eeg_data[i];
    eeg_channels = eeg_dic["eeg"]
    eeg_channels = eeg_channels.slice(3,eeg_channels.length-2);
    eeg_data_formatted[i] = eeg_channels;
  }
  eeg_data_formatted = transpose(eeg_data_formatted);
  return eeg_data_formatted
}
function format_eegdata ( eeg_data ) { var eeg_data_formatted = [ ] ; for ( i = 0 ; i < eeg_data . length ; i ++ ) { eeg_dic = eeg_data [ i ] ; eeg_channels = eeg_dic [ "eeg" ] eeg_channels = eeg_channels . slice ( 3 , eeg_channels . length - 2 ) ; eeg_data_formatted [ i ] = eeg_channels ; } eeg_data_formatted = transpose ( eeg_data_formatted ) ; return eeg_data_formatted }
Format EEG Data to be analyzed.
Format EEG Data to be analyzed .