generate images like the stimuli used in visual search experiments
Project description
searchstims
Python package to make stimuli like those used in classic visual search experiments
https://en.wikipedia.org/wiki/Visual_search
... but with the exact size to feed them to your favorite neural network.
For a recent review of factors influencing visual search, please see:
http://search.bwh.harvard.edu/new/pubs/FiveFactors_Wolfe-Horowitz_2017.pdf
Installation
pip install searchstims
If you want to download and install locally into an environment with Anaconda:
/home/you/Documents $ conda create -n searchstims-env python=3.6 numpy pygame
/home/you/Documents $ source activate searchstims-env
(searchstims-env) /home/you/Documents $ git clone
(searchstim) /home/you/Documents $ cd searchstims
(searchstim) /home/you/Documents/searchstims $ pip install -e .
Usage
The searchstims
package installs itself so that you can run it from the
command line. You will use a config.ini file to specify the visual search stimuli
you want the package to generate.
/home/you/Documents $ searchstims config.ini
Running the example script will create a folder ~/output
with visual search stimuli.
For more detail on the structure of config.ini
files used with this package, see
./doc/config.md.
.json
output file
In addition to saving visual search stimuli in the output folder, searchstims
saves information about stimuli in a .json
output file. This .json
file is
provided to make it easier to work with the visual search image files,
and analyze results obtained with them. For more detail, see ./doc/json.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for searchstims-0.2.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c159e44217602cfcfdf55c4a6647ed000ebc93335a1abc76e8fc006aee5733d6 |
|
MD5 | ab55a34b3160525654e87898c80cf875 |
|
BLAKE2b-256 | f1b0f478e475de1519cfb44f545a253396cf15910411fe2fffbee666dde4dc7f |