Published September 21, 2022 | Version v1
Dataset Open

Data from: Hippocampal replay of experience at real-world speeds

  • 1. University of California, San Francisco
  • 2. Stanford University
  • 3. Boston University

Description

Representations related to past experiences play a critical role in memory and decision-making processes. The rat hippocampus expresses these types of representations during sharp-wave ripple (SWR) events, and previous work identified a minority of SWRs that contain "replay" of spatial trajectories at ~20x the movement speed of the animal. Efforts to understand replay typically make multiple assumptions about which events to examine and what sorts of representations constitute replay. We therefore lack a clear understanding of both the prevalence and the range of representational dynamics associated with replay. Here we develop a state space model that uses a combination of movement dynamics of different speeds to capture the spatial content and time evolution of replay during SWRs. Using this model, we find that the large majority of replay events contain spatially coherent, interpretable content. Furthermore, many events progress at real-world, rather than accelerated, movement speeds, consistent with actual experiences.

Notes

# Format of the data

### 1. Overview of directory structure

There are ten compressed directories (*.tar.gz). Each directory contains Matlab files corresponding to a single animal. Within each animal directory, there is a subfolder named "EEG". This folder contains the local field potential recordings from each tetrode.

### 2. Naming conventions

All files are named based on the first three letters of the animal's name, followed by the type of data they contain, following by a two digit number indicating the day of recording for that file. Thus, conspikes02.mat contains spiking data from Animal Conley for day 2 of data collection.

EEG files (which should be named "LFP" but are not for historical reasons) follow a slightly different naming convention, where each file consists of the first three letters of the animals name, (which we refer to as the animal short name) followed by the data type, followed by three numbers separated by dashes which give the day of recording, the epoch (defined below) and the tetrode whose data is contained in the file. Thus, coneeg02-3-05.mat contains data for day 2, epoch 3, tetrode 5.

### 3. Data organization

All datatypes are stored in nested cell arrays with the same organization.
  - The first level cell array indexes over days.
  - The second level cell array indexes over epochs, which are contiguous chunks of data where the animal is in one particular environment, such as on a track or in a
  rest box.
  - The third level cell array, if it exists, indexes over tetrodes.
  - The fourth level cell array, if it exists, indexes over clustered units (or cells if you
  prefer) within a tetrode.
  spikes{2}{3}{1}{4} would therefore contain data from day 2, epoch 3, tetrode 1 and unit 4.
  Note that because the data are generally stored by day, if you load conspikes02.mat, you will get a spike cell array where spikes{1} is empty, and spikes{2} has data.

### 3. Data files

##### {animal}cellinfo.mat #####
- **Description**: Defines basic measured characteristics of each neuron such as Spike Width and Mean Rate.
- **Format**:
  - 1 x {*n_days*} Matlab-cell
    - 1 x {*n_epochs*} Matlab-cell
      - 1 x {*n_tetrodes*} Matlab-cell
        - 1 x {n_cells} Matlab-cell
          - Cell Matlab-structure
            - `spikewidth`: duration of spike, in points sampled at 30 KHz, of spike from peak to trough
            - `meanrate`: mean rate of spikes (Hz)

##### {animal}spikes{day}.mat #####
- **Description**: Gives the spike times and other relevant information at spike times.
- **Format**:
  - 1 x {*n_days*} Matlab-cell
    - 1 x {*n_epochs*} Matlab-cell
      - 1 x {*n_tetrodes*} Matlab-cell
        - Spike Matlab-structure
          - fields: fields of data array
            - `time`: time of spike event in seconds
            - `x`: x-position of animal at spike
            - `y`: y-position of animal at spike
            - `dir`: head direction at spike
            - `amplitude`: amplitude of highest variance channel
            - `x-sm`: smoothed x-position of animal at spike
            - `y-sm`: smoothed y-position of animal at spike
            - `dir-sm`: smoothed head direction at spike

##### {animal}rawpos{day}.mat #####
- **Description**: Raw position data collected from the ccd camera.

##### **Name**: {*animal*}pos{*n_days*}.mat #####
- **Description**: Position of animal on track. Derived from the rawpos data structures. Timestamps are in seconds.
- **Format**:
  - 1 x {*n_days*}
      - 1 x {*n_epochs*}
          - position structure
              - arg: arguments used to derive the position structure from the rawpos information
              - descript: description of the data in the position structure
              - fields: labels for the data array
              - data: array with field labels
                  - `time`: time in session in seconds
                  - `x`: x-position of animal (cm)
                  - `y`: y-position of animal (cm)
                  - `dir`: head-direction of animal
                  - `vel`: velocity of animal (cm / s)
                  - `x-sm`: smoothed x-position of animal (cm)
                  - `y-sm`: smoothed y-position of animal (cm)
                  - `dir-sm`: smoothed head-direction of animal
                  - `vel-sm`: smoothed velocity of animal (cm / s)
              - `cmperpixel`: - centimeters per pixel, scales the ccd camera pixels to centimeters

##### {*animal*}linpos{*n_days*}.mat #####
- **Description**: Gives the animal's distance from a well (either at the starting position well or at the end of one of the arms). Derived from the pos data structure.

##### {*animal*}task{*n_days*}.mat #####
- **Description**: Defines the different task epochs for a single experimental session
- **Format**:
  - 1 x {*n_days*} Matlab-cell
      - 1 x {*n_epochs*} Matlab-cell:
          - task epoch Matlab-structure
              - `Type` - type of epoch (sleep, run, rest)
              - `Linear coord`: these are coordinates relative to user specified endpoints of track segments (only there if relevant to task epoch).
              - `Environment`: type of running track
                  -  `lin`: linear track
                  -  `wtr1`: w-track
                  -  `postsleep`: after sleeping
                  -  `presleep`: before sleeping

##### {*animal*}DIO{*n_days*}.mat #####
- **Description**: The *DIO* cell gives arrival/departure times at the end of each arm of the maze (as indicated by the IR motion sensors at the end of the wells) and the start/stop times for the output trigger to the reward pump. Timestamps are in 100 µsec units.
- **Format**:
  - 1 x {*n_days*}
      - 1 x {*n_epochs*}
          - 1 x {number of DIO-board pins}
              - non-empty cells correspond to active pins
              - there are two active pins for each reward well corresponding to either the IR motion sensor or the reward pump
              - DIO structure
                  - `pulsetimes`: start/stop time of activation
                  - `timesincelast`: time since last activation
                  - `pulselength`: duration of activation
                  - `pulseind`: index of pulse

##### {*animal*}ripples{*n_days*}-{epoch}-{tetrode}.mat #####
- **Description**: First processing step in the ripple identification process. Contains the ripples after the bandpass filtering on a single tetrode
- **Format**:

##### {*animal*}ripples{*n_days*}.mat #####
- **Description**: Intermediate processing step in the ripple identification process. Contains the ripples after the bandpass filtering, z-scoring, thresholding and segmenting the ripple on a single tetrode
- **Format**:
    - 1 x {*n_days*} Matlab-cell
        - 1 x {*n_epochs*} Matlab-cell
            - 1 x {*n_tetrodes*} Matlab-cell
                - `startind`: index of the start time of each ripple
                - `endind`: index of the end time of each ripple
                - `midind`: index of of the midpoint time of each ripple
                - `startime`: start time of the ripple
                - `endtime`: end time of the ripple
                - `midtime`: mid-point time of the ripple
                ...
##### {*animal*}candripples{*n_days*}.mat #####
- **Description**: Final processing step in the ripple identification process. Contains the ripples after combining tetrodes
- **Format**:
    - 1 x {*n_days*} Matlab-cell
        - 1 x {*n_epochs*} Matlab-cell

##### {*animal*}marks{*n_days*}.mat #####
- **Description**:
- **Format**:
  - 1 x {*n_days*} Matlab-cell
      - 1 x {*n_epochs*} Matlab-cell
          - 1 x {*n_tetrodes*} Matlab-cell
            - Marks Matlab structure
              - `data`, (n_time, n_mark_features)
                - columns correspond to spike amplitudes at time of spike for each tetrode wire

##### {*animal*}tetinfo.mat #####
- **Description**: Gives basic information about each tetrode such as the depth and number of neurons recorded, lists the valid electrodes
- **Format**:
    - 1 x {*n_days*} Matlab-cell
        - 1 x {*n_epochs*} Matlab-cell
            - 1 x {*n_tetrodes*} Matlab-cell
                - Tetrode Matlab-structure
                    - `depth`: depth of electrode, if specified, this is the number of 1/12ths of a turn of a 0x80 (80 threads / inch) screw from the bottom of the microdrive at which these data were collected. To convert to mm, multiply by 0.0265.
                    - `numcells`: number of neurons recorded on this tetrode
                    - `descrip`: Identifies the type of tetrode - riptet, {brain_area}REF
                    - `area`: brain area

##### {*animal*}eeg{*n_days*}-{*epoch*}-{*tetrode*}.mat #####
- **Description**: Gives the recorded local field potential for a tetrode.
- **Format**:
    - 1 x {*n_epochs*} Matlab-cell
        - 1 x {*n_tetrodes*} Matlab-cell
            - EEG Matlab-structure
                - `descript` - timestamps in hrs:min:sec
                - `fields` - fields of data array
                - `starttime` - time of first data sample (in seconds)
                - `samprate` - sampling rate in Hz
                - `data` - data array with columns corresponding to fields
                - `depth` - depth of electrode
##### {*animal*}eeggrnd{*n_days*}-{*epoch*}-{*tetrode*}.mat #####
- **Description**: Gives the LFP for a given ground tetrode (Ground wire located in the corpus collosum)
- **Format**:
    - 1 x {*n_epochs*} Matlab-cell
        - 1 x {*n_tetrodes*} Matlab-cell
            - EEG Matlab-structure
                - `descript` - timestamps in hrs:min:sec
                - `fields` - fields of data array
                - `starttime` - in seconds
                - `samprate` - sampling rate in Hz
                - `data` - data array
                - `depth` - depth of electrode

Funding provided by: Simons Foundation for the Global Brain*
Crossref Funder Registry ID:
Award Number: 542971

Funding provided by: Simons Foundation for the Global Brain*
Crossref Funder Registry ID:
Award Number: 542981

Funding provided by: Howard Hughes Medical Institute
Crossref Funder Registry ID: http://dx.doi.org/10.13039/100000011
Award Number:

Files

Files (72.3 GB)

Name Size Download all
md5:546b68202e4df0289b39178351aa4aab
5.2 GB Download
md5:00f9747e5433b213edee9e94388eedca
6.2 GB Download
md5:970a38c20cc9e688c6a2da2ae2f4b52c
2.4 GB Download
md5:d331f909d3a87c25098cca60ed3e83ba
3.7 GB Download
md5:594731baf84cf4d3b2536dda33e824c8
5.6 GB Download
md5:7112baeecce1e982187b60389805c57a
3.2 GB Download
md5:14926653f72c857cd2b5481bcee80a8d
12.1 GB Download
md5:406aa97372ac34111e79f5b02efef228
8.1 GB Download
md5:486bfe5039e6d5a2c362a5812d9d5004
22.7 GB Download
md5:614874439f7fc8e362abb7503e120ce5
3.2 GB Download

Additional details