Closed-Loop Stimulation Software

Closed-Loop Stimulation Software

A Python script for the streamlined analysis of sleep data that includes real-time processing of electroencephalogram (EEG) and electromyogram (EMG) signals that is compatible with commercial sleep-recording software that supports user datagram protocol (UDP) communication. The script allows EEG/EMG data acquisition, automated threshold calculation for real-time determination of sleep stages, sleep staging and EEG power spectrum analysis. It also allows data storage in the format that facilitates further analysis of the sleep pattern in mice. See additional details of the software at the following link: https://www.sciencedirect.com/science/article/pii/S2215016122001911