|
@@ -1000,7 +1000,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 8,
|
|
|
+ "execution_count": 3,
|
|
|
"id": "0ed0e8e4",
|
|
|
"metadata": {
|
|
|
"scrolled": true
|
|
@@ -1009,14 +1009,14 @@
|
|
|
{
|
|
|
"data": {
|
|
|
"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']"
|
|
|
+ "['009266_hippoSIT_2022-12-20_16-33-45',\n",
|
|
|
+ " '009266_hippoSIT_2022-12-21_16-59-56',\n",
|
|
|
+ " '009266_hippoSIT_2022-12-22_10-27-35',\n",
|
|
|
+ " '009266_hippoSIT_2022-12-23_10-10-41',\n",
|
|
|
+ " '009266_hippoSIT_2022-12-26_12-18-22']"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 8,
|
|
|
+ "execution_count": 3,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|
|
@@ -1032,7 +1032,7 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 9,
|
|
|
+ "execution_count": 5,
|
|
|
"id": "1496cfad",
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
@@ -1046,6 +1046,8 @@
|
|
|
" with h5py.File(h5name, 'r') as f:\n",
|
|
|
" #cfg = json.loads(f['processed'].attrs['parameters'])\n",
|
|
|
" #tl = np.array(f['processed']['timeline']) # time, X, Y, speed\n",
|
|
|
+ " if not 'processed' in f:\n",
|
|
|
+ " continue\n",
|
|
|
" trial_idxs = np.array(f['processed']['trial_idxs']) # idx start, idx end, X, Y, R, trial result (idx to tl)\n",
|
|
|
"\n",
|
|
|
" success_rates[session] = trial_idxs[:, 5].sum() / len(trial_idxs)"
|
|
@@ -1053,20 +1055,38 @@
|
|
|
},
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
- "execution_count": 22,
|
|
|
+ "execution_count": 6,
|
|
|
"id": "13c14c76",
|
|
|
"metadata": {},
|
|
|
"outputs": [
|
|
|
{
|
|
|
"data": {
|
|
|
"text/plain": [
|
|
|
- "{'009266_hippoSIT_2023-02-28_19-53-56': 0.40625,\n",
|
|
|
+ "{'009266_hippoSIT_2022-12-20_16-33-45': 0.675,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-21_16-59-56': 0.5142857142857142,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-22_10-27-35': 0.36363636363636365,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-23_10-10-41': 0.9056603773584906,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-26_12-21-18': 0.9433962264150944,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-27_11-29-41': 0.7222222222222222,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-27_17-22-28': 0.6086956521739131,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-28_11-51-50': 0.7115384615384616,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-28_15-51-10': 0.7741935483870968,\n",
|
|
|
+ " '009266_hippoSIT_2022-12-29_11-52-42': 0.78125,\n",
|
|
|
+ " '009266_hippoSIT_2023-02-02_17-05-17': 0.75,\n",
|
|
|
+ " '009266_hippoSIT_2023-02-27_09-33-24': 0.25,\n",
|
|
|
+ " '009266_hippoSIT_2023-02-28_10-11-03': 0.2727272727272727,\n",
|
|
|
+ " '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-02_21-07-57': 0.3125,\n",
|
|
|
+ " '009266_hippoSIT_2023-03-03_10-24-59': 0.6744186046511628,\n",
|
|
|
+ " '009266_hippoSIT_2023-03-03_16-53-46': 0.6153846153846154,\n",
|
|
|
+ " '009266_hippoSIT_2023-03-05_17-43-50': 0.6153846153846154,\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-03-10_08-59-25': 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",
|
|
@@ -1105,10 +1125,19 @@
|
|
|
" '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}"
|
|
|
+ " '009266_hippoSIT_2023-05-25_15-55-57': 0.7,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-13_08-49-11': 0.6904761904761905,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-14_08-21-23': 0.7674418604651163,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-15_09-25-15': 0.5142857142857142,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-15_17-30-45': 0.45454545454545453,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-16_08-49-13': 0.42424242424242425,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-19_08-58-35': 0.6410256410256411,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-20_08-26-29': 0.4117647058823529,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-21_08-15-10': 0.5135135135135135,\n",
|
|
|
+ " '009266_hippoSIT_2023-06-21_20-39-34': 0.5142857142857142}"
|
|
|
]
|
|
|
},
|
|
|
- "execution_count": 22,
|
|
|
+ "execution_count": 6,
|
|
|
"metadata": {},
|
|
|
"output_type": "execute_result"
|
|
|
}
|