Skip to content

Instantly share code, notes, and snippets.

@smackesey
Created April 17, 2014 01:08
Show Gist options
  • Save smackesey/10946309 to your computer and use it in GitHub Desktop.
Save smackesey/10946309 to your computer and use it in GitHub Desktop.
kauferprosocial config file for windows
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