nshepperd/nback — pull request #3 by cferwin (2012-05-08 01:08:58+00:00)
Title: Nback function

I tried to remove most of the duplicate code in the "oneback" and "twoback" functions by moving all the code for trials into one function. The "type" variable is an integer used to determine whether or not the n-back trial is a single (1) or double (2).