Zapit-Optostim / zapit

General purpose optostimulation system
GNU Lesser General Public License v2.1
6 stars 1 forks source link

Incorporate scanner lag parameters and document them #111

Open raacampbell opened 1 year ago

raacampbell commented 1 year ago

We have added to chanSamples the following settings for taking into account scanner lag.

            blankOnsetShift_ms=-0.12;
            blankOffsetShift_ms=0.2

With this we can get 0.4 ms inter-stimulus interval by requesting a 0.3 ms scanner travel time. This means we should also modify the parameter name for hZP.settings.experiment.blankingTime_ms to scannerTravelTime, as the total blanking time is about 100 ms greater.

Max number of stimuli will be limited by max power, damage threshold, and the blanking time.