Skip to content

Commit

Permalink
Merge pull request #24 from computational-psychology/feat_demos
Browse files Browse the repository at this point in the history
Reorganized (and updated) existing demos to fit new organization
  • Loading branch information
LynnSchmittwilken committed Mar 22, 2023
2 parents 969ae57 + 6da1150 commit cd8f644
Show file tree
Hide file tree
Showing 26 changed files with 1,009 additions and 1,397 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

Contains submodules for
- drawing basic visual stimulus components ([components](stimupy/components/))
- creating different (brightness) illusions ([illusions](stimupy/illusions/))
- replicating illusions in certain published papers ([papers](stimupy/papers/))
- creating different paramaterized stimuli ([stimuli](stimupy/stimuli/))
- replicating stimuli in certain published papers ([papers](stimupy/papers/))
converting pixel values to degrees of visual angle ([utils](stimupy/utils/))

`Stimupy` is a pure-Python package
Expand All @@ -21,8 +21,8 @@ so that they are reproducible, flexible, and easy.
- basic visual stimulus [components](stimupy/components/),
such as basic shapes, gratings, Gaussians, Gabors
- visual [noise](stimupy/noises/) textures, of different kinds,
- and many different stimuli commonly referred to as [illusions](stimupy/illusions/)
with some special regions of interest,
- and many different parameterized stimuli [stimuli](stimupy/stimuli/)
most with some special regions of interest,
such as Simultaneous Brightness Contrast, White's illusion,
but also Hermann Grids, checkerboards, Ponzo illusion, etc.

Expand All @@ -33,7 +33,7 @@ so that they are reproducible, flexible, and easy.
which might reveal relations between formerly unconnected stimuli

- Stimuli are also composable/composed:
`illusions` tend to be composed from several `components`.
`stimuli` tend to be composed from several `components`.

- Generated stimuli are output as a Python `dict`ionary,
containing the stimulus-image as a NumPy-array,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

{% block functions %}
{% if functions %}
:doc:`Demos <../../demos/illusions/{{name}}>`
:doc:`Demos <../../demos/stimuli/{{name}}>`
------------------------------------------------------------------------------

Functions
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:recursive:
stimupy.components
stimupy.illusions
stimupy.stimuli
stimupy.noises
stimupy.utils
stimupy.papers
Expand Down

0 comments on commit cd8f644

Please sign in to comment.