forked from jamieboyd/AutoHeadFix
-
Notifications
You must be signed in to change notification settings - Fork 2
/
AHF_task_HeadFix_LW_Laser.jsn
101 lines (101 loc) · 2.25 KB
/
AHF_task_HeadFix_LW_Laser.jsn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{"BrainLightClass"="AHF_BrainLight_1GPIO"
"BrainLightDict"={"ledDelay"=3.0
"ledPin"=22}
"CameraClass"="AHF_Camera_PiCam"
"CameraDict"={"format"="h264"
"framerate"=30
"iso"=0
"previewWin"=[0
0
640
480]
"quality"=20
"resolution"=[256
256]
"shutter_speed"=30000
"whiteBalance"=false}
"ContactCheckClass"="AHF_ContactCheck_BeamBreak"
"ContactCheckDict"={"contactPUD"="PUD_UP"
"contactPin"=12
"contactPolarity"="FALLING"
"ledPin"=24}
"DataLoggerClass"="AHF_DataLogger_textMySql"
"DataLoggerDict"={"DB"="AHF_laser_cage"
"DBhost"="142.103.107.236"
"DBpwd"="iamapoorslave"
"DBuser"="slavePi"
"cageID"="cage5thFloor"
"dataPath"="/home/pi/Documents/"
"localDatabase"="AutoHeadFix2020"
"localPassword"="TimMurphy"
"localUser"="AHF5thFloor"
"mouseConfigPath"="/home/pi/Documents/MiceConfig/"
"oldVersion"=false
"useLocalSql"=true}
"HeadFixerClass"="AHF_HeadFixer_PWM_PCA9685"
"HeadFixerDict"={"servoAddress"=64
"servoFixedPosition"=100
"servoReleasedPosition"=170
"skeddadleTime"=5.0}
"LickDetectorClass"="AHF_LickDetector_MPR"
"LickDetectorDict"={"IRQpin"=26
"mprAddress"=90
"touchChans"=[0
1
2
3]
"touchThresh"=8
"unTouchThresh"=4}
"NotifierClass"=null
"NotifierDict"=null
"ReaderClass"="AHF_Reader_ID"
"ReaderDict"={"TIRpin"=19
"inChamberTimeLimit"=600
"serialPort"="/dev/ttyUSB0"}
"RewarderClass"="AHF_Rewarder_solenoid_rpi"
"RewarderDict"={"entryRewardDelay"=1.0
"maxEntryRewards"=1000
"rewardPin"=13
"rewards"={"entry"=0.2
"task"=0.4
"test"=1.0}}
"StimulatorClass"="AHF_Stimulator_LickWithhold"
"StimulatorDict"={"defaultLevel"=3
"lickWrongTimeout"=2
"speakerDuty"=0.1
"speakerFreq"=100
"speakerOffForReward"=1.5
"speakerPin"=25
"videoPath"=""}
"StimulusClass"="AHF_Stimulus_Laser"
"StimulusDict"={"DS"=4
"PWM_channel"=2
"PWM_mode"=0
"Q7S"=6
"SHCP"=5
"STCP"=17
"coeff_matrix"=null
"duty_cycle"=50
"hdf_path"="mice_images.h5"
"laser_on_time"=800
"motor_delay"=0.001}
"SubjectsClass"="AHF_Subjects_mice"
"SubjectsDict"={"inChamberTimeLimit"=300
"jsonName"="subjects"
"loadMiceConfigs"="provide_json"}
"TriggerClass"=null
"TriggerDict"=null
"contact"=false
"contactTime"=0
"edited"=true
"entryTime"=0.0
"fileName"="HeadFix_LW_Laser"
"filename"="temp"
"fixAgainTime"=1672616254.732271
"fixed"=false
"inChamberLimitExceeded"=false
"isFixTrial"=false
"lastFixedTag"=0
"lastFixedTime"=0
"logToFile"=true
"tag"=0}