septum-mec/actions/stimulus-lfp-response-mec-n.../data/20_stimulus-lfp-response.ipynb

1611 lines
489 KiB
Plaintext
Raw Normal View History

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"import expipe\n",
"import pathlib\n",
"import numpy as np\n",
"import spatial_maps.stats as stats\n",
"import septum_mec\n",
"import septum_mec.analysis.data_processing as dp\n",
"import septum_mec.analysis.registration\n",
"import head_direction.head as head\n",
"import spatial_maps as sp\n",
"import speed_cells.speed as spd\n",
"import re\n",
"import joblib\n",
"import multiprocessing\n",
"import shutil\n",
"import psutil\n",
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
"import matplotlib\n",
"from distutils.dir_util import copy_tree\n",
"from neo import SpikeTrain\n",
"import scipy\n",
"import statsmodels\n",
"import seaborn as sns\n",
"from tqdm.notebook import tqdm_notebook as tqdm\n",
"tqdm.pandas()\n",
"\n",
"from spike_statistics.core import permutation_resampling_test\n",
"\n",
"from spikewaveform.core import calculate_waveform_features_from_template, cluster_waveform_features\n",
"\n",
"from septum_mec.analysis.plotting import violinplot, despine"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"#############################\n",
"\n",
"zscore_str = \"-no-zscore\"\n",
"# zscore_str = \"\"\n",
"\n",
"stim_loc = 'mec'\n",
"# stim_loc = 'ms'\n",
"\n",
"#################################"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"plt.rc('axes', titlesize=12)\n",
"plt.rcParams.update({\n",
" 'font.size': 12, \n",
" 'figure.figsize': (6, 4), \n",
" 'figure.dpi': 150\n",
"})\n",
"\n",
"output_path = pathlib.Path(\"output\") / (\"stimulus-lfp-response\" + '-' + stim_loc + zscore_str)\n",
"(output_path / \"statistics\").mkdir(exist_ok=True, parents=True)\n",
"(output_path / \"figures\").mkdir(exist_ok=True, parents=True)\n",
"output_path.mkdir(exist_ok=True)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"data_loader = dp.Data()\n",
"actions = data_loader.actions\n",
"project = data_loader.project"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
"identify_neurons = actions['identify-neurons']\n",
"sessions = pd.read_csv(identify_neurons.data_path('sessions'))"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"lfp_action = actions['stimulus-lfp-response' + zscore_str]\n",
"lfp_results = pd.read_csv(lfp_action.data_path('results'))"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
"lfp_results = pd.merge(sessions, lfp_results, how='left')"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"if stim_loc == 'ms':\n",
" lfp_results = lfp_results.query('stim_location!=\"mecl\" and stim_location!=\"mecr\"')\n",
"elif stim_loc == 'mec':\n",
" lfp_results = lfp_results.query('stim_location!=\"ms\"')\n",
"else:\n",
" raise AssertionError('')"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
"def action_group(row):\n",
" a = int(row.channel_group in [0,1,2,3])\n",
" return f'{row.action}-{a}'\n",
"lfp_results['action_side_a'] = lfp_results.apply(action_group, axis=1)"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"lfp_results['stim_strength'] = lfp_results['stim_p_max'] / lfp_results['theta_bandpower']"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>action_side_a</th>\n",
" <th>channel_group</th>\n",
" <th>signal_to_noise</th>\n",
" <th>stim_strength</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>71</th>\n",
" <td>1833-010719-1-0</td>\n",
" <td>7</td>\n",
" <td>0.001902</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>67</th>\n",
" <td>1833-010719-1-1</td>\n",
" <td>3</td>\n",
" <td>0.003522</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>695</th>\n",
" <td>1833-010719-2-0</td>\n",
" <td>7</td>\n",
" <td>0.004280</td>\n",
" <td>1.401239</td>\n",
" </tr>\n",
" <tr>\n",
" <th>691</th>\n",
" <td>1833-010719-2-1</td>\n",
" <td>3</td>\n",
" <td>0.003974</td>\n",
" <td>3.920680</td>\n",
" </tr>\n",
" <tr>\n",
" <th>583</th>\n",
" <td>1833-020719-1-0</td>\n",
" <td>7</td>\n",
" <td>-0.002942</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" action_side_a channel_group signal_to_noise stim_strength\n",
"71 1833-010719-1-0 7 0.001902 NaN\n",
"67 1833-010719-1-1 3 0.003522 NaN\n",
"695 1833-010719-2-0 7 0.004280 1.401239\n",
"691 1833-010719-2-1 3 0.003974 3.920680\n",
"583 1833-020719-1-0 7 -0.002942 NaN"
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# lfp_results_hemisphere = lfp_results.sort_values(\n",
"# by=['action_side_a', 'stim_strength', 'signal_to_noise'], ascending=[True, False, False]\n",
"lfp_results_hemisphere = lfp_results.sort_values(\n",
" by=['action_side_a', 'channel_group'], ascending=[True, False]\n",
").drop_duplicates(subset='action_side_a', keep='first')\n",
"lfp_results_hemisphere.loc[:,['action_side_a','channel_group', 'signal_to_noise', 'stim_strength']].head()"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
"colors = ['#1b9e77','#d95f02','#7570b3','#e7298a']\n",
"labels = ['Baseline I', '11 Hz', 'Baseline II', '30 Hz']\n",
"# Hz11 means that the baseline session was indeed before an 11 Hz session\n",
"queries = ['baseline and i and Hz11', 'frequency==11', 'baseline and ii and Hz30', 'frequency==30']"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
"# prepare pairwise comparison: same animal same side same date different sessions"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [],
"source": [
"def make_entity_date_side(row):\n",
" s = row.action_side_a.split('-')\n",
" del s[2]\n",
" return '-'.join(s)"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
"lfp_results_hemisphere['entity_date_side'] = lfp_results_hemisphere.apply(make_entity_date_side, axis=1)"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
"from functools import reduce"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [],
"source": [
"keys = [\n",
" 'theta_bandpower',\n",
" 'theta_relpower',\n",
" 'theta_relpeak',\n",
" 'theta_peak',\n",
" 'theta_freq',\n",
" 'theta_half_width',\n",
" 'stim_bandpower',\n",
" 'stim_relpower',\n",
" 'stim_relpeak',\n",
" 'stim_half_width',\n",
" 'stim_p_max',\n",
" 'stim_strength',\n",
"]\n",
"\n",
"results = {}\n",
"for key in keys:\n",
" results[key] = list()\n",
" for query, label in zip(queries, labels):\n",
" values = lfp_results_hemisphere.query(query).loc[:,['entity_date_side', key]]\n",
" results[key].append(values.rename({key: label}, axis=1))\n",
" \n",
"for key, val in results.items():\n",
" df = reduce(lambda left,right: pd.merge(left, right, on='entity_date_side', how='outer'), val)\n",
" results[key] = df.drop('entity_date_side', axis=1)"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAesAAAFRCAYAAABUooWyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOydd5icZdW475nZlq3Z1E0hhZSTQosIgrSANKki5bMgBARFBQWVovIh6g8RVFABRUSIogiIEpoISCd8QQihheSEEkJ6b1uS3Z2Z3x/POzPvzM7Mzu7O7G52z31de83bnuc9M7s75z3nOSUQjUYxDMMwDKP3EuxpAQzDMAzDyI4pa8MwDMPo5ZiyNgzDMIxejilrwzAMw+jlmLI2DMMwjF6OKWvDMAzD6OWYsjYMwzCMXo4pa8MwDMPo5ZiyNgzDMIxejilrwzAMw+jlmLI2DMMwjF6OKWvDMAzD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H1ZfogL3sm2Ru7nTBJBbf9PVX+c7iKvEtbwHOfsKtNJ5IanyhEgUajjTZ8iPgG3jg2umts3s8w/Ji9SpqCqURF5B7fGv6+IBLJUe9snx2n3AZ5Ld8J76IitVfvXyN8EvuBtf4LkvOlU9sU9XIDzQMRR1bUi8iouYO8oXHWwYpwV719LfxqnrI8QkSkkllFSlfUHOAu5nITSz4iIxPLJ31fV/7R3vdF/sWhwIxfac1N2hcd9220KX6Twc+BnOCs5dc05m4wTfdtpFaTHqbgqYFD4B9n/yXLueNz6KsC/fcdzeh8i8kl8AUuZKqF1gX94r3Vkd7WfleN8X2rnXEzR+h/knvB
"text/plain": [
"<Figure size 525x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAesAAAFICAYAAABwe9bhAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOydd3xb5dX4v7K8E9uxswcZEHKSEMIeLbNAgTLbUuiAljDfDmjp5m358Xa8lAJdb4EOOgjQARRogUAHuwUayggJEDgJZE+yHDtOvCT9/niupCtZkpcky/L5fj7+6I7nuffIlnXuOc8ZgUgkgmEYhmEYhUvJQAtgGIZhGEZmTFkbhmEYRoFjytowDMMwChxT1oZhGIZR4JiyNgzDMIwCx5S1YRiGYRQ4pqwNwzAMo8AxZW0YhmEYBY4pa8MwDMMocExZG4ZhGEaBY8raMAzDMAocU9aGYRiGUeCYsjYMwzCMAseUtWEYhmEUOKasjbwhInNTHJsvIhHvZ9xAyJUkTxcZhyKF9ncxjKFO6UALYBQ/IlIHfAf4HAX6mfMU0g+Ao4BpAyyOYRhGAgX5xWkUHT8CLh5oIbrh98AJwOqBFsQwDCMZc4Mb+SA40AL0gMEg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TglPhFnWX0c546NUisigVw09OgOVV3uPbTcgFM6L4jIrbiAs1ZcCtSXiCvC/xCvCNZbxgEvisj3cevEw3HlOS/yzm8lqUSsFyV+KfGAvadF5DZcda+duLXnzxEvJboMuCrN/RfgSp1GI7lb6RoY9hQu2CuAe4gKE1fyyVwPnAEcjMsNf1VEfoJz44/APRR8lrgH5WpV3ZjqQoaRTcyyHkBE5CE
"text/plain": [
"<Figure size 525x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAesAAAFICAYAAABwe9bhAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOzdd5icZdX48e9syZb0ShrpyUkPoSMt0qVKfRWQosArCq+ggryK2H6IgIVXQFFRAlgAQw8gvdcQUiAhJ733ZFM2ZXdn5vn9cT8z8+xktk/b3fO5rr1mnjr3ZDdz5m7nDnmehzHGGGPyV0GuC2CMMcaY+lmwNsYYY/KcBWtjjDEmz1mwNsYYY/KcBWtjjDEmz1mwNsYYY/KcBWtjjDEmz1mwNsYYY/KcBWtjjDEmz1mwNsYYY/KcBWtjjDEmz1mwNsYYY/KcBWtjjDEmz1mwNsYYY/KcBWuTV0RkYop9U0XE83/65qJcSeXZp4ztUb79XjJBRH4aeI+H57o8pv0qynUBjAEQka7Az4Fvk6d/l35A+jVwJDA0x8UxxrQjefmhaNql3wJfz3UhGvAP4DhgRa4LYoxpX6wZ3OSLwlwXoBFaQxmNMW2QBWtjjDEmz1mwNsYYY/Kc9VmbnBKRnwI/Sdrn+U/fVNUpKa4ZAtwAnAIMAHYA84GpwIOq6iVfE7i2GLgMOB+YCPQAtgFzgGnAA6panXTNVODSwK7BgTI+qKqXJZ2/H3AlcDwg/mu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BTQtr1j6rO+vOf/1w4efJkysvLKS0tZdCgQYP27NnjnX322fHlKd955511dd2jofNUddbcuXOH3HL
"text/plain": [
"<Figure size 525x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAesAAAFRCAYAAABUooWyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOzdeXhcZdn48e9ksqdNmu77Tu8uLBYFQfZFQFYFQQWUgoCooOCKyIvo+1NE3ld9BQRxoQgiICI7CIIiBYFSoECXu0ua7i3d9zTJzPn98ZyZOUknk0kyS5K5P9eVa+acOcuTaTr3PNv9hDzPwxhjjDHdV1G+C2CMMcaY1CxYG2OMMd2cBWtjjDGmm7NgbYwxxnRzFqyNMcaYbs6CtTHGGNPNWbA2xhhjujkL1sYYY0w3Z8HaGGOM6eYsWBtjjDHdnAVrY4wxppuzYG2MMcZ0cxasjTHGmG7OgrUxxhjTzVmwNr2KiByYZN9MEfH8n6H5KFer8uxTRpNZIjI28G9+Z77LY0xXFee7AMZkgojUAD8Cvko3/bv2vyj8D3AEMC7PxTHG9CDd8kPNmE74OXBJvgvRjj8BxwPL810QY0zPYs3gprcI57sAaegJZTTGdEMWrI0xxphuzoK1McYY081Zn7Xp0UTkRuAHrfZ5/tOXVPXYJOeMBb4NnAKMALYD84GZwD2q6rU+J3BuCTADOBc4EOgPbAXmAg8Dd6tqY6tzZgIXBXaNCZTxHlWd0er4IcBlwAmA+PdoBjYBs4EHgL+mKmdnicgM4G5/cxjgAdcDpwPDce/V68AdqvpUGtc7GbgYOBwYAuwBlgBPA7eq6sZ2zh+Hey+OBcbj3osGYAPwGjBTVZ/vyO/oX7cI+CNwgb/rKeAcVd3b0WsZkwtW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xaRw3HN2dtw6T6vBQb7r39LVT9odc5NuIU/DsbNwX7HT/E5F5cb/ERc83esheBaVQ3++z1EIm/3T/zUrc/hsseNxc1D/xQtR+ynqsEn8x3ciPvBwFUi8qCqpjsYzpics5p1fk2YOHHiGbgmOfvpws+jjz76w3A4Pjj5KmD28OHD3wK8T33qU/EVr2bNmrW2rWukOk5VFz366KPVI0bEZxCdBDyIG7z0CK55OlRTU8Nvf/vbUlV9o/X177zzzotJ+Akw+5BDDpnnX//ta665JhZ8QriVqp70r/9X4AtAyTHHHMN5550Xu0bp3//+92gm38ebbrrp7kAZbwd2+vd+Fjey++e4ANeMS0P6B1rx+4dPAl70d03GpWv9Dy4RyjdxA8MiwPdV9Vetzn8cN8AM3JeTb/j3fxX3peFs/z2aCcSmX431v+CkRVW3AFf7m0XA75O1ABjTXViwNr3ClClTuOOOO5g+fTqVlZWUl5dTXFzMnj172j+5A/d45plnuOGGGzjiiCMYOHAgJSUlVFVVMW3aNL761a/yzDPPcPTRRyc9/7jjjuPmm29mypQpVFRUUFlZyd69idwcV1xxBXfffTfHH388AwcOpLi4mIqKCkaPHs0pp5zCXXfdxV133cWpp54aP+eZZ55JdqtMmYXLSPYH3JzrBkBxTeBTVfWutk5U1U2qegKu9voQLttZg/+zCJfTfLqq/qSN87+EW7DjedzSoBHcF4eFuKUtj1LVi0nkSS8hsXBIWlT1zyTGI0wB/qsj5xuTSyHPy2YLWv6IyJdw3+YvU9XfdeL8Abh1fM/CjTrdgsvo9DM/j3Qmyjhv4sSJU596qt1lgY3JiUceeYTvfe97sc3PqeoD+SyPMcbplTVrETkENyq3s+cPwSVduBo3TeZdXDPhp4BZInJJJsppjDHGpKPXBWsRORbXtNW3C5d5EJeD+HlgpKp+BDeI6Fpc1qY7/VSIxhhjTNb1mtHgIlKOC6bX0zINYke
"text/plain": [
"<Figure size 525x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAA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tvdsGCOWzZs3s2VLb+mzU/Pxj388nlCkl9rVhmFkmZwQ1iIyD3gcV3EojBPY5wPbDeByZ3vP96hqqm+5G3FC+uMiUqyqLQO4h2EMCbfeeivXXXfdQKf7Q9tG/f61YYxmcsUMPgMnqJ8D9lXVKwdxrf2956d76H8B6MTFcn5kEPcxDMMwjD6RE5o1rg7xsar6YK8j0yAiQRIpDT9INUZVO0RkLU5r34HumagMY8Rw4YUXcuGFFw50+qjXplX1TnLgdRhGTghrVX0feD8Dl6om8Z6kK2G4FSesB1qX1xih1LU188CHb7J000re27aJmtZmtrW30B7uJByNsKB0KmeGDqBmbQuN9W00NbdTXl7IJ0/bgxkzK3u/QQ9EGtsIr6ylc1UdkU2NRGqaidS2EKlrIdrS4R5tnURbOqGtk0i4k0iwhkhoI5G8LUQCDURDDUSDDURCzVAYITS9mGiwg2hHC9GOVqLhToiEIRohGgmTP34WUz7/J4pm75nBd9AwjGyQE8I6g5T4jlvTjIvtU5ekGRNHRN7qoWtuX+Yb2aels51rX32M3739DG3hzh7HvVq/mpJVLzO7LlGZsamxnf88tZzTzljYp3tFI1E63txAx0uraX99PR2vrSOysTH9nFArneXLCZd/SLhiJeHStRDseZ0A4U3p19G+/l3qHvs1U87tdxoCwzCGGBPWyYR7H5JEbmaUGWNsbW3kzEeW8NqW3itWFnXkM7EpWYMOBEB2nNjr3I63NtB85+u0PfY+kS1NvY6PBtvpGPcGneNep7PifQj29+P
"text/plain": [
"<Figure size 525x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAesAAAFICAYAAABwe9bhAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOydeZhk4/X4P1W99+wLxhhj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azbDJmky/o+vxslvuIyE44t3KCctvyBPm9j82A6zIul+N7SWzh2hGX4Qt6V9bDgRP98/5Y1YmkJv/ym0eJyOzMPv6e/d/3MVWuz5dhhEJZPVUbFckHgfNfisi1QExVnw9p/pNwgVEjgQtEZC9cbutFuFzXxwJH+n07ga9lCRRKyDhORH6E27Pd6mfmuhmXTjICfMtPkvIvnPLbAJem84ukp7ocmUdAUrGZSyoD2MEichsu5/pSnEv5AOB4eiqUUaT2LZcL9+P+lom82ZBSzgmeB1bgIv8THo9+KWuf03Dr3WOBq0Vkb9ye61W4pZcf+jKsJT0AMUiuz5dhhIJZ1iVERO4QkYF8wZQTd+Byc4P74psHhFY5SFUX4vJCv+Nf2h+X7ekpnBvzKJyiXQEc3kuWs6C785e+jH/y538BlwMaf54TcYrvKZzSPh6nqO8G/uL3qyfd7Vxy/PSv3yD1tzgc93d4CrgdV0BlOPA0LoguQTGi2/uFqrYAjwQuveVbwcE+8Yw+i1U11zJGb6/1Ac4rswj39z8et/Xrv7jUtRNwBWQezjFNr58vwwgLU9alZdOpU6ceitvSUZE/qvr8lVdeWbPtttvS3NxMY2MjkydPntz
"text/plain": [
"<Figure size 525x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"xlabel = {\n",
" 'theta_bandpower': 'Theta bandpower (V$^2$/Hz)',\n",
" 'theta_relpower': 'Theta relative power',\n",
" 'theta_relpeak': 'Theta relative power',\n",
" 'theta_peak': 'Peak PSD (V$^2$/Hz)',\n",
" 'theta_freq': '(Hz)',\n",
" 'theta_half_width': '(Hz)',\n",
"}\n",
"\n",
"for key in xlabel:\n",
" fig = plt.figure(figsize=(3.5,2))\n",
" plt.suptitle(key)\n",
" legend_lines = []\n",
" for color, label in zip(colors, labels):\n",
" legend_lines.append(matplotlib.lines.Line2D([0], [0], color=color, label=label))\n",
" sns.kdeplot(data=results[key].loc[:,labels], cumulative=True, legend=False, palette=colors, common_norm=False)\n",
" plt.legend(\n",
" handles=legend_lines,\n",
" bbox_to_anchor=(1.04,1), borderaxespad=0, frameon=False)\n",
" plt.tight_layout()\n",
" plt.grid(False)\n",
" despine()\n",
" plt.xlabel(xlabel[key])\n",
" figname = f'lfp-psd-histogram-{key}'\n",
" fig.savefig(\n",
" output_path / 'figures' / f'{figname}.png', \n",
" bbox_inches='tight', transparent=True)\n",
" fig.savefig(\n",
" output_path / 'figures' / f'{figname}.svg', \n",
" bbox_inches='tight', transparent=True)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:1402: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" ndim = x[:, None].ndim\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:276: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" x = x[:, np.newaxis]\n",
"/home/mikkel/.virtualenvs/expipe/lib/python3.6/site-packages/matplotlib/axes/_base.py:278: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead.\n",
" y = y[:, np.newaxis]\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcAAAAFRCAYAAADjH32VAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOzdeZhbZdn48W8mk1m77xt0pTdlX4sVkCJCkYJFERfWgqiooOCLuMD7yqIi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KYhvn1/SetO0sHvTlyp78XM9kAROZvgrPTyMDjfRV6Jqk8B6Q0gfzVf8nkafdXn63znhwDbdcTJkCy1rst4/BlcR5S+uGrQ+bi/U/ACm6q2eD1Gj8IFwKtIV3/Ozmi/9Kcf3oHezKYMWRVomRORWhHZR0R29z+uqqtU9Q5VPQk3Ni/5S/zYTs9k97B7G+cne9u1yV6WInIA6TFvT6jqSar6XI7OMDsXKZ/ZJMcqSq7B+p49KOxH7z65TnjV5Pt7h6/5TvnXizyIPERkOK6dFNKdtIBUr+RkR6AjRWQ8rv0aXPsfGfuHikh/3DAVyBj8rqpNpEty+/s7MOXI29ki8j0Rmd7Wtab0WQAsYyJShSutvEKegbpej7lkJ5Qa36lC2q3KxYl5ZjfZk/SX+mzfKX+150u5EvYWoj3Y91Cxv1iTPT8raT2sIFOhU3Wdmufc0bgZesBNoZf0BOnq1bNyvZcef2n40Sznk+2AnyLdg3O51xs3KRkAe+OqNSO4sa7ZpmlLfmYDcJMcZOVNGnEd8Afg2m7QLm0CZgGwjHlVQclf04eIyAnZrhORw0j/yn7Bd8rf1hXkEITuYA+yVP2KSD/cVHHg2n78s6n4O8Z8Llu
"text/plain": [
"<Figure size 480x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcAAAAFICAYAAADHxi7GAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOzdd5xb1ZXA8Z+mF3cbF9wLPsZgwFTTgum9k02WEgwLCUkggQ0hhSTAbkIJm11CQgIJAYeWAAkdEkI1GLBNxzZwjG1ccO/2VM1I2j/uk/RmLGk0MyqjmfP9fPx57b6rK9nW0b3vlkAkEsEYY4zpaYryXQBjjDEmHywAGm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ID7aGls+ZbvTuDXk1xh5DVbd6Ez0/jJuJ5XkRuQd4AtiKm4/yCtxE3+A6v1zfwZerws2O8r+4Hy8luGbpK3BBpIFWtTxVDYnIBcAs3JR3fxORB3C9fNfjJiX/D+LjBTeSvDPPv3AdbMqI9zR9uVWa94HocIxoi0GyADgT1/HqZOBAYL6I/B/uWXQFrhZ5JW6KOYDbetq/L9NxVgPMIxF5SkSS/cfvErwvkwuJzyV5Ma433hxcILwG90t+M3CWqqrv9qeI98i7Alc7fCI3Je9aVPURXDNdHe5z/DquufBN3Jd8NPgtxE2V1tGxlbfgguBPgddxta/v4QLSetx0dgtb36Sqc3DP5Tbgvhe+hptFZy7wCPHg9x5wsNc8meh91uACadTS1qs0eDOx+NOsUtWE4xe9ZtUvA3/xTo3A1Qpn48ahXk88+N2B64RlTFosAObX+AkTJpyKa7bpsn9U9cEXX3yx4uKLL2by5Mn06tWLkpIS+vfvz9S
"text/plain": [
"<Figure size 480x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcAAAAFICAYAAADHxi7GAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOzdd5xcVfn48c9sL2mbBJKQkIS0B0INvUoQKYp0UKQoIAj4BQSVIqiAhSLiD1EUUOkgRWnSe0noEDo8CYRQEkJJ2ZTtM/f3x7kzc3cyMzszO2Vn93m/Xnnddu6ZM5NknjnnnhLyPA9jjDFmoKkodQGMMcaYUrAAaIwxZkCyAGiMMWZAsgBojDFmQLIAaIwxZkCyAGiMMWZAsgBojDFmQLIAaIwxZkCyAGiMMWZAsgBojDFmQLIAaIwxZkCyAGiMMWZAsgBojDFmQLIAaIwxZkCqKnUBjAEQkU1U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U1MSMGTM45ZRTeOGFF4ar6oMJ98256qqrKmfMmEFDQwN1dXWMHz9+fGtrqwd4+++/f2xIwKxZsz4L3jt27NgJAOutt56kKtfMmTOjs4SQKs0FF1xwTTTB9ddf/0Q+Pxc/PwB+9rOfXZDB53jj7NmzG3784x+z8cYbM3ToUKqqqhg2bBjbbrst5513Hm+++eaGqjo/8d4TTzzxnOhr3Xrrrc8FryV8jmfccMMNoZ133pmhQ4fS2NjI9OnTOfXUU3nxxRfXVtXn0pRvzhtvvDHx17/+NbiJDj7HDYlYiRtg/xtgff/vuRt/qrqdcD+IXsZNnRfG1XBfwQXEDVT1T8Rn9tlGRCYk5tWDM/xyARwtIrtleb8ZIEKel+8
"text/plain": [
"<Figure size 480x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcAAAAFICAYAAADHxi7GAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nO3dd3gc9bX4//eqy3Jv2LjXY0w1NXTTIaGXNCAYLoT0kARIcuEGuCQhhHxzIQlcQkhCCzXhF7iU0CGYYroNxhzb4AI2Nu5FlrTa8vvjM1skr1YraVczu3tez+NnZnZnZo+08p799FA8HscYY4wpNxV+B2CMMcb4wRKgMcaYsmQJ0BhjTFmyBGiMMaYsWQI0xhhTliwBGmOMKUuWAI0xxpQlS4DGGGPKkiVAY4wxZckSoDHGmLJkCdAYY0xZsgRojDGmLFkCNMYYU5YsARpjjClLVX4HYIqXiOymqvMyPH4bcI53OFJVV/VqYD0kIjOB57zDn6rqr3yKYykwDlBVnZbh+WrgUuBMYCwQBT4FzlXVV3ov0tyJyCzgr97hV1T13m7c43ngUGCZqo7v4JyS/Ns0+WUJ0HSZi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O788+4HwI9+9KNrunOeqj79+OOP159xxhmMHj2a6upqqqurGT58OAceeCBXX301c+fOnfrmm29eW1/vRpgccMABt+T6uyrkz9/+30033XRB4rX233//em9i6/ZDCNIT4HNZJjnISlVX4joQnY/raLMOV+J7Gzcx+QmkElym698BTsTN5bkVl7BbvR6sxrQRisdLcyi
"text/plain": [
"<Figure size 480x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcAAAAFRCAYAAADjH32VAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nOzdd5xcVfn48c/M9k3Z9A4JScgDAQKhR0ACKr0XRSkGREClKlX9KdiwfgUFBZWOKKgICCqd0CT0GnjSSAKBhLRN3Tpzf3+cO2U3M7Ozu3On7fN+vfY1984998yZyWaePT3keR7GGGNMXxMudAGMMcaYQrAAaIwxpk+yAGiMMaZPsgBojDGmT7IAaIwxpk+yAGiMMaZPsgBojDGmT7IAaIwxpk+yAGiMMaZPsgBojDGmT7IAaIwxpk+yAGiMMaZPsgBojDGmT7IAaIwxpk+yAGiKkohMS/P8rSLi+T+j8l0uY0z5qCx0AYxJJiINwA+Ab2C/n8aYANkXjCk2/wecUehCGGPKnwVAU2wqMl1U1VnArLyUxBhT1qwP0BhjTJ9kAdAYY0yfFPI8r9BlMGVKRAT4OvAZYBvcH1yrgFeAe4G7VLXdT3sl8P00Wc1W1Zl+uluBL/vPj1bV5UmvtxgYD/xKVS8WkcOBc4HdgP7AUuAfwM9VdZ1/zy7At4ADgOF++Z4Afqiq83r5EWxBRGYCT/qnM4B3gMuBE4CtgWbgNeAm3OcTyH/QfH5WIrIN8FVgJjARGIJ7nyuBF4BbVfXRTvfsCLwM1AAtwC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vm3M3yW87Ca069KfnG1//
"text/plain": [
"<Figure size 480x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcAAAAFICAYAAADHxi7GAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAgAElEQVR4nO3dd5xkVZn/8U9Vx8l5GBjCMDPMQxRQBBEQFASVJKCuBAX9oYKB1V3MrsDuKothFxdRXFdEUFZAEZGkBBmCEh1ABuYZBhjCBGAiEzpX/f44t1JTXV1dXVXdVfV9v17zuvfWPffc01U99fQ594RYMplERESk0cRHugAiIiIjQQFQREQakgKgiIg0JAVAERFpSAqAIiLSkBQARUSkISkAiohIQ1IAFBGRhqQAKCIiDUkBUEREGpICoIiINCQFQBERaUgKgCIi0pAUAEVEpCEpAErVmdmbBnj9CjNLRv9mVbtco8VA70+jMrNWM9s1z+tzsn5fLhuJskltUwCUqjGzSWb2A+BvI12W0cjM5pvZrcB/j3RZRgszOwJ4AvjwSJdF6k/zSBdAGsp/Ah8f6UKMYn8E5gILR7ogo4GZ7QDcPtLlkPqlACjV1FTopLufAZxRlZKMTgXfnwak90MqSk2gIiLSkBQARUSkIcWSyeRIl0FqkJkZ8GngcGBnwh9Ta4BHgeuBq929N0p7PnDeAFktdPfDonRXAKdHr2/r7quz7rcc2An4vrufa2ZHA58F3gKMB14Efgt8x903RtfsA/wz8E5gRlS+u4B/c/elw3wLBmRmhxOedb4d2A7oBlYD9wG/cPe7+6W/Gzh0gOwucPfzo3TLCe/BD4ALgUuA9wAxYDlwobtfnZVvDPgQcAqwHzAd2AQ8DfweuMzdNw/wM6S+GL7g7heb2YnAmcCbgSnAK8CfgYvdfdEg78exwKeA/YFJ0bW3Axe5+1Iz6wTa+v2sh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msTKzQwm9RAEezjrVlZWm3EMQRtpDZDp0fDaaMSefU7P2H+53LvX+lPzeZNXEIQwJyTve0Mw+mFWW1ZR/cPgPCM/lYsDPzWxs/wTRzDknFsgju8duvf2+yCigJlAZqgsIY7yagV9HM4rcTOjsMY0wNVdqBpCthE4yKdlDE74dXds32GTKtcDdu83s3wizu0wBHjKzSwjPSNcRph37AJmVzZeQmU4sZRWhCXXvaC7Tx4D17v4sQ5OaAHwHQu/cfczsR4Tp42YSOuicQWag+lnu3jHEexTk7g+Y2U8IM8UcAjxqZt8jNNFOIXQG6l/769+RZQ3QA7QAJ5vZ7cAG4Bl3X4fIMKkGOILM7EYzu3GkyzEUUbA6nTC2qpkw/ddvCcMibga+RPhrfR1wort71uU3EqZQgzBTyMPADdUpeVVcSpgBB8KX/DcJ78lfCe/RyYQa0VPAe6LOMtmuj7bNwE8J7883h1oId18DvAN4PHrpAMIk0Q8QPoMzo3t0AB9z998P9R5F+hxwbbS/K/C/URluJQTgLeT+fNk1Pty9LyovhD8gbouuP75C5ZUGoxrgyJo3f/783amxLtzuzksvvcTVV1/NAw88wIsvvkhnZycTJkxgzpw5HHrooZx88slTJ0+efFv/6xYuXMiPf/xj3J1EIsHMmTN37OjoSI4ZM4YTTjiB3/3udwDcd999OQPZZ8+ezYoVK9h5552NAd6vww47jLvvvjt1mDfNhRdeyFe/+lUArrzyyoFmlClJKtY/8sgjXHfddTz22GO88sor9Pb2MmXKFHbddVeOPPJITjjhhN2bm5uX979+yZIl/PznP+e6665jxYoVtLa2cuCBB36UsOpCUe9Bdln6+vq46aabuO2223jyySdZv349zc3N7LDDDhx00EGceuqpY3bYYYcrgCsGyufggw8+qsC9Co6pi8Zi/oOZ/Rr4f4Q5WCc
"text/plain": [
"<Figure size 480x300 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"xlabel = {\n",
" 'stim_bandpower': 'Energy (V$^2$/Hz)',\n",
" 'stim_relpower': 'Relative power',\n",
" 'stim_relpeak': 'Relative power',\n",
" 'stim_half_width': '(Hz)',\n",
" 'stim_p_max': 'Peak PSD (V$^2$/Hz)',\n",
" 'stim_strength': 'Ratio',\n",
"}\n",
"for key in xlabel:\n",
" fig = plt.figure(figsize=(3.2,2))\n",
" plt.suptitle(key)\n",
" legend_lines = []\n",
" for color, label in zip(colors[1::2], labels[1::2]):\n",
" legend_lines.append(matplotlib.lines.Line2D([0], [0], color=color, label=label))\n",
" sns.kdeplot(data=results[key].loc[:, labels[1::2]], cumulative=True, legend=False, palette=colors[1::2], common_norm=False)\n",
" plt.legend(\n",
" handles=legend_lines,\n",
" bbox_to_anchor=(1.04,1), borderaxespad=0, frameon=False)\n",
" plt.tight_layout()\n",
" plt.grid(False)\n",
" despine()\n",
" plt.xlabel(xlabel[key])\n",
" figname = f'lfp-psd-histogram-{key}'\n",
" fig.savefig(\n",
" output_path / 'figures' / f'{figname}.png', \n",
" bbox_inches='tight', transparent=True)\n",
" fig.savefig(\n",
" output_path / 'figures' / f'{figname}.svg', \n",
" bbox_inches='tight', transparent=True)"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [],
"source": [
"def summarize(data):\n",
" return \"{:.1e} ± {:.1e} ({})\".format(data.mean(), data.sem(), sum(~np.isnan(data)))\n",
"\n",
"\n",
"def MWU(df, keys):\n",
" '''\n",
" Mann Whitney U\n",
" '''\n",
" Uvalue, pvalue = scipy.stats.mannwhitneyu(\n",
" df[keys[0]].dropna(), \n",
" df[keys[1]].dropna(),\n",
" alternative='two-sided')\n",
"\n",
" return \"{:.2f}, {:.3f}\".format(Uvalue, pvalue)\n",
"\n",
"\n",
"def PRS(df, keys):\n",
" '''\n",
" Permutation ReSampling\n",
" '''\n",
" pvalue, observed_diff, diffs = permutation_resampling(\n",
" df[keys[0]].dropna(), \n",
" df[keys[1]].dropna(), statistic=np.median)\n",
"\n",
" return \"{:.2f}, {:.3f}\".format(observed_diff, pvalue)\n",
"\n",
"\n",
"def wilcoxon(df, keys):\n",
" dff = df.loc[:,[keys[0], keys[1]]].dropna()\n",
" statistic, pvalue = scipy.stats.wilcoxon(\n",
" dff[keys[0]], \n",
" dff[keys[1]],\n",
" alternative='two-sided')\n",
"\n",
" return \"{:.1e}, {:.1e}, ({})\".format(statistic, pvalue, len(dff))\n",
"\n",
"\n",
"def summarize_wilcoxon(df, keys):\n",
" dff = df.loc[:,[keys[0], keys[1]]].dropna()\n",
"\n",
"\n",
" return\"{:.1e} ± {:.1e}, {:.1e} ± {:.1e} ({})\".format(dff[keys[0]].mean(), dff[keys[0]].sem(), dff[keys[1]].mean(), dff[keys[1]].sem(), len(dff))\n",
"\n",
"\n",
"def paired_t(df, keys):\n",
" dff = df.loc[:,[keys[0], keys[1]]].dropna()\n",
" statistic, pvalue = scipy.stats.ttest_rel(\n",
" dff[keys[0]], \n",
" dff[keys[1]])\n",
"\n",
" return \"{:.2f}, {:.3f}\".format(statistic, pvalue)\n",
"\n",
" \n",
"def normality(df, key):\n",
" statistic, pvalue = scipy.stats.normaltest(\n",
" df[key].dropna())\n",
"\n",
" return \"{:.1e}, {:.1e}\".format(statistic, pvalue)\n",
"\n",
"\n",
"def shapiro(df, key):\n",
" statistic, pvalue = scipy.stats.shapiro(\n",
" df[key].dropna())\n",
"\n",
" return \"{:.2f}, {:.3f}\".format(statistic, pvalue)\n",
"\n",
"def rename(name):\n",
" return name.replace(\"_field\", \"-field\").replace(\"_\", \" \").capitalize()"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Theta bandpower</th>\n",
" <th>Theta relpower</th>\n",
" <th>Theta relpeak</th>\n",
" <th>Theta peak</th>\n",
" <th>Theta freq</th>\n",
" <th>Theta half width</th>\n",
" <th>Stim bandpower</th>\n",
" <th>Stim relpower</th>\n",
" <th>Stim relpeak</th>\n",
" <th>Stim half width</th>\n",
" <th>Stim p max</th>\n",
" <th>Stim strength</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>11 Hz</th>\n",
" <td>8.5e-04 ± 8.0e-05 (44)</td>\n",
" <td>8.6e-02 ± 4.6e-03 (44)</td>\n",
" <td>2.3e-01 ± 5.2e-02 (44)</td>\n",
" <td>3.2e-04 ± 3.1e-05 (44)</td>\n",
" <td>7.7e+00 ± 1.3e-01 (44)</td>\n",
" <td>1.7e+00 ± 3.0e-01 (43)</td>\n",
" <td>9.6e-04 ± 8.0e-05 (44)</td>\n",
" <td>1.1e-01 ± 7.4e-03 (44)</td>\n",
" <td>1.6e+01 ± 1.9e+00 (44)</td>\n",
" <td>3.4e-01 ± 2.5e-03 (44)</td>\n",
" <td>2.1e-03 ± 2.3e-04 (44)</td>\n",
" <td>3.3e+00 ± 3.8e-01 (44)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>30 Hz</th>\n",
" <td>5.3e-04 ± 6.3e-05 (34)</td>\n",
" <td>5.3e-02 ± 4.2e-03 (34)</td>\n",
" <td>3.0e-02 ± 5.3e-02 (34)</td>\n",
" <td>1.9e-04 ± 2.7e-05 (34)</td>\n",
" <td>7.4e+00 ± 1.4e-01 (34)</td>\n",
" <td>1.2e+01 ± 1.9e+00 (34)</td>\n",
" <td>1.8e-03 ± 3.3e-04 (34)</td>\n",
" <td>1.6e-01 ± 2.3e-02 (34)</td>\n",
" <td>8.6e+01 ± 1.4e+01 (34)</td>\n",
" <td>3.0e-01 ± 2.3e-03 (23)</td>\n",
" <td>5.3e-03 ± 1.1e-03 (34)</td>\n",
" <td>1.3e+01 ± 2.8e+00 (34)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Baseline I</th>\n",
" <td>2.2e-03 ± 2.2e-04 (46)</td>\n",
" <td>2.6e-01 ± 1.6e-02 (46)</td>\n",
" <td>6.5e+00 ± 6.7e-01 (46)</td>\n",
" <td>1.7e-03 ± 1.8e-04 (46)</td>\n",
" <td>7.8e+00 ± 4.0e-02 (46)</td>\n",
" <td>7.7e-01 ± 1.8e-02 (46)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Baseline II</th>\n",
" <td>2.2e-03 ± 2.3e-04 (32)</td>\n",
" <td>2.7e-01 ± 1.7e-02 (32)</td>\n",
" <td>6.3e+00 ± 7.4e-01 (32)</td>\n",
" <td>1.6e-03 ± 2.1e-04 (32)</td>\n",
" <td>8.1e+00 ± 4.7e-02 (32)</td>\n",
" <td>8.4e-01 ± 3.2e-02 (32)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" <td>nan ± nan (0)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Normality 11 Hz</th>\n",
" <td>2.1e+01, 2.6e-05</td>\n",
" <td>5.6e+00, 6.2e-02</td>\n",
" <td>1.2e+01, 2.3e-03</td>\n",
" <td>2.4e+01, 5.3e-06</td>\n",
" <td>1.9e+00, 3.9e-01</td>\n",
" <td>1.0e+01, 5.5e-03</td>\n",
" <td>1.7e+01, 1.8e-04</td>\n",
" <td>3.9e+00, 1.4e-01</td>\n",
" <td>5.8e+00, 5.6e-02</td>\n",
" <td>1.6e+01, 4.2e-04</td>\n",
" <td>1.5e+01, 5.8e-04</td>\n",
" <td>1.2e+01, 2.3e-03</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Normality 30 Hz</th>\n",
" <td>3.1e+01, 1.9e-07</td>\n",
" <td>7.9e+00, 2.0e-02</td>\n",
" <td>1.2e+01, 2.3e-03</td>\n",
" <td>3.8e+01, 5.3e-09</td>\n",
" <td>7.2e+00, 2.8e-02</td>\n",
" <td>1.9e+02, 2.2e-41</td>\n",
" <td>1.7e+01, 1.7e-04</td>\n",
" <td>1.5e+01, 4.8e-04</td>\n",
" <td>6.2e+00, 4.5e-02</td>\n",
" <td>6.1e-01, 7.4e-01</td>\n",
" <td>1.9e+01, 6.3e-05</td>\n",
" <td>4.3e+01, 5.1e-10</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Normality Baseline I</th>\n",
" <td>4.3e+01, 5.8e-10</td>\n",
" <td>1.6e+00, 4.6e-01</td>\n",
" <td>2.1e+00, 3.4e-01</td>\n",
" <td>3.2e+01, 1.3e-07</td>\n",
" <td>5.9e+00, 5.3e-02</td>\n",
" <td>1.9e+00, 3.8e-01</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Normality Baseline II</th>\n",
" <td>1.4e+01, 1.1e-03</td>\n",
" <td>3.6e-01, 8.3e-01</td>\n",
" <td>4.9e+00, 8.8e-02</td>\n",
" <td>2.5e+01, 3.4e-06</td>\n",
" <td>4.7e+00, 9.7e-02</td>\n",
" <td>1.6e+01, 2.8e-04</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Paired summary 11 Hz 30 Hz</th>\n",
" <td>8.2e-04 ± 8.8e-05, 5.4e-04 ± 6.6e-05 (32)</td>\n",
" <td>8.4e-02 ± 4.5e-03, 5.5e-02 ± 4.2e-03 (32)</td>\n",
" <td>2.0e-01 ± 5.0e-02, 4.9e-02 ± 5.4e-02 (32)</td>\n",
" <td>3.0e-04 ± 3.1e-05, 1.9e-04 ± 2.8e-05 (32)</td>\n",
" <td>7.6e+00 ± 1.5e-01, 7.3e+00 ± 1.4e-01 (32)</td>\n",
" <td>1.5e+00 ± 3.5e-01, 1.1e+01 ± 2.0e+00 (31)</td>\n",
" <td>9.7e-04 ± 9.3e-05, 1.8e-03 ± 3.4e-04 (32)</td>\n",
" <td>1.1e-01 ± 8.6e-03, 1.6e-01 ± 2.4e-02 (32)</td>\n",
" <td>1.8e+01 ± 2.4e+00, 8.5e+01 ± 1.4e+01 (32)</td>\n",
" <td>3.4e-01 ± 3.6e-03, 3.0e-01 ± 2.3e-03 (21)</td>\n",
" <td>2.1e-03 ± 2.7e-04, 5.4e-03 ± 1.1e-03 (32)</td>\n",
" <td>3.5e+00 ± 4.9e-01, 1.3e+01 ± 3.0e+00 (32)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Paired summary 11 Hz Baseline II</th>\n",
" <td>8.2e-04 ± 8.8e-05, 2.2e-03 ± 2.3e-04 (32)</td>\n",
" <td>8.4e-02 ± 4.5e-03, 2.7e-01 ± 1.7e-02 (32)</td>\n",
" <td>2.0e-01 ± 5.0e-02, 6.3e+00 ± 7.4e-01 (32)</td>\n",
" <td>3.0e-04 ± 3.1e-05, 1.6e-03 ± 2.1e-04 (32)</td>\n",
" <td>7.6e+00 ± 1.5e-01, 8.1e+00 ± 4.7e-02 (32)</td>\n",
" <td>1.5e+00 ± 3.5e-01, 8.6e-01 ± 2.5e-02 (31)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Paired summary Baseline I 11 Hz</th>\n",
" <td>2.2e-03 ± 2.3e-04, 8.5e-04 ± 8.0e-05 (44)</td>\n",
" <td>2.6e-01 ± 1.6e-02, 8.6e-02 ± 4.6e-03 (44)</td>\n",
" <td>6.3e+00 ± 6.7e-01, 2.3e-01 ± 5.2e-02 (44)</td>\n",
" <td>1.6e-03 ± 1.9e-04, 3.2e-04 ± 3.1e-05 (44)</td>\n",
" <td>7.8e+00 ± 4.2e-02, 7.7e+00 ± 1.3e-01 (44)</td>\n",
" <td>7.8e-01 ± 1.8e-02, 1.7e+00 ± 3.0e-01 (43)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Paired summary Baseline I 30 Hz</th>\n",
" <td>2.3e-03 ± 2.8e-04, 5.4e-04 ± 6.6e-05 (32)</td>\n",
" <td>2.7e-01 ± 1.8e-02, 5.5e-02 ± 4.2e-03 (32)</td>\n",
" <td>6.6e+00 ± 8.1e-01, 4.9e-02 ± 5.4e-02 (32)</td>\n",
" <td>1.7e-03 ± 2.3e-04, 1.9e-04 ± 2.8e-05 (32)</td>\n",
" <td>7.8e+00 ± 4.4e-02, 7.3e+00 ± 1.4e-01 (32)</td>\n",
" <td>7.6e-01 ± 2.0e-02, 1.2e+01 ± 2.0e+00 (32)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Paired summary Baseline I Baseline II</th>\n",
" <td>2.3e-03 ± 2.8e-04, 2.2e-03 ± 2.3e-04 (32)</td>\n",
" <td>2.7e-01 ± 1.8e-02, 2.7e-01 ± 1.7e-02 (32)</td>\n",
" <td>6.6e+00 ± 8.1e-01, 6.3e+00 ± 7.4e-01 (32)</td>\n",
" <td>1.7e-03 ± 2.3e-04, 1.6e-03 ± 2.1e-04 (32)</td>\n",
" <td>7.8e+00 ± 4.4e-02, 8.1e+00 ± 4.7e-02 (32)</td>\n",
" <td>7.6e-01 ± 2.0e-02, 8.4e-01 ± 3.2e-02 (32)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Paired summary Baseline II 30 Hz</th>\n",
" <td>2.2e-03 ± 2.3e-04, 5.4e-04 ± 6.6e-05 (32)</td>\n",
" <td>2.7e-01 ± 1.7e-02, 5.5e-02 ± 4.2e-03 (32)</td>\n",
" <td>6.3e+00 ± 7.4e-01, 4.9e-02 ± 5.4e-02 (32)</td>\n",
" <td>1.6e-03 ± 2.1e-04, 1.9e-04 ± 2.8e-05 (32)</td>\n",
" <td>8.1e+00 ± 4.7e-02, 7.3e+00 ± 1.4e-01 (32)</td>\n",
" <td>8.4e-01 ± 3.2e-02, 1.2e+01 ± 2.0e+00 (32)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" <td>nan ± nan, nan ± nan (0)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Wilcoxon 11 Hz 30 Hz</th>\n",
" <td>1.1e+02, 3.3e-03, (32)</td>\n",
" <td>4.1e+01, 3.0e-05, (32)</td>\n",
" <td>1.3e+02, 1.4e-02, (32)</td>\n",
" <td>1.2e+02, 5.6e-03, (32)</td>\n",
" <td>1.2e+02, 4.5e-02, (32)</td>\n",
" <td>6.7e+01, 3.9e-04, (31)</td>\n",
" <td>2.1e+02, 2.9e-01, (32)</td>\n",
" <td>2.0e+02, 2.2e-01, (32)</td>\n",
" <td>3.0e+01, 1.2e-05, (32)</td>\n",
" <td>0.0e+00, 9.5e-07, (21)</td>\n",
" <td>1.6e+02, 5.0e-02, (32)</td>\n",
" <td>8.8e+01, 1.0e-03, (32)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Wilcoxon 11 Hz Baseline II</th>\n",
" <td>1.2e+01, 2.5e-06, (32)</td>\n",
" <td>2.0e+00, 9.6e-07, (32)</td>\n",
" <td>0.0e+00, 8.0e-07, (32)</td>\n",
" <td>3.0e+00, 1.1e-06, (32)</td>\n",
" <td>1.2e+02, 9.3e-03, (32)</td>\n",
" <td>2.3e+02, 6.7e-01, (31)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Wilcoxon Baseline I 11 Hz</th>\n",
" <td>3.5e+01, 7.9e-08, (44)</td>\n",
" <td>1.0e+00, 8.2e-09, (44)</td>\n",
" <td>2.0e+00, 8.7e-09, (44)</td>\n",
" <td>3.0e+00, 9.4e-09, (44)</td>\n",
" <td>3.6e+02, 4.7e-01, (44)</td>\n",
" <td>4.3e+02, 6.2e-01, (43)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Wilcoxon Baseline I 30 Hz</th>\n",
" <td>6.0e+00, 1.4e-06, (32)</td>\n",
" <td>0.0e+00, 8.0e-07, (32)</td>\n",
" <td>0.0e+00, 8.0e-07, (32)</td>\n",
" <td>0.0e+00, 8.0e-07, (32)</td>\n",
" <td>9.5e+01, 1.6e-03, (32)</td>\n",
" <td>7.1e+01, 3.1e-04, (32)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Wilcoxon Baseline I Baseline II</th>\n",
" <td>2.4e+02, 7.1e-01, (32)</td>\n",
" <td>2.4e+02, 7.1e-01, (32)</td>\n",
" <td>2.4e+02, 5.9e-01, (32)</td>\n",
" <td>2.3e+02, 5.5e-01, (32)</td>\n",
" <td>6.0e+00, 9.0e-06, (32)</td>\n",
" <td>1.4e+02, 2.3e-02, (32)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Wilcoxon Baseline II 30 Hz</th>\n",
" <td>1.6e+01, 3.5e-06, (32)</td>\n",
" <td>0.0e+00, 8.0e-07, (32)</td>\n",
" <td>0.0e+00, 8.0e-07, (32)</td>\n",
" <td>3.0e+00, 1.1e-06, (32)</td>\n",
" <td>5.0e+01, 9.9e-05, (32)</td>\n",
" <td>7.5e+01, 4.1e-04, (32)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Theta bandpower \\\n",
"11 Hz 8.5e-04 ± 8.0e-05 (44) \n",
"30 Hz 5.3e-04 ± 6.3e-05 (34) \n",
"Baseline I 2.2e-03 ± 2.2e-04 (46) \n",
"Baseline II 2.2e-03 ± 2.3e-04 (32) \n",
"Normality 11 Hz 2.1e+01, 2.6e-05 \n",
"Normality 30 Hz 3.1e+01, 1.9e-07 \n",
"Normality Baseline I 4.3e+01, 5.8e-10 \n",
"Normality Baseline II 1.4e+01, 1.1e-03 \n",
"Paired summary 11 Hz 30 Hz 8.2e-04 ± 8.8e-05, 5.4e-04 ± 6.6e-05 (32) \n",
"Paired summary 11 Hz Baseline II 8.2e-04 ± 8.8e-05, 2.2e-03 ± 2.3e-04 (32) \n",
"Paired summary Baseline I 11 Hz 2.2e-03 ± 2.3e-04, 8.5e-04 ± 8.0e-05 (44) \n",
"Paired summary Baseline I 30 Hz 2.3e-03 ± 2.8e-04, 5.4e-04 ± 6.6e-05 (32) \n",
"Paired summary Baseline I Baseline II 2.3e-03 ± 2.8e-04, 2.2e-03 ± 2.3e-04 (32) \n",
"Paired summary Baseline II 30 Hz 2.2e-03 ± 2.3e-04, 5.4e-04 ± 6.6e-05 (32) \n",
"Wilcoxon 11 Hz 30 Hz 1.1e+02, 3.3e-03, (32) \n",
"Wilcoxon 11 Hz Baseline II 1.2e+01, 2.5e-06, (32) \n",
"Wilcoxon Baseline I 11 Hz 3.5e+01, 7.9e-08, (44) \n",
"Wilcoxon Baseline I 30 Hz 6.0e+00, 1.4e-06, (32) \n",
"Wilcoxon Baseline I Baseline II 2.4e+02, 7.1e-01, (32) \n",
"Wilcoxon Baseline II 30 Hz 1.6e+01, 3.5e-06, (32) \n",
"\n",
" Theta relpower \\\n",
"11 Hz 8.6e-02 ± 4.6e-03 (44) \n",
"30 Hz 5.3e-02 ± 4.2e-03 (34) \n",
"Baseline I 2.6e-01 ± 1.6e-02 (46) \n",
"Baseline II 2.7e-01 ± 1.7e-02 (32) \n",
"Normality 11 Hz 5.6e+00, 6.2e-02 \n",
"Normality 30 Hz 7.9e+00, 2.0e-02 \n",
"Normality Baseline I 1.6e+00, 4.6e-01 \n",
"Normality Baseline II 3.6e-01, 8.3e-01 \n",
"Paired summary 11 Hz 30 Hz 8.4e-02 ± 4.5e-03, 5.5e-02 ± 4.2e-03 (32) \n",
"Paired summary 11 Hz Baseline II 8.4e-02 ± 4.5e-03, 2.7e-01 ± 1.7e-02 (32) \n",
"Paired summary Baseline I 11 Hz 2.6e-01 ± 1.6e-02, 8.6e-02 ± 4.6e-03 (44) \n",
"Paired summary Baseline I 30 Hz 2.7e-01 ± 1.8e-02, 5.5e-02 ± 4.2e-03 (32) \n",
"Paired summary Baseline I Baseline II 2.7e-01 ± 1.8e-02, 2.7e-01 ± 1.7e-02 (32) \n",
"Paired summary Baseline II 30 Hz 2.7e-01 ± 1.7e-02, 5.5e-02 ± 4.2e-03 (32) \n",
"Wilcoxon 11 Hz 30 Hz 4.1e+01, 3.0e-05, (32) \n",
"Wilcoxon 11 Hz Baseline II 2.0e+00, 9.6e-07, (32) \n",
"Wilcoxon Baseline I 11 Hz 1.0e+00, 8.2e-09, (44) \n",
"Wilcoxon Baseline I 30 Hz 0.0e+00, 8.0e-07, (32) \n",
"Wilcoxon Baseline I Baseline II 2.4e+02, 7.1e-01, (32) \n",
"Wilcoxon Baseline II 30 Hz 0.0e+00, 8.0e-07, (32) \n",
"\n",
" Theta relpeak \\\n",
"11 Hz 2.3e-01 ± 5.2e-02 (44) \n",
"30 Hz 3.0e-02 ± 5.3e-02 (34) \n",
"Baseline I 6.5e+00 ± 6.7e-01 (46) \n",
"Baseline II 6.3e+00 ± 7.4e-01 (32) \n",
"Normality 11 Hz 1.2e+01, 2.3e-03 \n",
"Normality 30 Hz 1.2e+01, 2.3e-03 \n",
"Normality Baseline I 2.1e+00, 3.4e-01 \n",
"Normality Baseline II 4.9e+00, 8.8e-02 \n",
"Paired summary 11 Hz 30 Hz 2.0e-01 ± 5.0e-02, 4.9e-02 ± 5.4e-02 (32) \n",
"Paired summary 11 Hz Baseline II 2.0e-01 ± 5.0e-02, 6.3e+00 ± 7.4e-01 (32) \n",
"Paired summary Baseline I 11 Hz 6.3e+00 ± 6.7e-01, 2.3e-01 ± 5.2e-02 (44) \n",
"Paired summary Baseline I 30 Hz 6.6e+00 ± 8.1e-01, 4.9e-02 ± 5.4e-02 (32) \n",
"Paired summary Baseline I Baseline II 6.6e+00 ± 8.1e-01, 6.3e+00 ± 7.4e-01 (32) \n",
"Paired summary Baseline II 30 Hz 6.3e+00 ± 7.4e-01, 4.9e-02 ± 5.4e-02 (32) \n",
"Wilcoxon 11 Hz 30 Hz 1.3e+02, 1.4e-02, (32) \n",
"Wilcoxon 11 Hz Baseline II 0.0e+00, 8.0e-07, (32) \n",
"Wilcoxon Baseline I 11 Hz 2.0e+00, 8.7e-09, (44) \n",
"Wilcoxon Baseline I 30 Hz 0.0e+00, 8.0e-07, (32) \n",
"Wilcoxon Baseline I Baseline II 2.4e+02, 5.9e-01, (32) \n",
"Wilcoxon Baseline II 30 Hz 0.0e+00, 8.0e-07, (32) \n",
"\n",
" Theta peak \\\n",
"11 Hz 3.2e-04 ± 3.1e-05 (44) \n",
"30 Hz 1.9e-04 ± 2.7e-05 (34) \n",
"Baseline I 1.7e-03 ± 1.8e-04 (46) \n",
"Baseline II 1.6e-03 ± 2.1e-04 (32) \n",
"Normality 11 Hz 2.4e+01, 5.3e-06 \n",
"Normality 30 Hz 3.8e+01, 5.3e-09 \n",
"Normality Baseline I 3.2e+01, 1.3e-07 \n",
"Normality Baseline II 2.5e+01, 3.4e-06 \n",
"Paired summary 11 Hz 30 Hz 3.0e-04 ± 3.1e-05, 1.9e-04 ± 2.8e-05 (32) \n",
"Paired summary 11 Hz Baseline II 3.0e-04 ± 3.1e-05, 1.6e-03 ± 2.1e-04 (32) \n",
"Paired summary Baseline I 11 Hz 1.6e-03 ± 1.9e-04, 3.2e-04 ± 3.1e-05 (44) \n",
"Paired summary Baseline I 30 Hz 1.7e-03 ± 2.3e-04, 1.9e-04 ± 2.8e-05 (32) \n",
"Paired summary Baseline I Baseline II 1.7e-03 ± 2.3e-04, 1.6e-03 ± 2.1e-04 (32) \n",
"Paired summary Baseline II 30 Hz 1.6e-03 ± 2.1e-04, 1.9e-04 ± 2.8e-05 (32) \n",
"Wilcoxon 11 Hz 30 Hz 1.2e+02, 5.6e-03, (32) \n",
"Wilcoxon 11 Hz Baseline II 3.0e+00, 1.1e-06, (32) \n",
"Wilcoxon Baseline I 11 Hz 3.0e+00, 9.4e-09, (44) \n",
"Wilcoxon Baseline I 30 Hz 0.0e+00, 8.0e-07, (32) \n",
"Wilcoxon Baseline I Baseline II 2.3e+02, 5.5e-01, (32) \n",
"Wilcoxon Baseline II 30 Hz 3.0e+00, 1.1e-06, (32) \n",
"\n",
" Theta freq \\\n",
"11 Hz 7.7e+00 ± 1.3e-01 (44) \n",
"30 Hz 7.4e+00 ± 1.4e-01 (34) \n",
"Baseline I 7.8e+00 ± 4.0e-02 (46) \n",
"Baseline II 8.1e+00 ± 4.7e-02 (32) \n",
"Normality 11 Hz 1.9e+00, 3.9e-01 \n",
"Normality 30 Hz 7.2e+00, 2.8e-02 \n",
"Normality Baseline I 5.9e+00, 5.3e-02 \n",
"Normality Baseline II 4.7e+00, 9.7e-02 \n",
"Paired summary 11 Hz 30 Hz 7.6e+00 ± 1.5e-01, 7.3e+00 ± 1.4e-01 (32) \n",
"Paired summary 11 Hz Baseline II 7.6e+00 ± 1.5e-01, 8.1e+00 ± 4.7e-02 (32) \n",
"Paired summary Baseline I 11 Hz 7.8e+00 ± 4.2e-02, 7.7e+00 ± 1.3e-01 (44) \n",
"Paired summary Baseline I 30 Hz 7.8e+00 ± 4.4e-02, 7.3e+00 ± 1.4e-01 (32) \n",
"Paired summary Baseline I Baseline II 7.8e+00 ± 4.4e-02, 8.1e+00 ± 4.7e-02 (32) \n",
"Paired summary Baseline II 30 Hz 8.1e+00 ± 4.7e-02, 7.3e+00 ± 1.4e-01 (32) \n",
"Wilcoxon 11 Hz 30 Hz 1.2e+02, 4.5e-02, (32) \n",
"Wilcoxon 11 Hz Baseline II 1.2e+02, 9.3e-03, (32) \n",
"Wilcoxon Baseline I 11 Hz 3.6e+02, 4.7e-01, (44) \n",
"Wilcoxon Baseline I 30 Hz 9.5e+01, 1.6e-03, (32) \n",
"Wilcoxon Baseline I Baseline II 6.0e+00, 9.0e-06, (32) \n",
"Wilcoxon Baseline II 30 Hz 5.0e+01, 9.9e-05, (32) \n",
"\n",
" Theta half width \\\n",
"11 Hz 1.7e+00 ± 3.0e-01 (43) \n",
"30 Hz 1.2e+01 ± 1.9e+00 (34) \n",
"Baseline I 7.7e-01 ± 1.8e-02 (46) \n",
"Baseline II 8.4e-01 ± 3.2e-02 (32) \n",
"Normality 11 Hz 1.0e+01, 5.5e-03 \n",
"Normality 30 Hz 1.9e+02, 2.2e-41 \n",
"Normality Baseline I 1.9e+00, 3.8e-01 \n",
"Normality Baseline II 1.6e+01, 2.8e-04 \n",
"Paired summary 11 Hz 30 Hz 1.5e+00 ± 3.5e-01, 1.1e+01 ± 2.0e+00 (31) \n",
"Paired summary 11 Hz Baseline II 1.5e+00 ± 3.5e-01, 8.6e-01 ± 2.5e-02 (31) \n",
"Paired summary Baseline I 11 Hz 7.8e-01 ± 1.8e-02, 1.7e+00 ± 3.0e-01 (43) \n",
"Paired summary Baseline I 30 Hz 7.6e-01 ± 2.0e-02, 1.2e+01 ± 2.0e+00 (32) \n",
"Paired summary Baseline I Baseline II 7.6e-01 ± 2.0e-02, 8.4e-01 ± 3.2e-02 (32) \n",
"Paired summary Baseline II 30 Hz 8.4e-01 ± 3.2e-02, 1.2e+01 ± 2.0e+00 (32) \n",
"Wilcoxon 11 Hz 30 Hz 6.7e+01, 3.9e-04, (31) \n",
"Wilcoxon 11 Hz Baseline II 2.3e+02, 6.7e-01, (31) \n",
"Wilcoxon Baseline I 11 Hz 4.3e+02, 6.2e-01, (43) \n",
"Wilcoxon Baseline I 30 Hz 7.1e+01, 3.1e-04, (32) \n",
"Wilcoxon Baseline I Baseline II 1.4e+02, 2.3e-02, (32) \n",
"Wilcoxon Baseline II 30 Hz 7.5e+01, 4.1e-04, (32) \n",
"\n",
" Stim bandpower \\\n",
"11 Hz 9.6e-04 ± 8.0e-05 (44) \n",
"30 Hz 1.8e-03 ± 3.3e-04 (34) \n",
"Baseline I nan ± nan (0) \n",
"Baseline II nan ± nan (0) \n",
"Normality 11 Hz 1.7e+01, 1.8e-04 \n",
"Normality 30 Hz 1.7e+01, 1.7e-04 \n",
"Normality Baseline I NaN \n",
"Normality Baseline II NaN \n",
"Paired summary 11 Hz 30 Hz 9.7e-04 ± 9.3e-05, 1.8e-03 ± 3.4e-04 (32) \n",
"Paired summary 11 Hz Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 11 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 30 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline II 30 Hz nan ± nan, nan ± nan (0) \n",
"Wilcoxon 11 Hz 30 Hz 2.1e+02, 2.9e-01, (32) \n",
"Wilcoxon 11 Hz Baseline II NaN \n",
"Wilcoxon Baseline I 11 Hz NaN \n",
"Wilcoxon Baseline I 30 Hz NaN \n",
"Wilcoxon Baseline I Baseline II NaN \n",
"Wilcoxon Baseline II 30 Hz NaN \n",
"\n",
" Stim relpower \\\n",
"11 Hz 1.1e-01 ± 7.4e-03 (44) \n",
"30 Hz 1.6e-01 ± 2.3e-02 (34) \n",
"Baseline I nan ± nan (0) \n",
"Baseline II nan ± nan (0) \n",
"Normality 11 Hz 3.9e+00, 1.4e-01 \n",
"Normality 30 Hz 1.5e+01, 4.8e-04 \n",
"Normality Baseline I NaN \n",
"Normality Baseline II NaN \n",
"Paired summary 11 Hz 30 Hz 1.1e-01 ± 8.6e-03, 1.6e-01 ± 2.4e-02 (32) \n",
"Paired summary 11 Hz Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 11 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 30 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline II 30 Hz nan ± nan, nan ± nan (0) \n",
"Wilcoxon 11 Hz 30 Hz 2.0e+02, 2.2e-01, (32) \n",
"Wilcoxon 11 Hz Baseline II NaN \n",
"Wilcoxon Baseline I 11 Hz NaN \n",
"Wilcoxon Baseline I 30 Hz NaN \n",
"Wilcoxon Baseline I Baseline II NaN \n",
"Wilcoxon Baseline II 30 Hz NaN \n",
"\n",
" Stim relpeak \\\n",
"11 Hz 1.6e+01 ± 1.9e+00 (44) \n",
"30 Hz 8.6e+01 ± 1.4e+01 (34) \n",
"Baseline I nan ± nan (0) \n",
"Baseline II nan ± nan (0) \n",
"Normality 11 Hz 5.8e+00, 5.6e-02 \n",
"Normality 30 Hz 6.2e+00, 4.5e-02 \n",
"Normality Baseline I NaN \n",
"Normality Baseline II NaN \n",
"Paired summary 11 Hz 30 Hz 1.8e+01 ± 2.4e+00, 8.5e+01 ± 1.4e+01 (32) \n",
"Paired summary 11 Hz Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 11 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 30 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline II 30 Hz nan ± nan, nan ± nan (0) \n",
"Wilcoxon 11 Hz 30 Hz 3.0e+01, 1.2e-05, (32) \n",
"Wilcoxon 11 Hz Baseline II NaN \n",
"Wilcoxon Baseline I 11 Hz NaN \n",
"Wilcoxon Baseline I 30 Hz NaN \n",
"Wilcoxon Baseline I Baseline II NaN \n",
"Wilcoxon Baseline II 30 Hz NaN \n",
"\n",
" Stim half width \\\n",
"11 Hz 3.4e-01 ± 2.5e-03 (44) \n",
"30 Hz 3.0e-01 ± 2.3e-03 (23) \n",
"Baseline I nan ± nan (0) \n",
"Baseline II nan ± nan (0) \n",
"Normality 11 Hz 1.6e+01, 4.2e-04 \n",
"Normality 30 Hz 6.1e-01, 7.4e-01 \n",
"Normality Baseline I NaN \n",
"Normality Baseline II NaN \n",
"Paired summary 11 Hz 30 Hz 3.4e-01 ± 3.6e-03, 3.0e-01 ± 2.3e-03 (21) \n",
"Paired summary 11 Hz Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 11 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 30 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline II 30 Hz nan ± nan, nan ± nan (0) \n",
"Wilcoxon 11 Hz 30 Hz 0.0e+00, 9.5e-07, (21) \n",
"Wilcoxon 11 Hz Baseline II NaN \n",
"Wilcoxon Baseline I 11 Hz NaN \n",
"Wilcoxon Baseline I 30 Hz NaN \n",
"Wilcoxon Baseline I Baseline II NaN \n",
"Wilcoxon Baseline II 30 Hz NaN \n",
"\n",
" Stim p max \\\n",
"11 Hz 2.1e-03 ± 2.3e-04 (44) \n",
"30 Hz 5.3e-03 ± 1.1e-03 (34) \n",
"Baseline I nan ± nan (0) \n",
"Baseline II nan ± nan (0) \n",
"Normality 11 Hz 1.5e+01, 5.8e-04 \n",
"Normality 30 Hz 1.9e+01, 6.3e-05 \n",
"Normality Baseline I NaN \n",
"Normality Baseline II NaN \n",
"Paired summary 11 Hz 30 Hz 2.1e-03 ± 2.7e-04, 5.4e-03 ± 1.1e-03 (32) \n",
"Paired summary 11 Hz Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 11 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 30 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline II 30 Hz nan ± nan, nan ± nan (0) \n",
"Wilcoxon 11 Hz 30 Hz 1.6e+02, 5.0e-02, (32) \n",
"Wilcoxon 11 Hz Baseline II NaN \n",
"Wilcoxon Baseline I 11 Hz NaN \n",
"Wilcoxon Baseline I 30 Hz NaN \n",
"Wilcoxon Baseline I Baseline II NaN \n",
"Wilcoxon Baseline II 30 Hz NaN \n",
"\n",
" Stim strength \n",
"11 Hz 3.3e+00 ± 3.8e-01 (44) \n",
"30 Hz 1.3e+01 ± 2.8e+00 (34) \n",
"Baseline I nan ± nan (0) \n",
"Baseline II nan ± nan (0) \n",
"Normality 11 Hz 1.2e+01, 2.3e-03 \n",
"Normality 30 Hz 4.3e+01, 5.1e-10 \n",
"Normality Baseline I NaN \n",
"Normality Baseline II NaN \n",
"Paired summary 11 Hz 30 Hz 3.5e+00 ± 4.9e-01, 1.3e+01 ± 3.0e+00 (32) \n",
"Paired summary 11 Hz Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 11 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I 30 Hz nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline I Baseline II nan ± nan, nan ± nan (0) \n",
"Paired summary Baseline II 30 Hz nan ± nan, nan ± nan (0) \n",
"Wilcoxon 11 Hz 30 Hz 8.8e+01, 1.0e-03, (32) \n",
"Wilcoxon 11 Hz Baseline II NaN \n",
"Wilcoxon Baseline I 11 Hz NaN \n",
"Wilcoxon Baseline I 30 Hz NaN \n",
"Wilcoxon Baseline I Baseline II NaN \n",
"Wilcoxon Baseline II 30 Hz NaN "
]
},
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"\n",
"\n",
"stat = pd.DataFrame()\n",
"\n",
"for key, df in results.items():\n",
" Key = rename(key)\n",
" stat[Key] = df.agg(summarize)\n",
" stat[Key] = df.agg(summarize)\n",
"\n",
" for i, c1 in enumerate(df.columns):\n",
" try:\n",
" stat.loc[f'Normality {c1}', Key] = normality(df, c1)\n",
" except:\n",
" stat.loc[f'Normality {c1}', Key] = np.nan\n",
"# stat.loc[f'Shapiro {c1}', Key] = shapiro(df, c1)\n",
" for c2 in df.columns[i+1:]:\n",
"# stat.loc[f'MWU {c1} {c2}', Key] = MWU(df, [c1, c2])\n",
"# stat.loc[f'PRS {c1} {c2}', Key] = PRS(df, [c1, c2])\n",
" try:\n",
" stat.loc[f'Wilcoxon {c1} {c2}', Key] = wilcoxon(df, [c1, c2])\n",
" except:\n",
" stat.loc[f'Wilcoxon {c1} {c2}', Key] = np.nan\n",
"# stat.loc[f'Paired T {c1} {c2}', Key] = paired_t(df, [c1, c2])\n",
" stat.loc[f'Paired summary {c1} {c2}', Key] = summarize_wilcoxon(df, [c1, c2])\n",
"\n",
"stat.sort_index()"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [],
"source": [
"stat.to_latex(output_path / \"statistics\" / f\"statistics.tex\")\n",
"stat.to_csv(output_path / \"statistics\" / f\"statistics.csv\")"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [],
"source": [
"for key, result in results.items():\n",
" result.to_latex(output_path / \"statistics\" / f\"values_{key}.tex\")\n",
" result.to_csv(output_path / \"statistics\" / f\"values_{key}.csv\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Plot PSD"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [],
"source": [
"psd = pd.read_feather(pathlib.Path(\"output\") / (\"stimulus-lfp-response\" + zscore_str) / 'data' / 'psd.feather')\n",
"freqs = pd.read_feather(pathlib.Path(\"output\") / (\"stimulus-lfp-response\" + zscore_str) / 'data' / 'freqs.feather')"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [],
"source": [
"from septum_mec.analysis.plotting import plot_bootstrap_timeseries"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [],
"source": [
"freq = freqs.T.iloc[0].values\n",
"\n",
"mask = (freq < 49)"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAArsAAAFFCAYAAADsEyV2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAXEQAAFxEByibzPwAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4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/VZv58z/e45te3ynnNIyTYFWOeKuQk2B2EZcuWceutt2LbNq+//nrXm8Kll17KmjVriEQifPazn2XJkiUceuihzJkzh2AwyP3331/2TQHg1FNP5dRTTyWVSnV1YXjmmWd4++23efzxx0kmk9x+++2Ae9mw8/tyl+JG01gemxCifyN5Xtt8+HWsYyfr1E5erGmhvm2nnNc8QiaoiTFPFbIoyxztYYw7PWvXOj/9r1u3rqs1z09+8hNWrlzJ6aefzoIFC7oyCLt27erzWLlcjjfffJM333wTgIqKCt7//vezcuVKnnjiCVasWAHA008/3ZUx6Oxnubfm7/X19bz66qu0trYO9ekOyFgemxCifyN5XotrIU7W5nCZ7wQe+tfr5bzmIRLsijFPFXI4Zna0hzHuPPPMM4D75nDEEUcAbrPyTp239ZTNZvn9738PlNaC3XfffZx55pl86UtfKrls1umkk7onDnbu15lZePDBB0smhXSyLItLL72Us88+mxtvvHHAz28oxvLYhBD9O2DnNU2T85qHSLArxrzkiw+QfOEerPbG0R7KuKCU4v/+7/+6LruddtppTJ06FYB58+Z1bfejH/2opLZt06ZNXHTRRV21Xtls9weM008/nWAwyFtvvcX1119
"text/plain": [
"<Figure size 750x300 with 2 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"\n",
"fig, axs = plt.subplots(1, 2, sharex=True, sharey=True, figsize=(5,2))\n",
"axs = axs.repeat(2)\n",
"for i, (ax, query) in enumerate(zip(axs.ravel(), queries)):\n",
" selection = [\n",
" f'{r.action}_{r.channel_group}' \n",
" for i, r in lfp_results_hemisphere.query(query).iterrows()]\n",
" values = psd.loc[mask, selection].to_numpy()\n",
" values = 10 * np.log10(values)\n",
" plot_bootstrap_timeseries(freq[mask], values, ax=ax, lw=1, label=labels[i], color=colors[i])\n",
"# ax.set_title(titles[i])\n",
" ax.set_xlabel('Frequency Hz')\n",
" ax.legend(frameon=False)\n",
"axs[0].set_ylabel('PSD (dB/Hz)')\n",
"# axs[0].set_ylim(-31, 1)\n",
"despine()\n",
"\n",
"figname = 'lfp-psd'\n",
"fig.savefig(\n",
" output_path / 'figures' / f'{figname}.png', \n",
" bbox_inches='tight', transparent=True)\n",
"fig.savefig(\n",
" output_path / 'figures' / f'{figname}.svg', \n",
" bbox_inches='tight', transparent=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Store results in Expipe action"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [],
"source": [
"action = project.require_action(\"stimulus-lfp-response\" + '-' + stim_loc + zscore_str)"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_bandpower.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_relpeak.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_half_width.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_bandpower.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_relpower.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_half_width.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_energy.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_freq.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_p_max.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_energy.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_strength.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_energy.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_peak.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/statistics.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_relpower.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_relpeak.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_strength.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_bandpower.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_freq.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_relpeak.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/statistics.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_half_width.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_relpower.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_bandpower.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_p_max.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/.ipynb_checkpoints/values_theta_bandpower-checkpoint.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/.ipynb_checkpoints/statistics-checkpoint.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_relpeak.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_peak.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_relpower.csv',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_stim_energy.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/statistics/values_theta_half_width.tex',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_relpower.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_energy.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_strength.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_peak.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_bandpower.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_relpeak.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_p_max.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_freq.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_relpeak.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_energy.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_bandpower.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_freq.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_relpower.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_relpeak.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_half_width.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_relpower.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_half_width.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_bandpower.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_bandpower.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_half_width.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_energy.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_peak.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_p_max.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_half_width.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_relpower.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/.ipynb_checkpoints/lfp-psd-histogram-stim_bandpower-checkpoint.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/.ipynb_checkpoints/lfp-psd-histogram-theta_bandpower-checkpoint.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_energy.svg',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-theta_relpeak.png',\n",
" '/media/storage/expipe/septum-mec/actions/stimulus-lfp-response-ms-no-zscore/data/figures/lfp-psd-histogram-stim_strength.svg']"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"copy_tree(output_path, str(action.data_path()))"
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {},
"outputs": [],
"source": [
"septum_mec.analysis.registration.store_notebook(action, \"20_stimulus-lfp-response.ipynb\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
}
},
"nbformat": 4,
"nbformat_minor": 4
}