DOI: 10.5061/dryad.2rbnzs7v2
title: Data from: Multivariate classification of multichannel long-term electrophysiology data identifies different sleep stages in fruit flies, Part 3 of 16

description: Sleep is observed in most animals, which suggests it subserves a
 fundamental process associated with adaptive biological functions.
 However, the evidence to directly associate sleep with a specific function
 is lacking, in part because sleep is not a single process in many animals.
 In humans and other mammals, different sleep stages have traditionally
 been identified using electroencephalograms (EEGs), but such an approach
 is not feasible in different animals such as insects. Here, we perform
 long-term multichannel local field potential (LFP) recordings in the
 brains of behaving flies undergoing spontaneous sleep bouts. We developed
 protocols to allow for consistent spatial recordings of LFPs across
 multiple flies, allowing us to compare the LFP activity across awake and
 sleep periods and further compare the same to induced sleep. Using machine
 learning, we uncover the existence of distinct temporal stages of sleep
 and explore the associated spatial and spectral features across the fly
 brain. Further, we analyze the electrophysiological correlates of
 micro-behaviours associated with certain sleep stages. We confirm the
 existence of a distinct sleep stage associated with rhythmic proboscis
 extensions and show that spectral features of this sleep-related behavior
 differ significantly from those associated with the same behavior during
 wakefulness, indicating a dissociation between behavior and the brain
 states wherein these behaviors reside.
description: ## Data from: Multivariate classification of multichannel long-term
 electrophysiology data identifies different sleep stages in fruit flies,
 Part 3 of 16 ##
 Description of the data and file structure This is a part of the
 multi-part dataset containing local field potential (lfp) recordings and
 video data of 16 `Drosophila melanogaster` flies. This part contains data
 from `04_17092018_SponSleep_LFP` ## Dataset contents Each dataset (after
 collation for individual fly using software below) consists of a specific
 spontaneous sleep recording for each fly. For e.g.
 04_17092018_SponSleep_LFP contains lfp and video recorded from a
 particular drosophila on 17-09-2018. Within each folder there are two
 subfolders. * lfp: contains two further subfolders: * folder ending with
 `_Calib` contains lfp data recorded when calibration (electrode insertion)
 was performed as a single block. * folder ending with `_LFP` contains lfp
 data of the full recording, either as a single block or as multiple blocks
 (1 block per recording hour). * video: contains movies in the form of
 `.avi` files and for each frame of the corresponding movie a `.csv` file
 containing recorded time of each frame. The columns of the `.csv` file
 contain: year, month, date, hour, date, hour, minutes, seconds,
 microseconds and number of the frame in the corresponding columns
 `Year,Month,Date,Hour,Mins,Seconds,usec,nFrames`. Some recordings also
 contain files with `_Setup` and `_Calib` indicating videos recorded during
 setup and calibration of the experiment. ## Code/Software To extract/use
 this part of a multi-part dataset, please refer to
 `https://doi.org/10.5281/zenodo.10277443`