Browse Source

added MoSeq parsing

asobolev 11 months ago
parent
commit
2de535c579

File diff suppressed because it is too large
+ 88 - 5
analysis/AEPs/preprocessing.ipynb


File diff suppressed because it is too large
+ 28 - 38
analysis/active listening.ipynb


+ 203 - 57
analysis/performance - general.ipynb

@@ -2,7 +2,7 @@
  "cells": [
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": 1,
    "id": "da40959d",
    "metadata": {},
    "outputs": [],
@@ -62,7 +62,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 14,
+   "execution_count": 5,
    "id": "91af3047",
    "metadata": {},
    "outputs": [],
@@ -70,37 +70,73 @@
     "# session paths\n",
     "source = '/home/sobolev/nevermind/Andrey/data'\n",
     "#source = 'Z:\\\\Andrey\\\\data'\n",
-    "animal = '009265'\n",
+    "animal = '009266'\n",
     "\n",
     "# single sessions\n",
     "sessions = ['008228_hippoSIT_2022-03-11_14-48-39']\n",
     "\n",
     "# or list of sessions\n",
-    "sessions = get_sessions_list(os.path.join(source, animal), animal)[6:16]"
+    "sessions = get_sessions_list(os.path.join(source, animal), animal)#[6:16]"
    ]
   },
   {
    "cell_type": "code",
-   "execution_count": 15,
+   "execution_count": 6,
    "id": "896a0234",
    "metadata": {},
    "outputs": [
     {
      "data": {
       "text/plain": [
-       "['009265_hippoSIT_2023-02-24_09-53-26',\n",
-       " '009265_hippoSIT_2023-02-24_17-22-46',\n",
-       " '009265_hippoSIT_2023-02-27_10-18-32',\n",
-       " '009265_hippoSIT_2023-02-27_15-33-46',\n",
-       " '009265_hippoSIT_2023-02-28_09-16-50',\n",
-       " '009265_hippoSIT_2023-02-28_13-16-10',\n",
-       " '009265_hippoSIT_2023-02-28_20-45-04',\n",
-       " '009265_hippoSIT_2023-03-01_10-46-12',\n",
-       " '009265_hippoSIT_2023-03-02_09-32-54',\n",
-       " '009265_hippoSIT_2023-03-02_16-27-42']"
+       "['009266_hippoSIT_2023-02-28_19-53-56',\n",
+       " '009266_hippoSIT_2023-03-01_17-53-11',\n",
+       " '009266_hippoSIT_2023-03-06_15-10-36',\n",
+       " '009266_hippoSIT_2023-03-06_20-43-19',\n",
+       " '009266_hippoSIT_2023-03-08_17-06-45',\n",
+       " '009266_hippoSIT_2023-03-09_09-37-07',\n",
+       " '009266_hippoSIT_2023-03-09_19-12-22',\n",
+       " '009266_hippoSIT_2023-04-12_15-49-49',\n",
+       " '009266_hippoSIT_2023-04-13_08-57-46',\n",
+       " '009266_hippoSIT_2023-04-14_09-17-34',\n",
+       " '009266_hippoSIT_2023-04-17_09-06-10',\n",
+       " '009266_hippoSIT_2023-04-17_17-04-17',\n",
+       " '009266_hippoSIT_2023-04-18_10-10-37',\n",
+       " '009266_hippoSIT_2023-04-18_17-03-10',\n",
+       " '009266_hippoSIT_2023-04-19_10-33-51',\n",
+       " '009266_hippoSIT_2023-04-19_11-21-37',\n",
+       " '009266_hippoSIT_2023-04-19_17-12-48',\n",
+       " '009266_hippoSIT_2023-04-20_08-57-39',\n",
+       " '009266_hippoSIT_2023-04-20_15-24-14',\n",
+       " '009266_hippoSIT_2023-04-21_08-43-00',\n",
+       " '009266_hippoSIT_2023-04-21_13-12-31',\n",
+       " '009266_hippoSIT_2023-04-24_10-08-11',\n",
+       " '009266_hippoSIT_2023-04-24_16-56-55',\n",
+       " '009266_hippoSIT_2023-04-25_09-02-56',\n",
+       " '009266_hippoSIT_2023-04-25_17-27-51',\n",
+       " '009266_hippoSIT_2023-04-26_08-20-17',\n",
+       " '009266_hippoSIT_2023-04-27_08-50-53',\n",
+       " '009266_hippoSIT_2023-04-27_21-04-41',\n",
+       " '009266_hippoSIT_2023-04-28_09-04-09',\n",
+       " '009266_hippoSIT_2023-04-28_16-40-08',\n",
+       " '009266_hippoSIT_2023-05-02_12-22-14',\n",
+       " '009266_hippoSIT_2023-05-02_17-20-39',\n",
+       " '009266_hippoSIT_2023-05-03_08-22-14',\n",
+       " '009266_hippoSIT_2023-05-04_09-11-06',\n",
+       " '009266_hippoSIT_2023-05-04_19-47-15',\n",
+       " '009266_hippoSIT_2023-05-05_08-32-22',\n",
+       " '009266_hippoSIT_2023-05-05_15-06-54',\n",
+       " '009266_hippoSIT_2023-05-18_16-22-42',\n",
+       " '009266_hippoSIT_2023-05-19_10-22-53',\n",
+       " '009266_hippoSIT_2023-05-21_10-56-38',\n",
+       " '009266_hippoSIT_2023-05-22_09-27-22',\n",
+       " '009266_hippoSIT_2023-05-22_21-54-39',\n",
+       " '009266_hippoSIT_2023-05-23_09-18-05',\n",
+       " '009266_hippoSIT_2023-05-23_17-48-12',\n",
+       " '009266_hippoSIT_2023-05-25_09-56-32',\n",
+       " '009266_hippoSIT_2023-05-25_15-55-57']"
       ]
      },
-     "execution_count": 15,
+     "execution_count": 6,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -582,14 +618,14 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 122,
+   "execution_count": 7,
    "id": "43187d72",
    "metadata": {},
    "outputs": [],
    "source": [
     "# session paths\n",
     "source = '/home/sobolev/nevermind/Andrey/data'\n",
-    "animal = '006618'\n",
+    "animal = '009266'\n",
     "\n",
     "# or list of sessions\n",
     "sessions = get_sessions_list(os.path.join(source, animal), animal)"
@@ -964,28 +1000,30 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": 8,
    "id": "0ed0e8e4",
-   "metadata": {},
+   "metadata": {
+    "scrolled": true
+   },
    "outputs": [
     {
      "data": {
       "text/plain": [
-       "['009265_hippoSIT_2023-02-21_20-44-17',\n",
-       " '009265_hippoSIT_2023-02-22_08-50-47',\n",
-       " '009265_hippoSIT_2023-02-22_15-22-30',\n",
-       " '009265_hippoSIT_2023-02-23_09-08-17',\n",
-       " '009265_hippoSIT_2023-02-23_15-24-36']"
+       "['009266_hippoSIT_2023-02-28_19-53-56',\n",
+       " '009266_hippoSIT_2023-03-01_17-53-11',\n",
+       " '009266_hippoSIT_2023-03-06_15-10-36',\n",
+       " '009266_hippoSIT_2023-03-06_20-43-19',\n",
+       " '009266_hippoSIT_2023-03-08_17-06-45']"
       ]
      },
-     "execution_count": 5,
+     "execution_count": 8,
      "metadata": {},
      "output_type": "execute_result"
     }
    ],
    "source": [
     "source = '/home/sobolev/nevermind/Andrey/data'\n",
-    "animal = '009265'\n",
+    "animal = '009266'\n",
     "\n",
     "# or list of sessions\n",
     "sessions = get_sessions_list(os.path.join(source, animal), animal)#[-5:]\n",
@@ -994,7 +1032,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 14,
+   "execution_count": 9,
    "id": "1496cfad",
    "metadata": {},
    "outputs": [],
@@ -1015,42 +1053,62 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 15,
+   "execution_count": 22,
    "id": "13c14c76",
    "metadata": {},
    "outputs": [
     {
      "data": {
       "text/plain": [
-       "{'009265_hippoSIT_2023-02-21_20-44-17': 0.6944444444444444,\n",
-       " '009265_hippoSIT_2023-02-22_08-50-47': 0.5161290322580645,\n",
-       " '009265_hippoSIT_2023-02-22_15-22-30': 0.40625,\n",
-       " '009265_hippoSIT_2023-02-23_09-08-17': 0.45714285714285713,\n",
-       " '009265_hippoSIT_2023-02-23_15-24-36': 0.5277777777777778,\n",
-       " '009265_hippoSIT_2023-02-24_09-53-26': 0.7317073170731707,\n",
-       " '009265_hippoSIT_2023-02-24_17-22-46': 0.725,\n",
-       " '009265_hippoSIT_2023-02-27_10-18-32': 0.717948717948718,\n",
-       " '009265_hippoSIT_2023-02-27_15-33-46': 0.5714285714285714,\n",
-       " '009265_hippoSIT_2023-02-28_09-16-50': 0.5128205128205128,\n",
-       " '009265_hippoSIT_2023-02-28_13-16-10': 0.5789473684210527,\n",
-       " '009265_hippoSIT_2023-02-28_20-45-04': 0.4444444444444444,\n",
-       " '009265_hippoSIT_2023-03-01_10-46-12': 0.3333333333333333,\n",
-       " '009265_hippoSIT_2023-03-02_09-32-54': 0.75,\n",
-       " '009265_hippoSIT_2023-03-02_16-27-42': 0.38235294117647056,\n",
-       " '009265_hippoSIT_2023-03-02_20-11-35': 0.5897435897435898,\n",
-       " '009265_hippoSIT_2023-03-03_09-37-07': 0.7317073170731707,\n",
-       " '009265_hippoSIT_2023-03-03_16-00-47': 0.7073170731707317,\n",
-       " '009265_hippoSIT_2023-03-04_11-12-04': 0.7380952380952381,\n",
-       " '009265_hippoSIT_2023-03-05_11-52-17': 0.8048780487804879,\n",
-       " '009265_hippoSIT_2023-03-05_18-31-32': 0.8214285714285714,\n",
-       " '009265_hippoSIT_2023-03-08_18-10-07': 0.7777777777777778,\n",
-       " '009265_hippoSIT_2023-03-09_20-03-08': 0.5789473684210527,\n",
-       " '009265_hippoSIT_2023-03-10_09-57-34': 0.4594594594594595,\n",
-       " '009265_hippoSIT_2023-04-13_09-54-39': 0.4857142857142857,\n",
-       " '009265_hippoSIT_2023-04-20_11-39-02': 0.7727272727272727}"
+       "{'009266_hippoSIT_2023-02-28_19-53-56': 0.40625,\n",
+       " '009266_hippoSIT_2023-03-01_17-53-11': 0.16129032258064516,\n",
+       " '009266_hippoSIT_2023-03-06_15-10-36': 0.6842105263157895,\n",
+       " '009266_hippoSIT_2023-03-06_20-43-19': 0.3333333333333333,\n",
+       " '009266_hippoSIT_2023-03-08_17-06-45': 0.6388888888888888,\n",
+       " '009266_hippoSIT_2023-03-09_09-37-07': 0.6052631578947368,\n",
+       " '009266_hippoSIT_2023-03-09_19-12-22': 0.4411764705882353,\n",
+       " '009266_hippoSIT_2023-04-12_15-49-49': 0.30303030303030304,\n",
+       " '009266_hippoSIT_2023-04-13_08-57-46': 0.5,\n",
+       " '009266_hippoSIT_2023-04-14_09-17-34': 0.5142857142857142,\n",
+       " '009266_hippoSIT_2023-04-17_09-06-10': 0.8478260869565217,\n",
+       " '009266_hippoSIT_2023-04-17_17-04-17': 0.9019607843137255,\n",
+       " '009266_hippoSIT_2023-04-18_10-10-37': 0.7560975609756098,\n",
+       " '009266_hippoSIT_2023-04-18_17-03-10': 0.8222222222222222,\n",
+       " '009266_hippoSIT_2023-04-19_10-33-51': 0.6,\n",
+       " '009266_hippoSIT_2023-04-19_11-21-37': 0.3125,\n",
+       " '009266_hippoSIT_2023-04-19_17-12-48': 0.5945945945945946,\n",
+       " '009266_hippoSIT_2023-04-20_08-57-39': 0.6666666666666666,\n",
+       " '009266_hippoSIT_2023-04-20_15-24-14': 0.7777777777777778,\n",
+       " '009266_hippoSIT_2023-04-21_08-43-00': 0.4857142857142857,\n",
+       " '009266_hippoSIT_2023-04-21_13-12-31': 0.6153846153846154,\n",
+       " '009266_hippoSIT_2023-04-24_10-08-11': 0.8409090909090909,\n",
+       " '009266_hippoSIT_2023-04-24_16-56-55': 0.5526315789473685,\n",
+       " '009266_hippoSIT_2023-04-25_09-02-56': 0.7380952380952381,\n",
+       " '009266_hippoSIT_2023-04-25_17-27-51': 0.8478260869565217,\n",
+       " '009266_hippoSIT_2023-04-26_08-20-17': 0.5789473684210527,\n",
+       " '009266_hippoSIT_2023-04-27_08-50-53': 0.7906976744186046,\n",
+       " '009266_hippoSIT_2023-04-27_21-04-41': 0.5142857142857142,\n",
+       " '009266_hippoSIT_2023-04-28_09-04-09': 0.22580645161290322,\n",
+       " '009266_hippoSIT_2023-04-28_16-40-08': 0.1935483870967742,\n",
+       " '009266_hippoSIT_2023-05-02_12-22-14': 0.6923076923076923,\n",
+       " '009266_hippoSIT_2023-05-02_17-20-39': 0.5405405405405406,\n",
+       " '009266_hippoSIT_2023-05-03_08-22-14': 0.8837209302325582,\n",
+       " '009266_hippoSIT_2023-05-04_09-11-06': 0.05263157894736842,\n",
+       " '009266_hippoSIT_2023-05-04_19-47-15': 0.7954545454545454,\n",
+       " '009266_hippoSIT_2023-05-05_08-32-22': 0.5945945945945946,\n",
+       " '009266_hippoSIT_2023-05-05_15-06-54': 0.7560975609756098,\n",
+       " '009266_hippoSIT_2023-05-18_16-22-42': 0.6388888888888888,\n",
+       " '009266_hippoSIT_2023-05-19_10-22-53': 0.6923076923076923,\n",
+       " '009266_hippoSIT_2023-05-21_10-56-38': 0.8095238095238095,\n",
+       " '009266_hippoSIT_2023-05-22_09-27-22': 0.6923076923076923,\n",
+       " '009266_hippoSIT_2023-05-22_21-54-39': 0.8048780487804879,\n",
+       " '009266_hippoSIT_2023-05-23_09-18-05': 0.7857142857142857,\n",
+       " '009266_hippoSIT_2023-05-23_17-48-12': 0.7297297297297297,\n",
+       " '009266_hippoSIT_2023-05-25_09-56-32': 0.7804878048780488,\n",
+       " '009266_hippoSIT_2023-05-25_15-55-57': 0.7}"
       ]
      },
-     "execution_count": 15,
+     "execution_count": 22,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -1061,9 +1119,97 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 27,
    "id": "3aef85c6",
    "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "['A',\n",
+       " 'A',\n",
+       " 'A',\n",
+       " 'A',\n",
+       " 'A',\n",
+       " 'A',\n",
+       " 'A',\n",
+       " 'L',\n",
+       " 'L',\n",
+       " 'L',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'FD',\n",
+       " 'F',\n",
+       " 'D',\n",
+       " 'D',\n",
+       " 'A',\n",
+       " 'A',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'D',\n",
+       " 'D',\n",
+       " 'D',\n",
+       " 'FA',\n",
+       " 'A',\n",
+       " 'D',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'D',\n",
+       " 'D',\n",
+       " 'D',\n",
+       " 'D',\n",
+       " 'D',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'D',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'F',\n",
+       " 'D',\n",
+       " 'F']"
+      ]
+     },
+     "execution_count": 27,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "s_types = {}\n",
+    "for session in sessions:\n",
+    "    s_path = os.path.join(source, animal, session)\n",
+    "    h5name = os.path.join(s_path, session + '.h5')\n",
+    "\n",
+    "    with h5py.File(h5name, 'r') as f:\n",
+    "        cfg = json.loads(f['processed'].attrs['parameters'])\n",
+    "        \n",
+    "    cfg_bgr = cfg['sound']['sounds']['background']\n",
+    "    cfg_tgt = cfg['sound']['sounds']['target']\n",
+    "    \n",
+    "    s_type = ''\n",
+    "    if cfg_bgr['freq'] != cfg_tgt['freq']:\n",
+    "        s_type += 'F'\n",
+    "    if cfg_bgr['amp'] != cfg_tgt['amp']:\n",
+    "        s_type += 'A'\n",
+    "    if cfg_bgr['duration'] != cfg_tgt['duration']:\n",
+    "        s_type += 'D'\n",
+    "    if s_type == '':\n",
+    "        s_type = 'L'\n",
+    "    s_types[session] = s_type\n",
+    "    \n",
+    "list(s_types.values())"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "7bc5b8b7",
+   "metadata": {},
    "outputs": [],
    "source": []
   }

File diff suppressed because it is too large
+ 383 - 79
analysis/MoSeq.ipynb


+ 367 - 3
postprocessing/execute.ipynb

@@ -182,18 +182,382 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 4,
    "id": "6126ef98",
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "import h5py\n",
+    "import os\n",
+    "import pandas as pd"
+   ]
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 6,
    "id": "4485e614",
    "metadata": {},
    "outputs": [],
+   "source": [
+    "source = '/home/sobolev/nevermind/Andrey/data'\n",
+    "session = '009266_hippoSIT_2023-04-24_16-56-55'\n",
+    "\n",
+    "animal      = session.split('_')[0]\n",
+    "sessionpath = os.path.join(source, animal, session)\n",
+    "dlc_file = os.path.join(sessionpath, 'dlc.csv')\n",
+    "\n",
+    "#with h5py.File(dlc_file, 'r') as f:\n",
+    "#    aeps = np.array(f['aeps'])\n",
+    "#    aeps_events = np.array(f['aeps_events'])"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 7,
+   "id": "433b7b01",
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stderr",
+     "output_type": "stream",
+     "text": [
+      "/home/sobolev/projects/pySIT/lib/python3.8/site-packages/IPython/core/interactiveshell.py:3441: DtypeWarning: Columns (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27) have mixed types.Specify dtype option on import or set low_memory=False.\n",
+      "  exec(code_obj, self.user_global_ns, self.user_ns)\n"
+     ]
+    }
+   ],
+   "source": [
+    "df = pd.read_csv(dlc_file)"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 8,
+   "id": "b4be27ef",
+   "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>scorer</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.1</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.2</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.3</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.4</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.5</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.6</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.7</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.8</th>\n",
+       "      <th>...</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.17</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.18</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.19</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.20</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.21</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.22</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.23</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.24</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.25</th>\n",
+       "      <th>DLC_resnet50_timeSITOct21shuffle4_700000.26</th>\n",
+       "    </tr>\n",
+       "  </thead>\n",
+       "  <tbody>\n",
+       "    <tr>\n",
+       "      <th>0</th>\n",
+       "      <td>bodyparts</td>\n",
+       "      <td>left_eye</td>\n",
+       "      <td>left_eye</td>\n",
+       "      <td>left_eye</td>\n",
+       "      <td>right_eye</td>\n",
+       "      <td>right_eye</td>\n",
+       "      <td>right_eye</td>\n",
+       "      <td>left_ear</td>\n",
+       "      <td>left_ear</td>\n",
+       "      <td>left_ear</td>\n",
+       "      <td>...</td>\n",
+       "      <td>red_dot</td>\n",
+       "      <td>tail_base</td>\n",
+       "      <td>tail_base</td>\n",
+       "      <td>tail_base</td>\n",
+       "      <td>lower_spine</td>\n",
+       "      <td>lower_spine</td>\n",
+       "      <td>lower_spine</td>\n",
+       "      <td>neck</td>\n",
+       "      <td>neck</td>\n",
+       "      <td>neck</td>\n",
+       "    </tr>\n",
+       "    <tr>\n",
+       "      <th>1</th>\n",
+       "      <td>coords</td>\n",
+       "      <td>x</td>\n",
+       "      <td>y</td>\n",
+       "      <td>likelihood</td>\n",
+       "      <td>x</td>\n",
+       "      <td>y</td>\n",
+       "      <td>likelihood</td>\n",
+       "      <td>x</td>\n",
+       "      <td>y</td>\n",
+       "      <td>likelihood</td>\n",
+       "      <td>...</td>\n",
+       "      <td>likelihood</td>\n",
+       "      <td>x</td>\n",
+       "      <td>y</td>\n",
+       "      <td>likelihood</td>\n",
+       "      <td>x</td>\n",
+       "      <td>y</td>\n",
+       "      <td>likelihood</td>\n",
+       "      <td>x</td>\n",
+       "      <td>y</td>\n",
+       "      <td>likelihood</td>\n",
+       "    </tr>\n",
+       "    <tr>\n",
+       "      <th>2</th>\n",
+       "      <td>0</td>\n",
+       "      <td>651.7044067382812</td>\n",
+       "      <td>581.309814453125</td>\n",
+       "      <td>0.9999692440032959</td>\n",
+       "      <td>641.3778686523438</td>\n",
+       "      <td>588.9384765625</td>\n",
+       "      <td>0.9999958276748657</td>\n",
+       "      <td>649.8087768554688</td>\n",
+       "      <td>572.6547241210938</td>\n",
+       "      <td>0.9999592304229736</td>\n",
+       "      <td>...</td>\n",
+       "      <td>0.9999963045120239</td>\n",
+       "      <td>625.6045532226562</td>\n",
+       "      <td>528.5950927734375</td>\n",
+       "      <td>0.9999996423721313</td>\n",
+       "      <td>629.8932495117188</td>\n",
+       "      <td>544.019775390625</td>\n",
+       "      <td>0.9999817609786987</td>\n",
+       "      <td>637.4949951171875</td>\n",
+       "      <td>568.9853515625</td>\n",
+       "      <td>0.9994956254959106</td>\n",
+       "    </tr>\n",
+       "    <tr>\n",
+       "      <th>3</th>\n",
+       "      <td>1</td>\n",
+       "      <td>651.7330322265625</td>\n",
+       "      <td>581.3253173828125</td>\n",
+       "      <td>0.9999746084213257</td>\n",
+       "      <td>641.5486450195312</td>\n",
+       "      <td>588.9435424804688</td>\n",
+       "      <td>0.9999963045120239</td>\n",
+       "      <td>649.8545532226562</td>\n",
+       "      <td>572.6721801757812</td>\n",
+       "      <td>0.999961256980896</td>\n",
+       "      <td>...</td>\n",
+       "      <td>0.9999960660934448</td>\n",
+       "      <td>625.6072387695312</td>\n",
+       "      <td>528.6365966796875</td>\n",
+       "      <td>0.9999997615814209</td>\n",
+       "      <td>629.9107666015625</td>\n",
+       "      <td>544.2516479492188</td>\n",
+       "      <td>0.9999829530715942</td>\n",
+       "      <td>637.5068969726562</td>\n",
+       "      <td>569.1007080078125</td>\n",
+       "      <td>0.9992895126342773</td>\n",
+       "    </tr>\n",
+       "    <tr>\n",
+       "      <th>4</th>\n",
+       "      <td>2</td>\n",
+       "      <td>651.7330932617188</td>\n",
+       "      <td>581.485595703125</td>\n",
+       "      <td>0.9999744892120361</td>\n",
+       "      <td>641.5501098632812</td>\n",
+       "      <td>588.9569702148438</td>\n",
+       "      <td>0.9999963045120239</td>\n",
+       "      <td>650.0103149414062</td>\n",
+       "      <td>572.7637329101562</td>\n",
+       "      <td>0.9999610185623169</td>\n",
+       "      <td>...</td>\n",
+       "      <td>0.9999960660934448</td>\n",
+       "      <td>625.6411743164062</td>\n",
+       "      <td>528.6522827148438</td>\n",
+       "      <td>0.9999997615814209</td>\n",
+       "      <td>629.9863891601562</td>\n",
+       "      <td>544.2548828125</td>\n",
+       "      <td>0.9999831914901733</td>\n",
+       "      <td>637.69287109375</td>\n",
+       "      <td>569.1029052734375</td>\n",
+       "      <td>0.9992813467979431</td>\n",
+       "    </tr>\n",
+       "  </tbody>\n",
+       "</table>\n",
+       "<p>5 rows × 28 columns</p>\n",
+       "</div>"
+      ],
+      "text/plain": [
+       "      scorer DLC_resnet50_timeSITOct21shuffle4_700000  \\\n",
+       "0  bodyparts                                 left_eye   \n",
+       "1     coords                                        x   \n",
+       "2          0                        651.7044067382812   \n",
+       "3          1                        651.7330322265625   \n",
+       "4          2                        651.7330932617188   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.1  \\\n",
+       "0                                   left_eye   \n",
+       "1                                          y   \n",
+       "2                           581.309814453125   \n",
+       "3                          581.3253173828125   \n",
+       "4                           581.485595703125   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.2  \\\n",
+       "0                                   left_eye   \n",
+       "1                                 likelihood   \n",
+       "2                         0.9999692440032959   \n",
+       "3                         0.9999746084213257   \n",
+       "4                         0.9999744892120361   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.3  \\\n",
+       "0                                  right_eye   \n",
+       "1                                          x   \n",
+       "2                          641.3778686523438   \n",
+       "3                          641.5486450195312   \n",
+       "4                          641.5501098632812   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.4  \\\n",
+       "0                                  right_eye   \n",
+       "1                                          y   \n",
+       "2                             588.9384765625   \n",
+       "3                          588.9435424804688   \n",
+       "4                          588.9569702148438   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.5  \\\n",
+       "0                                  right_eye   \n",
+       "1                                 likelihood   \n",
+       "2                         0.9999958276748657   \n",
+       "3                         0.9999963045120239   \n",
+       "4                         0.9999963045120239   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.6  \\\n",
+       "0                                   left_ear   \n",
+       "1                                          x   \n",
+       "2                          649.8087768554688   \n",
+       "3                          649.8545532226562   \n",
+       "4                          650.0103149414062   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.7  \\\n",
+       "0                                   left_ear   \n",
+       "1                                          y   \n",
+       "2                          572.6547241210938   \n",
+       "3                          572.6721801757812   \n",
+       "4                          572.7637329101562   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.8  ...  \\\n",
+       "0                                   left_ear  ...   \n",
+       "1                                 likelihood  ...   \n",
+       "2                         0.9999592304229736  ...   \n",
+       "3                          0.999961256980896  ...   \n",
+       "4                         0.9999610185623169  ...   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.17  \\\n",
+       "0                                     red_dot   \n",
+       "1                                  likelihood   \n",
+       "2                          0.9999963045120239   \n",
+       "3                          0.9999960660934448   \n",
+       "4                          0.9999960660934448   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.18  \\\n",
+       "0                                   tail_base   \n",
+       "1                                           x   \n",
+       "2                           625.6045532226562   \n",
+       "3                           625.6072387695312   \n",
+       "4                           625.6411743164062   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.19  \\\n",
+       "0                                   tail_base   \n",
+       "1                                           y   \n",
+       "2                           528.5950927734375   \n",
+       "3                           528.6365966796875   \n",
+       "4                           528.6522827148438   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.20  \\\n",
+       "0                                   tail_base   \n",
+       "1                                  likelihood   \n",
+       "2                          0.9999996423721313   \n",
+       "3                          0.9999997615814209   \n",
+       "4                          0.9999997615814209   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.21  \\\n",
+       "0                                 lower_spine   \n",
+       "1                                           x   \n",
+       "2                           629.8932495117188   \n",
+       "3                           629.9107666015625   \n",
+       "4                           629.9863891601562   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.22  \\\n",
+       "0                                 lower_spine   \n",
+       "1                                           y   \n",
+       "2                            544.019775390625   \n",
+       "3                           544.2516479492188   \n",
+       "4                              544.2548828125   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.23  \\\n",
+       "0                                 lower_spine   \n",
+       "1                                  likelihood   \n",
+       "2                          0.9999817609786987   \n",
+       "3                          0.9999829530715942   \n",
+       "4                          0.9999831914901733   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.24  \\\n",
+       "0                                        neck   \n",
+       "1                                           x   \n",
+       "2                           637.4949951171875   \n",
+       "3                           637.5068969726562   \n",
+       "4                             637.69287109375   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.25  \\\n",
+       "0                                        neck   \n",
+       "1                                           y   \n",
+       "2                              568.9853515625   \n",
+       "3                           569.1007080078125   \n",
+       "4                           569.1029052734375   \n",
+       "\n",
+       "  DLC_resnet50_timeSITOct21shuffle4_700000.26  \n",
+       "0                                        neck  \n",
+       "1                                  likelihood  \n",
+       "2                          0.9994956254959106  \n",
+       "3                          0.9992895126342773  \n",
+       "4                          0.9992813467979431  \n",
+       "\n",
+       "[5 rows x 28 columns]"
+      ]
+     },
+     "execution_count": 8,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "df.head()"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "46e18f9a",
+   "metadata": {},
+   "outputs": [],
    "source": []
   }
  ],

File diff suppressed because it is too large
+ 37045 - 36360
sorting/ss-neurosuite.ipynb