|
@@ -2,7 +2,7 @@
|
|
|
"cells": [
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 1,
|
|
|
+ "execution_count": 6,
|
|
|
"id": "c37dce82",
|
|
|
"metadata": {
|
|
|
"scrolled": true
|
|
@@ -39,7 +39,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 2,
|
|
|
+ "execution_count": 7,
|
|
|
"id": "a8ea2991",
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
@@ -75,7 +75,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 6,
|
|
|
+ "execution_count": 8,
|
|
|
"id": "3891b792",
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
@@ -88,19 +88,19 @@
|
|
|
"# test session\n",
|
|
|
"#filebase = '008229_hippoSIT_2022-05-16_20-36-44'\n",
|
|
|
"#filebase = '64_prSIT_2023-02-27_15-06-02'\n",
|
|
|
- "filebase = '009266_hippoSIT_2023-04-26_08-20-17'\n",
|
|
|
- "animal = filebase.split('_')[0]\n",
|
|
|
+ "#filebase = '009266_hippoSIT_2023-04-24_16-56-55'\n",
|
|
|
+ "#animal = filebase.split('_')[0]\n",
|
|
|
"#sessionpath = os.path.join(source, animal, filebase)\n",
|
|
|
"#h5name = os.path.join(source, animal, filebase, filebase + '.h5')\n",
|
|
|
- "sessionpath = os.path.join(source, filebase)\n",
|
|
|
- "h5name = os.path.join(source, filebase, filebase + '.h5')\n",
|
|
|
+ "#sessionpath = os.path.join(source, filebase)\n",
|
|
|
+ "#h5name = os.path.join(source, filebase, filebase + '.h5')\n",
|
|
|
"\n",
|
|
|
"#sessions = get_sessions_list(os.path.join(source, animal), animal)\n",
|
|
|
"#sessions = get_sessions_list(source, animal)\n",
|
|
|
"#sessions = [filebase]\n",
|
|
|
"#sessions = processed_008229\n",
|
|
|
"sessions = [\n",
|
|
|
- "'009266_hippoSIT_2023-04-26_08-20-17',\n",
|
|
|
+ " '009266_hippoSIT_2023-04-24_16-56-55',\n",
|
|
|
"]\n",
|
|
|
"\n",
|
|
|
"# FIXME move occupancy outside units\n",
|
|
@@ -117,7 +117,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 7,
|
|
|
+ "execution_count": 4,
|
|
|
"id": "347fcf3d",
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
@@ -126,48 +126,21 @@
|
|
|
"text/plain": [
|
|
|
"['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']"
|
|
|
+ " '009266_hippoSIT_2023-03-06_15-10-36']"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 7,
|
|
|
+ "execution_count": 4,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
|
],
|
|
|
"source": [
|
|
|
- "get_sessions_list(os.path.join(source, animal), animal)"
|
|
|
+ "get_sessions_list(os.path.join(source, animal), animal)[:3]"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 8,
|
|
|
+ "execution_count": 9,
|
|
|
"id": "24cd2f6e",
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
@@ -175,7 +148,7 @@
|
|
|
"name": "stdout",
|
|
|
"output_type": "stream",
|
|
|
"text": [
|
|
|
- "session 009266_hippoSIT_2023-04-26_08-20-17 done\n"
|
|
|
+ "session 009266_hippoSIT_2023-04-24_16-56-55 done\n"
|
|
|
]
|
|
|
}
|
|
|
],
|