From 09beea2f7df4e0539926ba7c76a7524d322db4ba Mon Sep 17 00:00:00 2001 From: tillraab Date: Wed, 11 Sep 2019 11:32:21 +0200 Subject: [PATCH] bf --- electrode_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrode_check.py b/electrode_check.py index 5299571..e7be922 100644 --- a/electrode_check.py +++ b/electrode_check.py @@ -336,8 +336,8 @@ def main(): channel_array = np.arange(channels) channel_data = list(map(lambda x : data[x::channels][:250], channel_array)) channel_std = list(map(lambda x : np.std(data[x::channels][:250]), channel_array)) - print(channel_std) - # power_channel = np.argmax(channel_std)[0] + power_channel = np.argmax(channel_std) + print(power_channel) max = np.max(np.hstack(channel_data)) min = np.min(np.hstack(channel_data))