Skip to content

Commit

Permalink
Add auto_proc and requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrasche committed Jan 21, 2015
1 parent 1e16de0 commit 43819c4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions example/procs/auto_proc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from pandas import DataFrame
from memtask.proc import ProcShow, RecBox, run_task
from psychopy import visual, core, event

df = DataFrame.from_csv('example/trials/simple_span.csv')
print df
win = visual.Window([800,600])
P = ProcShow(win)
R = RecBox(win, pos = [0, 0])
proc_dict = {'learn': P,
'recall': R
}
run_task([row for ii, row in df.iterrows()], proc_dict)
12 changes: 12 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Pillow==2.7.0
PsychoPy==1.81.03
gnureadline==6.3.3
ipython==2.3.1
numpy==1.9.1
pandas==0.15.2
pyglet==1.2alpha1
python-dateutil==2.4.0
pytz==2014.10
scipy==0.15.0
six==1.9.0
wsgiref==0.1.2

0 comments on commit 43819c4

Please sign in to comment.