function format_powerdata(power_data){
  var power_data_formatted = [];
  for (i=0;i<power_data.length;i++){
    power_dic = power_data[i];
    power_channels = power_dic["pow"]
    power_data_formatted[i] = power_channels;
  }
  power_data_formatted = transpose(power_data_formatted);
  return power_data_formatted
}
// Format Power Data to be analyzed. Return an array of arrays (band power values for each channel x time).

Format Power Data to be analyzed. Return an array of arrays (band power values for each channel x time).
Format Power Data to be analyzed . Return an array of arrays ( band power values for each channel x time ) .
function format_powerdata(power_data){
  var power_data_formatted = [];
  for (i=0;i<power_data.length;i++){
    power_dic = power_data[i];
    power_channels = power_dic["pow"]
    power_data_formatted[i] = power_channels;
  }
  power_data_formatted = transpose(power_data_formatted);
  return power_data_formatted
}
function format_powerdata ( power_data ) { var power_data_formatted = [ ] ; for ( i = 0 ; i < power_data . length ; i ++ ) { power_dic = power_data [ i ] ; power_channels = power_dic [ "pow" ] power_data_formatted [ i ] = power_channels ; } power_data_formatted = transpose ( power_data_formatted ) ; return power_data_formatted }
Format Power Data to be analyzed.
Format Power Data to be analyzed .