Skip to main content
Dryad

Data for: Brain activity of diving seals reveals short sleep cycles at depth

Cite this dataset

Kendall-Bar, Jessica et al. (2023). Data for: Brain activity of diving seals reveals short sleep cycles at depth [Dataset]. Dryad. https://doi.org/10.7291/D1ZT2B

Abstract

Sleep is a crucial part of the daily activity patterns of mammals. However, in marine species that spend months or entire lifetimes at sea, the location, timing, and duration of sleep may be constrained. To understand how marine mammals satisfy their daily sleep requirements while at sea, we monitored electroencephalographic (EEG) activity in wild northern elephant seals (Mirounga angustirostris) diving in Monterey Bay, California, USA. In this study, we characterized the sleep patterns of northern elephant seals from land to sea. Periods of electrophysiological sleep (slow wave sleep and rapid-eye-movement sleep) were recorded in seals on land, floating in shallow water, on the ocean floor in shallow water and the continental shelf, and during open ocean drift dives. While there was considerable variation in sleep patterns across individuals, total sleep time was lowest while sleeping at sea (<2 h/day) and highest while sleeping on land (~10 h/day). We linked sleep patterns to accelerometry and the time-depth profiles of 334 free-ranging seals (514,406 sleeping dives) to reveal a North Pacific sleepscape where seals averaged only 2 hours of sleep per day. This rivals the record for the least sleep among all mammals, currently held by the African elephant (~ 2 hours per day). This integrative study of sleep in wild northern elephant seals can help identify critical resting habitats and set the stage for comparative and translational studies of sleep. This repository contains raw electrophysiological data, processed hypnograms with identified sleep states, and integrated three-dimensional motion and electrophysiology data (“hypnotracks”). We also include data related to our sleep estimation algorithm for time-depth records of adult female northern elephant seals. All animal procedures were approved at the federal and institutional levels under National Marine Fisheries Permits 496, 836, 786–1463, 87-1743, 19108, 14636, and 23188, and by the Institutional Animal Care and Use Committee (IACUC) of the University of California Santa Cruz.

README: Data for: Brain activity of diving seals reveals short sleep cycles at depth

Suggested citation for this dataset: Kendall-Bar, JM; Williams, TM; Mukherji, R; Lozano, DA; Pitman, JK; Holser, RR; Keates, T; Beltran, RS; Robinson, PW; Crocker, DE; Adachi, T; Lyamin, OI; Vyssotski, AL; Costa, DP (2023). Data for: Brain activity of diving seals reveals short sleep cycles at depth.

This repository contains the data and code for our paper: Kendall-Bar, JM; Williams, TM; Mukherji, R; Lozano, DA; Pitman, JK; Holser, RR; Keates, T; Beltran, RS; Robinson, PW; Crocker, DE; Adachi, T; Lyamin, OI; Vyssotski, AL; Costa, DP (2023). Brain activity of diving seals reveals short sleep cycles at depth. Science.

Data structure and files

Missing values may be represented by NA, NaN, or - when data are not available. See Column Description dropdown menus for dataset-specific information.

00 Metadata and Summary Data files:

Results Summary

  • Wide-format table with metadata for EEG animals and summarizing all sleep data by location and sleep stage. This table shows calculations for Total Sleep Time with and without putative REM sleep. Blank ('-' values) in this table designate that there are no data available for the given combination of SealID and recording location.
  • 00_00_Sleep-Results-Summary-Table.xlsx

EEG Metadata

  • 00_00_Sleep-Recording-Metadata.xlsx - Wide-format table with EEG recording metadata.
  • Column descriptions:
    • Deployment - Chronological EEG deployment sequence (1-13)
    • TestNumber - Recording ID number
    • SealID - Unique identifier for each seal
    • Recording.ID - identifier combining the location (in the lab [CAPTIVE], in the wild [WILD], or translocated [XLOC]), age (in years [yr] or months [mo]), and age class (juvenile or weanling) of the seal
    • TOPPID - Unique ID to match to 00_Sleep-Results-Summary-Table.xlsx and TOPP database ('20' stands for Mirounga angustirostris, next two digits represent year, next three digits represent deployment number per year).
    • StartLogger_DateTime - start date & time (format: 'YYYY-MM-DD HH:MM:SS') for the recording
    • OnAnimal_DateTime - date & time logger was attached to the animal (as detected by ECG)
    • Duration_OnAnimal - Duration of recording in hours (after OnAnimal_DateTime)
    • ChannelConfiguration - Vector of Channel #s for Raw EDF files that correspond to the vector of channel names: LEOG REOG LEMG REMG LEEG1 REEG2 LEEG3 REEG4

Adult Female Metadata

  • 02_00_AdultFemaleData_Metadata.csv - Metadata table for adult female deployments
  • Column descriptions.
    • TOPPID - Unique ID per deployment matching those in the TOPP database
    • Year - Year of start of deployment
    • Season - Season (Post-Breeding or Post-Molt)
    • TDR_QC - Binary to designate whether the time-depth record was of sufficient quality to run the sleep identification model.
    • Track_QC - Binary to designate whether the track was of sufficient quality (and length) to visualize spatial sleep results in summary figure

01 Processed data files:

Hypnograms

  • Processed Sleep Scoring (lab, wild, & at sea)
  • 00_Hypnogram_30s_ALL_ANIMALS.csv - Processed sleep scoring data for 30s epochs for all animals.
  • Column descriptions:
    • timebins - Time in R format for the beginning of the 30s epoch
    • SealID - unique identifier for each seal
    • Recording.ID - identifier combining the location (in the lab [CAPTIVE], in the wild [WILD], or translocated [XLOC]), age (in years [yr] or months [mo]), and age class (juvenile or weanling) of the seal
    • ID - in the lab [CAPTIVE], in the wild [WILD], or translocated [XLOC]
    • Sleep.Code - Specific sleep state designation:
    • Active Waking
    • Quiet Waking
    • Drowsiness - Intermittent slow waves
    • LV Slow Wave SLeep - Low-voltage slow wave sleep
    • HV Slow Wave Sleep - High-voltage slow wave sleep
    • Certain REM Sleep - Rapid-Eye-Movement (REM)
    • Sleep scored with high confidence (high degree of Heart Rate Variability [HRV])
    • Putative REM Sleep - REM Sleep scored with low confidence (low HRV)
    • Unscorable - Data not scorable due to interference, motion artifacts, or signal quality
    • Simple.Sleep.Code - Simplified sleep state designation:
    • Active Waking
    • Quiet Waking
    • Drowsiness - Intermittent slow waves
    • SWS - Slow wave sleep (LV & HV combined)
    • REM - REM Sleep (certain and putative combined)
    • Unscorable - Data not scorable due to interference, motion artifacts, or signal quality
    • Resp.Code - Respiratory state designation:
    • Eupnea - between first breath and last breath transition to Eupnea - transition to tachycardia
    • Apnea - between last breath and first breath transition to Apnea - transition to bradycardia
    • Unscorable - not scorable due to noise obscuring HR detection
    • Water.Code - Location of animal
    • LAND - on land (in pen in the lab or on beach in the wild)
    • SHALLOW WATER - in water < 2m deep (in pool in the lab or in the lagoon at Ano Nuevo)
    • DEEP WATER - animal traversing the continental shelf (< 200 m / in water shallow enough that the animal can rest / travel along bottom)
    • OPEN OCEAN - animal in water deeper than 200 m / in water deep enough that the animal cannot rest / travel along bottom
    • Timesper_day - Time of day in seconds (out of 86400)
    • Day - Day of the recording

Hypnotracks

  • Processed Sleep Scoring & Motion Data (3D tracks & Sleep State for seals at sea)
  • 01_Hypnotrack_1Hz_ALL_ANIMALS.csv - Timeseries data at 1Hz showing sleep state and processed motion data.
  • Column descriptions.
    • Note: Sleep_Num, SimpleSleepNum, Water_Num, and Resp_Num redundantly code categorical/string data into numerical values for ease of analysis and plotting.
    • Missing values are represented by NaN (these appear at the beginning and end of recordings for statistics that rely on a data window [such as Heart Rate, Stroke Rate, and FFT Delta Spectral Power analysis]).

Hypnotrack Excerpt

  • 1Hz Excerpt from a sleep dive at sea (used in data visualization)
  • 01_02_AnimationExcerpt_Hypnotrack_1Hz.csv - Timeseries data at 1Hz with x y z positions and sleep data.
  • Column descriptions:
    • Seconds - Seconds elapsed for each recording
    • R_Time - Local time [PST] in R Format (YYYY-MM-DD HH:MM:SS)
    • SealID - unique identifier for each seal
    • Recording_ID - identifier combining the location (in the lab [CAPTIVE], in the wild [WILD], or translocated [XLOC]), age (in years [yr] or months [mo]), and age class (juvenile or weanling) of the seal
    • ID - in the lab [CAPTIVE], in the wild [WILD], or translocated [XLOC]
    • Sleep_Code - Specific sleep state designation:
    • Active Waking
    • Quiet Waking
    • Drowsiness - Intermittent slow waves
    • LV Slow Wave SLeep - Low-voltage slow wave sleep
    • HV Slow Wave Sleep - High-voltage slow wave sleep
    • Certain REM Sleep - Rapid-Eye-Movement (REM) Sleep scored with high confidence (high degree of Heart Rate
    • Variability [HRV])
    • Putative REM Sleep - REM Sleep scored with low confidence (low HRV)
    • Unscorable - Data not scorable due to interference, motion artifacts, or signal quality
    • SimpleSleepCode - Simplified sleep state designation:
    • Active Waking
    • Quiet Waking
    • Drowsiness - Intermittent slow waves
    • SWS - Slow wave sleep (LV & HV combined)
    • REM - REM Sleep (certain and putative combined)
    • Unscorable - Data not scorable due to interference, motion artifacts, or signal quality
    • Resp_Code - Respiratory state designation:
    • Eupnea - between first breath and last breath transition to Eupnea - transition to tachycardia
    • Apnea - between last breath and first breath transition to Apnea - transition to bradycardia
    • Unscorable - not scorable due to noise obscuring HR detection
    • Water_Code - Location of animal
    • LAND - on land (in pen in the lab or on beach in the wild)
    • SHALLOW WATER - in water < 2m deep (in pool in the lab or in the lagoon at Ano Nuevo)
    • DEEP WATER - animal traversing the continental shelf (< 200 m / in water shallow enough that the animal can rest / travel along bottom)
    • OPEN OCEAN - animal in water deeper than 200 m / in water deep enough that the animal cannot rest / travel along bottom
    • DN - Matlab date number for local time
    • pitch - angle downward (-) or upward (+) in radians
    • roll - angle of roll to the right (+) or left (-) in radians
    • heading - angle of rotation to the left (counterclockwise: +) or right (clockwise: -) in radians
    • x - pseudotrack's x-position translation from the origin/start of deployment in meters
    • y - pseudotrack's y-position translation from the origin/start of deployment in meters
    • z - pseudotrack's z-position translation from the origin/start of deployment in meters
    • geoX - x position translation from the origin/start of deployment in meters using geo-referenced pseudotrack
    • geoY - y position translation from the origin/start of deployment in meters using geo-referenced pseudotrack
    • Depth - depth in meters (same as z except *(-1))
    • speed - estimated speed in meters per second
    • Lat - Latitude in Decimal Degrees
    • Long - Longitude in Decimal Degrees
    • Stroke_Rate - automated peak detection result for stroke frequency in strokes per minute
    • Heart_Rate - automated peak detection result for heart rate in beats per minute
    • LEEGDelta - Delta power (0.5-4Hz) for Left Hemisphere electroencephalogram (EEG)
    • REEGDelta - Delta power (0.5-4Hz) for Right Hemisphere electroencephalogram (EEG)
    • HRVLFPower - Very low frequency (0-0.005 Hz) power for Heart Rate (quantification of HRV)

Higher-resolution Rotation and Swimming Data

  • 10Hz Excerpt from a sleep dive at sea (rotation and heart rate data for visualization)
  • 01_03_AnimationExcerpt_RotationSwim_10Hz.csv - Timeseries data at 10Hz showing rotation and swimming behavior. Stroke rate and glide controller data were processed using the methods demonstrated in Kendall-Bar et al. 2021.
  • Column descriptions:
    • Seconds - Seconds elapsed for each recording
    • ECG - Electrocardiogram (ECG) data in microvolts
    • pitch - angle downward (-) or upward (+) in degrees
    • roll - angle of roll to the right (+) or left (-) in degrees
    • heading - angle of rotation to the left (+) or right (-) in degrees
    • GyrZ - gyroscope data (angular acceleration) showing stroking behavior
    • Glide_Controller - glide controller for animation (1 for gliding 0 for stroking) and smoothed over a 5-second window
    • Depth - depth in meters
    • Heart_Rate - heart rate in beats per minute
    • Stroke_Rate - stroke rate in stroked per minute
    • Heart_Detected - binary (0 or 1- heartbeat detected)
    • Stroke_Detected - binary (0 or 1- stroke detected)

EEG/ECG Excerpt for a Sleep Dive

  • Processed Sleep Scoring & Motion Data (3D tracks & Sleep State for seals at sea)
  • 01_04_AnimationExcerpt_ECGEEGs_50Hz.csv - Timeseries data at 50Hz with ECG, LEEG, and REEG during a sleeping dive.
  • Column descriptions:
    • Missing values are represented by NaN (inserted for skipped data sectors to maintain time alignment).
    • Seconds - Time in R format for the beginning of the 30s epoch
    • ECG - Electrocardiogram (ECG) data (in microVolts)
    • LEEG - Electroencephalogram (EEG) data (in microVolts)
    • REEG - Electroencephalogram (EEG) data (in microVolts)

Time-depth Data for Sleep Estimation

  • Processed Data for Sleep Estimation Script
  • 02_00_SLEEP_TOPPID_testNN_10_NewRaw.csv - Timeseries data at 8 second intervals with sleep scoring information, geographic locations, and time-depth data.
  • Column descriptions:
    • Missing values are represented by NaN (these appear at the beginning and end of recordings for statistics that rely on a data window [such as Heart Rate, Stroke Rate, and FFT Delta Spectral Power analysis]).
    • Columns same as Hypnotrack Plus the required columns for this script:
    • time - Matlab date number for time
    • CorrectedDepth - Zero-offset corrected depth

Sleep Estimation Script Ouput

  • 02_01_2011020_1015_Daily_Activity.csv / 02_01_2011034_2036_Daily_Activity.csv - Wide format observations of each day for two specific deployments. Activity labels are in individual columns (compared with long format above).
  • Column descriptions:
    • Missing values are represented by NaN (these appear when stroke data were not available).
    • TOPPID - unique identifier for each instrument deployment
    • SEALID - unique identifier for each seal
    • unique_Days - Matlab date number for the day of the observation
    • Days_Elapsed - Number of days into the trip
    • PercentofTrip - The percent of the trip that has elapsed
    • Daily_recording - number of recording hours per day (should be 24 or close to it)
    • Daily_diving - number of diving hours per day (time spent below 2 m)
    • DailylongSI - number of hours in an extended surface interval (at surface for > 10 min)
    • Dailyfilteredlongdriftlong_SI - number of hours of estimated sleep (includes potential sleep while drifting, on the ocean floor, and in extended surface intervals)
    • Dailydivelongglide - number of hours spent in an extended glide (to be roughly compared to estimated sleep (Dailyfilteredlongdriftlong_SI)).
    • Lat - Latitude in decimal degrees
    • Long - Longitude in decimal degrees
    • Lon360 - Longitude in decimal degrees from 0 to 360 (no negative values)

Compiled Sleep Estimate Data

  • Intermediate outputs with summarized data across seals
  • 02_01_SleepEstimates_ALL_SealsUsed.csv Metadata for all seals included in daily sleep analysis.
  • Column descriptions:
    • TOPPID - Unique deployment ID matching TOPP Database
    • haveStrokes - Binary code designating the presence of stroke rate data
    • haveSleep - Binary code designating the presence of sleep data
    • haveLatLong - Binary code designating the presence of LatLong data SIslong Driftslong Flatslong
    • FilteredDriftslong SeasonCode** Plus the required columns for this script:
    • Dives - Number of total dives (for each seal)
    • SIs_long - Number of extended surface intervals (>10 min)
    • Flats_long - Number of estimated naps on the sea floor
    • FilteredDriftslong - Number of estimated naps Season_Code - Season designation (PB- post-breeding or PM- post molt)
  • 02_01_SleepEstimates_ALL_DailyActivity.csv Data for each seal day.
  • Column descriptions:
    • Missing values are represented by NA when data were not available.
    • TOPPID - unique identifier for each instrument deployment
    • SEALID - unique identifier for each seal
    • unique_Days - Matlab date number for the day of the observation - Days_Elapsed
    • Number of days into the trip
    • PercentofTrip - The percent of the trip that has elapsed
    • Daily_recording - number of recording hours per day (should be 24 or close to it)
    • Daily_diving - number of diving hours per day (time spent below 2 m)
    • DailylongSI - number of hours in an extended surface interval (at surface for > 10 min)
    • Dailyfilteredlongdriftlong_SI - number of hours of estimated sleep (includes potential sleep while drifting, on the ocean floor, and in extended surface intervals)
    • Dailydivelongglide - number of hours spent in an extended glide (to be roughly compared to estimated sleep (Dailyfilteredlongdriftlong_SI)).
    • Lat - Latitude in decimal degrees
    • Long - Longitude in decimal degrees - Lon360 - Longitude in decimal degrees from 0 to 360 (no negative values)

Adult Female Sleep Estimate Data

  • 02_01_AdultFemaleData_DailySleepEstimates_long.csv - Long format observations of hours per day performing different activities for Sleep Estimate analysis for all animals. Observations for the same seal (across multiple deployments) were later grouped and averaged for each trip percentile to compare individuals. Activity labels are in column DailyActivity_label and values are in column h_per_day.
  • Column descriptions:
    • Missing values are represented by NA when data were not available.
    • TOPPID - unique identifier for each instrument deployment
    • SEALID - unique identifier for each seal
    • Season_Code - PB [Post-breeding (short trip ~ 2 months)] or PM [Post-molt (long trip ~ 7 months)]
    • triprecord_days - total number of days for the deployment
    • deploysperseal - number of deployments for the seal
    • unique_Days - Matlab date number for the day of the observation
    • Days_Elapsed - Number of days into the trip
    • PercentofTrip - The percent of the trip that has elapsed
    • DailyActivity_label - Labels for the type of observation in each row:
    • daily_recording - number of recording hours per day (should be 24 or close to it)
    • daily_diving - number of diving hours per day (time spent below 2 m)
    • dailylongSI - number of hours in an extended surface interval (at surface for > 10 min)
    • dailyfilteredlongdriftlong_SI - number of hours of estimated sleep (includes potential sleep while drifting, on the ocean floor, and in extended surface intervals)
    • dailylongglide - where available, number of hours of gliding as measured with a kami kami stroke rate logger
    • hperday - Hours per day (out of 24) for each of the activity labels listed above

Adult Female Sleep Estimate Data for Geospatial Analysis

  • 02_02_AdultFemaleData_DailySleepEstimates_wide_goodtracks.csv - Wide format observations of each day for deployments with tracks of sufficient quality to be included in geospatial sleep analysis. Activity labels are now in individual columns (compared with long format above).
  • Column descriptions:
    • Missing values are represented by NA when data were not available.
    • TOPPID - unique identifier for each instrument deployment
    • SEALID - unique identifier for each seal
    • Season_Code - PB [Post-breeding (short trip ~ 2 months)] or PM [Post-molt (long trip ~ 7 months)]
    • unique_Days - Matlab date number for the day of the observation
    • Days_Elapsed - Number of days into the trip
    • PercentofTrip - The percent of the trip that has elapsed
    • Daily_recording - number of recording hours per day (should be 24 or close to it)
    • Daily_diving - number of diving hours per day (time spent below 2 m)
    • DailylongSI - number of hours in an extended surface interval (at the surface for > 10 min)
    • Dailyfilteredlongdriftlong_SI - number of hours of estimated sleep (includes potential sleep while drifting, on the ocean floor, and in extended surface intervals)
    • Lat - Latitude in decimal degrees
    • Long - Longitude in decimal degrees
    • Lon360 - Longitude in decimal degrees from 0 to 360 (no negative values)

Raw data files:

EEG Raw Data

Raw EEG, EMG, EOG, and motion sensor data for all deployments, labeled by TestNumber (see 00_Sleep-Recording-Metadata.xlsx for related metadata including start times and channel configuration details).

Licenses

Text and figures: CC-BY-4.0 Please provide attribution (Jessica Kendall-Bar et al., 2023) when using our figures.

Code: MIT Please cite the Zenodo DOI provided above when using our code.

Data: CC-0 attribution requested in reuse. Please cite the Dryad DOI provided above when using our code.

Methods

See the associated code repository and manuscript (links in the Related Works section) for additional information on the methods for data collection and processing.

Usage notes

This repository contains data relating to the manuscript “Brain activity of diving seals reveals short sleep cycles at depth.” Science (2023). Related code for this paper can be found in the versioned Zenodo repository.

 

Funding

National Ocean Partnership Program, Award: N00014-02-1-1012

National Science Foundation, Award: N1656282

Strategic Environmental Research and Development Program, Award: RC20-C2-1284

Office of Naval Research, Award: N00014-18-1-2822

Office of Naval Research, Award: N00014-00-1-0880

Office of Naval Research, Award: N00014-03-1-0651

Office of Naval Research, Award: N00014-08-1-1195

Office of Naval Research, Award: N00014-20-1-2762

Office of Naval Research, Award: N00014-19-1-2178, Defense University Research Instrumentation Program

E&P Sound and Marine Life Joint Industry Project (JIP) of the International Association of Oil and Gas Producers (IOGP), Award: JIP2207-23

National Geographic Society, Early Career Grant

Steve & Rebecca Sooy Graduate Research Fellowship

Achievement Rewards for College Scientists Foundation

National Science Foundation, Graduate Research Fellowship

University of California, Santa Cruz, Special Research Grant from the Committee on Research