Created
April 17, 2014 01:08
-
-
Save smackesey/10946309 to your computer and use it in GitHub Desktop.
kauferprosocial config file for windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import cv2 | |
config = { | |
'outputDataDir' : "C:\\Documents and Settings\\Kauferlab\\Desktop\\prosocial_output", | |
'audio': { | |
'active' : True, | |
'outputFormat' : 'wav', | |
'nidaq' :{ | |
'numChannels' : 2, # Number of microphones to be used. Can be 0, 1, or 2 | |
'channelNames' : ["ai0", "ai2"], | |
'perChannelSampleThreshold': 1000, | |
'ramBufferSize': 1000*1000, # perChannelSampleThreshold * 1000 | |
'sampleRate' : 200000.0, | |
'daqDeviceName' : "Dev1", | |
}, | |
}, | |
# TODO create more useful default protocols | |
'stimulator': { | |
'active' : False, | |
'channel' : 1, | |
'activeProtocolName' : 'default', | |
'protocols' : { | |
"default" : { | |
"type" : "basic", | |
"paradigm" : { | |
"mode" : "TRAIN", | |
"DURA" : 20, | |
"DELAY" : 0, | |
"INTER" : 20, | |
"M": 20 | |
} | |
}, | |
"clockedExample" : { | |
"type" : "clocked", | |
"interval" : 2, | |
"paradigm" : { | |
"mode" : "TRAIN", | |
"DURA" : 20, | |
"DELAY" : 0, | |
"INTER" : 20, | |
"M": 20 | |
} | |
}, | |
"trackedExample" : { | |
"type" : "tracked", | |
"interval" : 2, | |
"paradigm" : { | |
"mode" : "TRAIN", | |
"DURA" : 20, | |
"DELAY" : 0, | |
"INTER" : 20, | |
"M": 20 | |
} | |
} | |
} | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment