From 50f3c60b663f7e4d32f2d64853124c0a4f0e0d55 Mon Sep 17 00:00:00 2001 From: tillraab Date: Wed, 11 Sep 2019 10:55:59 +0200 Subject: [PATCH] bf --- electrode_check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrode_check.py b/electrode_check.py index dd46f19..c14669e 100644 --- a/electrode_check.py +++ b/electrode_check.py @@ -276,8 +276,8 @@ def main(): disp_eth_power = True - - fig, ax = plt.subplots(n_rows, n_cols, figsize=(20/2.54, 12/2.54), facecolor='white',sharex=True, sharey=True) + fig, ax = plt.subplots(n_rows, n_cols, figsize=((n_cols * 2.5)/2.54, (n_rows * 2.5)/2.54), facecolor='white', + sharex=True, sharey=True) ax = np.hstack(ax) channel_handle = [] init_fig = True @@ -323,7 +323,7 @@ def main(): channel_std = list(map(lambda x : np.std(data[x::channels][:250]), channel_array)) power_channel = np.argmax(channel_std) - + max = np.max(np.hstack(channel_data)) min = np.min(np.hstack(channel_data))