Skip to content

Commit

Permalink
Typo in tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kümmerer <[email protected]>
  • Loading branch information
matthias-k committed Mar 27, 2024
1 parent c451191 commit 363db6a
Showing 1 changed file with 54 additions and 1 deletion.
55 changes: 54 additions & 1 deletion notebooks/Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# Pysaliency: A short tutorial\n",
"\n",
"`pysaliency` is a python library which aims at making analyzing and modeling of eye movement data convenient. It was build and extended over the course of multiple papers which are reflected in it's structure, mainly:\n",
"`pysaliency` is a python library which aims at making analyzing and modeling of eye movement data convenient. It was build and extended over the course of multiple papers which are reflected in its structure, mainly:\n",
"\n",
"* [Kümmerer, Wallis & Bethge: Information-theoretic model comparison unifies saliency metrics. PNAS 2015](http://www.pnas.org/content/112/52/16054)\n",
"* [Kümmerer, Wallis & Bethge: Saliency Benchmarking Made Easy: Separating Models, Maps and Metrics. ECCV 2018](http://openaccess.thecvf.com/content_ECCV_2018/html/Matthias_Kummerer_Saliency_Benchmarking_Made_ECCV_2018_paper.html)\n",
Expand Down Expand Up @@ -882,6 +882,59 @@
"could also have written:"
]
},
{
"cell_type": "code",
"execution_count": 40,
"id": "ddebf717-0ad4-4241-9f44-703a39c8386d",
"metadata": {},
"outputs": [],
"source": [
"from collections.abc import Sequence\n",
"from inspect import getmro"
]
},
{
"cell_type": "code",
"execution_count": 37,
"id": "c04669ae-a3bd-4c5e-be63-8ac5019ed0af",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"True"
]
},
"execution_count": 37,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"isinstance(stimuli, Sequence)"
]
},
{
"cell_type": "code",
"execution_count": 38,
"id": "b8452efb-b7c7-4f83-85a5-96fa7931f846",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"False"
]
},
"execution_count": 38,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"isinstance(np.arange(100), Sequence)"
]
},
{
"cell_type": "code",
"execution_count": 23,
Expand Down

0 comments on commit 363db6a

Please sign in to comment.