This repository contains the original code used to generate the stimuli for the GlobalLocalOddballs project, an Allen Institute for Brain Science OpenScope project.
The GlobalLocalOddballs experiment was conceptualized by Jake Westerberg (Vanderbilt University), André Bastos (Vanderbilt University), and Alex Maier (Vanderbilt University). The stimuli were coded by [Jake Westerberg].
The experiment details, analyses, and results are forthcoming.
- Windows OS (see Camstim package)
- python 2.7
- psychopy 1.82.01
- camstim 0.2.4
- Built and licensed by the Allen Institute.
- Written in Python 2 and designed for Windows OS (requires
pywin32
). - Pickled stimulus presentation logs are typically saved under
user/camstim/output
.
- Navigate to repository and install conda environment.
conda env create -f openscope-glo-stim.yml
- Activate the environment.
conda activate openscope-glo-stim
- Install the AIBS
camstim
package in the environment.
pip install camstim/.
- Download and install
AVbin
for your OS.
You can try out a test script by navigating into the test-scripts folder and running any of the example file: python cohort-1-habituation-5min-drifting.py
- Pickled stimulus presentation logs are typically saved under
user/camstim/output
. - Sweep parameters are under a few keys of
['stimuli'][n]
, wheren
is the stimulus number. - Stimulus parameters are in the following dictionary:
['stimuli'][0]['stimParams']
or['stimuli'][0]['stim_params']
.
- On some computers, the black screen that should intervene each sequence appears as a white screen instead. Change the color_inversion value to
True
in the SESSION_PARAMS at the top of the .py file to fix.