Skip to content

Commit

Permalink
Bugfix circular demo: circular_grating is now called circular.grating
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Nov 17, 2022
1 parent ec4e298 commit ab34f31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions demo/illusions/circular.ipynb
Expand Up @@ -235,9 +235,9 @@
"metadata": {},
"outputs": [],
"source": [
"from stimuli.components.circular import circular_grating\n",
"from stimuli.components.circular import grating\n",
"\n",
"help(circular_grating)\n",
"help(grating)\n",
"\n",
"# Define widgets\n",
"w_length = iw.IntSlider(value=5, min=1, max=10, description=\"heigh/width [deg]\")\n",
Expand Down Expand Up @@ -266,7 +266,7 @@
" intensities=None,\n",
" intensity_background=None,\n",
"):\n",
" stim = circular_grating(\n",
" stim = grating(\n",
" visual_size=(length, length),\n",
" ppd=ppd,\n",
" frequency=frequency,\n",
Expand Down Expand Up @@ -310,17 +310,17 @@
"metadata": {},
"outputs": [],
"source": [
"stim_freq = circular_grating(\n",
"stim_freq = grating(\n",
" visual_size=(8, 8),\n",
" ppd=32,\n",
" frequency=1.0,\n",
")\n",
"stim_width = circular_grating(\n",
"stim_width = grating(\n",
" visual_size=(8, 8),\n",
" ppd=32,\n",
" ring_width=0.5,\n",
")\n",
"stim_n = circular_grating(\n",
"stim_n = grating(\n",
" visual_size=(8, 8),\n",
" ppd=32,\n",
" n_rings=8,\n",
Expand Down

0 comments on commit ab34f31

Please sign in to comment.