Treadmill

This pipline is developed to detect laser pulses received at the optic fibers on the animal’s head when moving on a treadmill (as shown below).

alternate text

It works in two separate ways:

  1. Either you provide Spike2 analog signals (with extensions .smr or .smrx) of the session (understandably with an unknown offset with respect to the video recording).

    This file should include the same trial tag with a letter following a 2-digit number e.g. a01, f25, etc. Which is used to identify the video file in the Video folder to its corresponding analog signal file under Laser folder. Needless to say that providing the analog pulse will always result in a much more accurate reading of the pulses.

  2. If you don’t provide the analog signals, the laser pulses are detected solely based on the video recording.

    Note

    You need to provide the information about the stimulation (pulse) duration in the config file.

Here’s an example of the beta pulse protocol:

../../_images/Laser_detection_times_series_beta.jpg ../../_images/Laser_detection_beta_pulse.jpg