SilverLabUCL / NeuroMatic

NeuroMatic
http://www.neuromatic.thinkrandom.com/
GNU General Public License v3.0
23 stars 9 forks source link

Fixed Pulse Tab SinZap function bug #20

Closed jasonsethrothman closed 11 months ago

jasonsethrothman commented 11 months ago

The linear sine zap/sweep function was missing a factor of 2. This bug created a sweep function that ended with a frequency half what it should have been. Also, the window over which the zap/sweep was computed was incorrect. This was changed to aow.width. Added new "type" parameter which allows one to choose between a linear sweep (type=0) and exponential sweep (type=1).