Research Tools

Sleep and Circadian Analysis MATLAB Program (SCAMP)
<<Updated 9-9-2020>>

I designed this MATLAB-based software package to analyze locomotor data from fruit flies collected by the TriKinetics Drosophila Activity Monitor (DAM) system. The software has the following advantages:

  1. It is free to use! All you need to do is download the folder containing the analysis scripts. You will need a version of MATLAB that has the Signal Processing Toolbox installed.
  2. It is user-friendly, providing easy-to-use graphical user interfaces. All you need to do is point and click! In the download package you will also find a detailed set of step-by-step instructions to walk you through all stages of analysis.
  3. SCAMP unifies several analysis options into a single program. SCAMP can generate:
    • … 21 different calculations based on sleep/wake parameters, including total sleep time, total activity, sleep bout duration, sleep bout number, sleep latency, probability of sleep-wake state transitions, etc.
    • … several circadian graphical outputs, and calculates period length and rhythmicity strength.
    • … graphs and calculations for phase-shift experiments, in which light pulses or other stimuli are provided to alter the circadian phase of locomotor rhythms.
    • raster plots of sleep for each animal, allowing for easy observation of how reproducible individuals’ sleep patterns are across multiple days.
    • … analysis of arousal tests, tabulating beam-crosses before and after stimulation and calculating the % of each group that was awoken from sleep by each arousal event.
    • … graphs and calculations for sleep deprivation studies, including cumulative or non-cumulative sleep loss/recovery plots. This could be used for calculations of sleep during and after any discrete or prolonged manipulation, such as starvation, light exposure, etc.
  4. It creates figures that can be saved directly as .jpg or .png, or in an Adobe Illustrator-compatible .eps format, and creates convenient Excel-compatible .csv export files.



Most up-to-date version is 2020_v3

Vecsey Sleep and Circadian Analysis MATLAB Program (SCAMP) 2020_v3

Last version was 2019_v2

Vecsey Sleep and Circadian Analysis MATLAB Program (SCAMP) 2019_v2


Vecsey Lab is Protected by Akismet | Powered by WordPress