Changes to analysis code to plot performance/holds

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
More dataLoad and plotHolds changes.

plotHolds(subjs) now a working function w/ legend and auto name/save, dataLoad has a floor of x=0 for lower SD value and plots the start of the reward window.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
plotPerformance now plots %outcome and holds over time. dataLoad now calls graphPerformance.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
Add waterCalibraton.m

Still a WIP
2nd pass at waterCalibration

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
Complete waterCalibration.m

Now accurately plots dispensed reward given an average single reward size.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
WaterCalibration  and plotPerformance changes.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
Add RewardCalculator.m

Calculates the average reward necessary to provide a given earned water value for a given number of expected correct trials in a given rig number based on the most recent polynomial regression of reward size/dispensed volume.
Get rid of plotPerformance legends and increase fig size.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
nConsec vars -> TOs menu, juice->Reward menu.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
ReqHoldToStart added to dataLoad, reward calculation uses .mat #correct instead of xlsx sheet.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
Changes to rewardCalibration/plotPerf.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
"Delay" in matlab window now describes beginning of the reward window.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
DailyScript written and plotPerformance interfaces w/ weight and water gals.
dailyScript.sh grabs daily data from all rigs, calls plotting functions, and exports to Crash.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
CDF plot limits changed to react [-delay 1000]

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
Remove i209 from dailyScript shell.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
Adds itiEndSound and delaySound function.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
Add 9 and 10 to dailyScript

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>
i206 off dailyScript.sh

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>