New file to search analog input from laser control for pulses.
Comments describing plans with LaserTimes and function of LaserPulseFinder. Total GatherInfo1 to get LASER info from NS3Unpacker.
Added CreateLaserTimes function within GatherInfo1, to be moved to its own function later. Provides a Laser Status label and Relative on and off times for each trial per valve.
CreateValveTimes can handle No Valve Recordings now.
FVSwitchFinder just has a comment about behavior with no Valves.
GatherInfo1 contains more work with LaserTimes to handle breath warping...
And ValveTimes to manage No Valves.
GatherResponses is now looking for LaserTimes.
Make it so git doesn't complain when I commit with *.asv files around or when NPMK has made changes to getFile.ini
Since Valve1 and Valve9 trials are identical experimentally, they should have identical ValveTimes.
OneOffs is just going to be a la carte analyses usually generating a plot. These scripts will probably be deleted as they are superceded by smarter plotting scripts.
Fix rate calculation in histogram scripts (# of trials was wrong).
Histogram scripts also output Raster which can be used with plotSpikeRaster.
CreateValveSpikes learns about Raster.
For comparing laser and non-laser trials.
Integrate into GatherInfo/GatherResponses.
Renamed PREXValveAssigner to PREXAssigner to reflect it assigns PREX to laser and FV times.
Setup laser processing in GatherInfo1. Offloaded to separate scripts for per Pulse or per Valve processing, LaserTimes and LVTimes respectively.
Now per valve processing happens in GatherInfo1 so we have LVtimes to work with.
Merge branch 'feature/LaserPulseDetection' into develop