{
  "nbformat": 4,
  "nbformat_minor": 4,
  "metadata": {
    "title": "Deep learning-based feature extraction for prediction and interpretation of sharp-wave ripples in the rodent hippocampus",
    "authors": [
      {
        "givenNames": [
          "Andrea"
        ],
        "familyNames": [
          "Navas-Olive"
        ],
        "type": "Person",
        "affiliations": [
          {
            "name": "Madrid",
            "address": {
              "addressCountry": "Spain",
              "type": "PostalAddress"
            },
            "type": "Organization"
          }
        ],
        "name": "Andrea Navas-Olive"
      },
      {
        "givenNames": [
          "Rodrigo"
        ],
        "familyNames": [
          "Amaducci"
        ],
        "type": "Person",
        "affiliations": [
          {
            "name": "Madrid",
            "address": {
              "addressCountry": "Spain",
              "type": "PostalAddress"
            },
            "type": "Organization"
          }
        ],
        "name": "Rodrigo Amaducci"
      },
      {
        "givenNames": [
          "Maria-Teresa"
        ],
        "familyNames": [
          "Jurado-Parras"
        ],
        "type": "Person",
        "affiliations": [
          {
            "name": "Madrid",
            "address": {
              "addressCountry": "Spain",
              "type": "PostalAddress"
            },
            "type": "Organization"
          }
        ],
        "name": "Maria-Teresa Jurado-Parras"
      },
      {
        "givenNames": [
          "Enrique",
          "R"
        ],
        "familyNames": [
          "Sebastian"
        ],
        "type": "Person",
        "affiliations": [
          {
            "name": "Madrid",
            "address": {
              "addressCountry": "Spain",
              "type": "PostalAddress"
            },
            "type": "Organization"
          }
        ],
        "name": "Enrique R Sebastian"
      },
      {
        "givenNames": [
          "Liset",
          "M"
        ],
        "familyNames": [
          "de",
          "la",
          "Prida"
        ],
        "type": "Person",
        "emails": [
          "lmprida@cajal.csic.es"
        ],
        "affiliations": [
          {
            "name": "Madrid",
            "address": {
              "addressCountry": "Spain",
              "type": "PostalAddress"
            },
            "type": "Organization"
          }
        ],
        "name": "Liset M de la Prida"
      }
    ],
    "authorNotes": [
      "†These authors contributed equally to this work",
      "‡Co-shared first author"
    ],
    "editors": [
      {
        "givenNames": [
          "Adrien"
        ],
        "familyNames": [
          "Peyrache"
        ],
        "type": "Person",
        "affiliations": [
          {
            "name": "Canada",
            "type": "Organization"
          }
        ]
      }
    ],
    "datePublished": {
      "value": "2022-09-05",
      "type": "Date"
    },
    "dateReceived": {
      "value": "2022-02-10",
      "type": "Date"
    },
    "dateAccepted": {
      "value": "2022-09-02",
      "type": "Date"
    },
    "description": "Local field potential (LFP) deflections and oscillations define hippocampal sharp-wave ripples (SWRs), one of the most synchronous events of the brain. SWRs reflect firing and synaptic current sequences emerging from cognitively relevant neuronal ensembles. While spectral analysis have permitted advances, the surge of ultra-dense recordings now call for new automatic detection strategies. Here, we show how one-dimensional convolutional networks operating over high-density LFP hippocampal recordings allowed for automatic identification of SWR from the rodent hippocampus. When applied without retraining to new datasets and ultra-dense hippocampus-wide recordings, we discovered physiologically relevant processes associated to the emergence of SWR, prompting for novel classification criteria. To gain interpretability, we developed a method to interrogate the operation of the artificial network. We found it relied in feature-based specialization, which permit identification of spatially segregated oscillations and deflections, as well as synchronous population firing typical of replay. Thus, using deep learning-based approaches may change the current heuristic for a better mechanistic interpretation of these relevant neurophysiological events.",
    "isPartOf": {
      "volumeNumber": 11,
      "isPartOf": {
        "title": "eLife",
        "issns": [
          "2050-084X"
        ],
        "identifiers": [
          {
            "name": "nlm-ta",
            "propertyID": "https://registry.identifiers.org/registry/nlm-ta",
            "value": "elife",
            "type": "PropertyValue"
          },
          {
            "name": "publisher-id",
            "propertyID": "https://registry.identifiers.org/registry/publisher-id",
            "value": "eLife",
            "type": "PropertyValue"
          }
        ],
        "publisher": {
          "name": "eLife Sciences Publications, Ltd",
          "type": "Organization"
        },
        "type": "Periodical"
      },
      "type": "PublicationVolume"
    },
    "licenses": [
      {
        "url": "http://creativecommons.org/licenses/by/4.0/",
        "content": [
          {
            "content": [
              "This article is distributed under the terms of the ",
              {
                "content": [
                  "Creative Commons Attribution License"
                ],
                "target": "http://creativecommons.org/licenses/by/4.0/",
                "type": "Link"
              },
              ", which permits unrestricted use and redistribution provided that the original author and source are credited."
            ],
            "type": "Paragraph"
          }
        ],
        "type": "CreativeWork"
      }
    ],
    "keywords": [
      "ripples",
      "convolutional neural networks",
      "Neuropixels",
      "hippocampus",
      "dorsoventral",
      "Mouse",
      "Rat"
    ],
    "identifiers": [
      {
        "name": "publisher-id",
        "propertyID": "https://registry.identifiers.org/registry/publisher-id",
        "value": 77772,
        "type": "PropertyValue"
      },
      {
        "name": "doi",
        "propertyID": "https://registry.identifiers.org/registry/doi",
        "value": "10.7554/eLife.77772",
        "type": "PropertyValue"
      },
      {
        "name": "elocation-id",
        "propertyID": "https://registry.identifiers.org/registry/elocation-id",
        "value": "e77772",
        "type": "PropertyValue"
      }
    ],
    "fundedBy": [
      {
        "identifiers": [
          {
            "value": "LCF/PR/HR21/52410030",
            "type": "PropertyValue"
          }
        ],
        "funders": [
          {
            "name": "Fundacion La Caixa",
            "type": "Organization"
          }
        ],
        "type": "MonetaryGrant"
      },
      {
        "identifiers": [
          {
            "value": "FPU17/03268",
            "type": "PropertyValue"
          }
        ],
        "funders": [
          {
            "name": "Ministerio de Educacion",
            "type": "Organization"
          }
        ],
        "type": "MonetaryGrant"
      },
      {
        "identifiers": [
          {
            "value": "FPI-UAM-2017",
            "type": "PropertyValue"
          }
        ],
        "funders": [
          {
            "name": "Universidad Autónoma de Madrid",
            "type": "Organization"
          }
        ],
        "type": "MonetaryGrant"
      }
    ],
    "about": [
      {
        "name": "Neuroscience",
        "type": "DefinedTerm"
      }
    ],
    "genre": [
      "Tools and Resources"
    ],
    "references": [
      {
        "id": "bib1",
        "authors": [
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Amaducci"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Navas-Olive"
            ],
            "type": "Person"
          }
        ],
        "title": "Cnn-ripple",
        "datePublished": {
          "value": "2021",
          "type": "Date"
        },
        "url": "https://archive.softwareheritage.org/swh:1:dir:b38a5db56c84c61821347b603dd884169d8f7b1c;origin=https://github.com/PridaLab/cnn-ripple;visit=swh:1:snp:5785d27d319d84076a2353540d821d26346be009;anchor=swh:1:rev:9dcc5b6a8267b89eb86a2813dbbcb74a621a701b",
        "type": "Article"
      },
      {
        "id": "bib2",
        "authors": [
          {
            "givenNames": [
              "BV"
            ],
            "familyNames": [
              "Atallah"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Scanziani"
            ],
            "type": "Person"
          }
        ],
        "title": "Instantaneous modulation of gamma oscillation frequency by balancing excitation with inhibition",
        "datePublished": {
          "value": "2009",
          "type": "Date"
        },
        "pageStart": 566,
        "pageEnd": 577,
        "isPartOf": {
          "volumeNumber": 62,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2009.04.027",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 19477157,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib3",
        "authors": [
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Bai"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JZ"
            ],
            "familyNames": [
              "Kolter"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "V"
            ],
            "familyNames": [
              "Koltun"
            ],
            "type": "Person"
          }
        ],
        "title": "An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling",
        "datePublished": {
          "value": "2018",
          "type": "Date"
        },
        "isPartOf": {
          "name": "arXiv",
          "type": "Periodical"
        },
        "url": "https://arxiv.org/abs/1803.01271",
        "type": "Article"
      },
      {
        "id": "bib4",
        "authors": [
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Bartos"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "I"
            ],
            "familyNames": [
              "Vida"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Jonas"
            ],
            "type": "Person"
          }
        ],
        "title": "Synaptic mechanisms of synchronized gamma oscillations in inhibitory interneuron networks",
        "datePublished": {
          "value": "2007",
          "type": "Date"
        },
        "pageStart": 45,
        "pageEnd": 56,
        "isPartOf": {
          "volumeNumber": 8,
          "isPartOf": {
            "name": "Nature Reviews. Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nrn2044",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 17180162,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib5",
        "authors": [
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Basu"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JD"
            ],
            "familyNames": [
              "Zaremba"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "SK"
            ],
            "familyNames": [
              "Cheung"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "FL"
            ],
            "familyNames": [
              "Hitti"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "BV"
            ],
            "familyNames": [
              "Zemelman"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Losonczy"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "SA"
            ],
            "familyNames": [
              "Siegelbaum"
            ],
            "type": "Person"
          }
        ],
        "title": "Gating of hippocampal activity, plasticity, and memory by entorhinal cortex long-range inhibition",
        "datePublished": {
          "value": "2016",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 351,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.aaa5694",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26744409,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib6",
        "authors": [
          {
            "givenNames": [
              "KC"
            ],
            "familyNames": [
              "Bittner"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Grienberger"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "SP"
            ],
            "familyNames": [
              "Vaidya"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AD"
            ],
            "familyNames": [
              "Milstein"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JJ"
            ],
            "familyNames": [
              "Macklin"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Suh"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Tonegawa"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JC"
            ],
            "familyNames": [
              "Magee"
            ],
            "type": "Person"
          }
        ],
        "title": "Conjunctive input processing drives feature selectivity in hippocampal CA1 neurons",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 1133,
        "pageEnd": 1142,
        "isPartOf": {
          "volumeNumber": 18,
          "isPartOf": {
            "name": "Nature Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nn.4062",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26167906,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib7",
        "authors": [
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Draguhn"
            ],
            "type": "Person"
          }
        ],
        "title": "Neuronal oscillations in cortical networks",
        "datePublished": {
          "value": "2004",
          "type": "Date"
        },
        "pageStart": 1926,
        "pageEnd": 1929,
        "isPartOf": {
          "volumeNumber": 304,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.1099745",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 15218136,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib8",
        "authors": [
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CA"
            ],
            "familyNames": [
              "Anastassiou"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Koch"
            ],
            "type": "Person"
          }
        ],
        "title": "The origin of extracellular fields and currents--EEG, ecog, LFP and spikes",
        "datePublished": {
          "value": "2012",
          "type": "Date"
        },
        "pageStart": 407,
        "pageEnd": 420,
        "isPartOf": {
          "volumeNumber": 13,
          "isPartOf": {
            "name": "Nature Reviews. Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nrn3241",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 22595786,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib9",
        "authors": [
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Hippocampal sharp wave-ripple: A cognitive biomarker for episodic memory and planning",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 1073,
        "pageEnd": 1188,
        "isPartOf": {
          "volumeNumber": 25,
          "isPartOf": {
            "name": "Hippocampus",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1002/hipo.22488",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26135716,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib10",
        "authors": [
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "EW"
            ],
            "familyNames": [
              "Schomburg"
            ],
            "type": "Person"
          }
        ],
        "title": "What does gamma coherence tell us about inter-regional neural communication?",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 484,
        "pageEnd": 489,
        "isPartOf": {
          "volumeNumber": 18,
          "isPartOf": {
            "name": "Nature Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nn.3952",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 25706474,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib11",
        "authors": [
          {
            "givenNames": [
              "MX"
            ],
            "familyNames": [
              "Cohen"
            ],
            "type": "Person"
          }
        ],
        "title": "Where does EEG come from and what does it mean?",
        "datePublished": {
          "value": "2017",
          "type": "Date"
        },
        "pageStart": 208,
        "pageEnd": 218,
        "isPartOf": {
          "volumeNumber": 40,
          "isPartOf": {
            "name": "Trends in Neurosciences",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.tins.2017.02.004",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 28314445,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib12",
        "authors": [
          {
            "givenNames": [
              "L"
            ],
            "familyNames": [
              "Cun"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "B"
            ],
            "familyNames": [
              "Boser"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JS"
            ],
            "familyNames": [
              "Denker"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Henderson"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "RE"
            ],
            "familyNames": [
              "Howard"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "W"
            ],
            "familyNames": [
              "Hubbard"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LD"
            ],
            "familyNames": [
              "Jackel"
            ],
            "type": "Person"
          }
        ],
        "title": "Handwritten digit recognition with a back-propagation network",
        "datePublished": {
          "value": "1990",
          "type": "Date"
        },
        "pageStart": 396,
        "pageEnd": 404,
        "type": "Article"
      },
      {
        "id": "bib13",
        "authors": [
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "de",
              "la",
              "Prida"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Huberfeld"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "I"
            ],
            "familyNames": [
              "Cohen"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Miles"
            ],
            "type": "Person"
          }
        ],
        "title": "Threshold behavior in the initiation of hippocampal population bursts",
        "datePublished": {
          "value": "2006",
          "type": "Date"
        },
        "pageStart": 131,
        "pageEnd": 142,
        "isPartOf": {
          "volumeNumber": 49,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2005.10.034",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 16387645,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib14",
        "authors": [
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "de",
              "la",
              "Prida"
            ],
            "type": "Person"
          }
        ],
        "title": "Potential factors influencing replay across CA1 during sharp-wave ripples",
        "datePublished": {
          "value": "2020",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 375,
          "isPartOf": {
            "name": "Philosophical Transactions of the Royal Society of London. Series B, Biological Sciences",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1098/rstb.2019.0236",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 32248778,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib15",
        "authors": [
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Diba"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Forward and reverse hippocampal place-cell sequences during ripples",
        "datePublished": {
          "value": "2007",
          "type": "Date"
        },
        "pageStart": 1241,
        "pageEnd": 1242,
        "isPartOf": {
          "volumeNumber": 10,
          "isPartOf": {
            "name": "Nature Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nn1961",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 17828259,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib16",
        "authors": [
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Dutta"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Ackermann"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Kemere"
            ],
            "type": "Person"
          }
        ],
        "title": "Analysis of an open source, closed-loop, realtime system for hippocampal sharp-wave ripple disruption",
        "datePublished": {
          "value": "2019",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 16,
          "isPartOf": {
            "name": "Journal of Neural Engineering",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1088/1741-2552/aae90e",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 30507556,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib17",
        "authors": [
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Esparza"
            ],
            "type": "Person"
          }
        ],
        "title": "CNN-ripple plugin for open ephys",
        "datePublished": {
          "value": "2022",
          "type": "Date"
        },
        "url": "https://archive.softwareheritage.org/swh:1:dir:51e0c5075544575e708941e122e108bd7f719b4e;origin=https://github.com/PridaLab/CNNRippleDetectorOEPlugin;visit=swh:1:snp:02c88c2080e1aadd30d7938c16bd3043e65684f2;anchor=swh:1:rev:52b182d1fba732a0bc3ad69ce9453c6fe96ae190",
        "type": "Article"
      },
      {
        "id": "bib18",
        "authors": [
          {
            "givenNames": [
              "U"
            ],
            "familyNames": [
              "Farooq"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Dragoi"
            ],
            "type": "Person"
          }
        ],
        "title": "Emergence of preconfigured and plastic time-compressed sequences in early postnatal development",
        "datePublished": {
          "value": "2019",
          "type": "Date"
        },
        "pageStart": 168,
        "pageEnd": 173,
        "isPartOf": {
          "volumeNumber": 363,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.aav0502",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 30630930,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib19",
        "authors": [
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Fernández"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Effern"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Grunwald"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "N"
            ],
            "familyNames": [
              "Pezer"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Lehnertz"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Dümpelmann"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Van",
              "Roost"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CE"
            ],
            "familyNames": [
              "Elger"
            ],
            "type": "Person"
          }
        ],
        "title": "Real-time tracking of memory formation in the human rhinal cortex and hippocampus",
        "datePublished": {
          "value": "1999",
          "type": "Date"
        },
        "pageStart": 1582,
        "pageEnd": 1585,
        "isPartOf": {
          "volumeNumber": 285,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.285.5433.1582",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 10477525,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib20",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Fernández-Ruiz"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Oliva"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Fermino",
              "de",
              "Oliveira"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "F"
            ],
            "familyNames": [
              "Rocha-Almeida"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Tingley"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Long-duration hippocampal sharp wave ripples improve memory",
        "datePublished": {
          "value": "2019",
          "type": "Date"
        },
        "pageStart": 1082,
        "pageEnd": 1086,
        "isPartOf": {
          "volumeNumber": 364,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.aax0758",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 31197012,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib21",
        "authors": [
          {
            "givenNames": [
              "DJ"
            ],
            "familyNames": [
              "Foster"
            ],
            "type": "Person"
          }
        ],
        "title": "Replay comes of age",
        "datePublished": {
          "value": "2017",
          "type": "Date"
        },
        "pageStart": 581,
        "pageEnd": 602,
        "isPartOf": {
          "volumeNumber": 40,
          "isPartOf": {
            "name": "Annual Review of Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1146/annurev-neuro-072116-031538",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 28772098,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib22",
        "authors": [
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Frey"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Tanni"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Perrodin"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "O’Leary"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Nau"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Kelly"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Banino"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Bendor"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Lefort"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CF"
            ],
            "familyNames": [
              "Doeller"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Barry"
            ],
            "type": "Person"
          }
        ],
        "title": "Interpreting wide-band neural activity using convolutional neural networks",
        "datePublished": {
          "value": "2021",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 10,
          "isPartOf": {
            "name": "eLife",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.7554/eLife.66551",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 34338632,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib23",
        "authors": [
          {
            "givenNames": [
              "KJ"
            ],
            "familyNames": [
              "Friston"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AM"
            ],
            "familyNames": [
              "Bastos"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Pinotsis"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "V"
            ],
            "familyNames": [
              "Litvak"
            ],
            "type": "Person"
          }
        ],
        "title": "LFP and oscillations-what do they tell us?",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 1,
        "pageEnd": 6,
        "isPartOf": {
          "volumeNumber": 31,
          "isPartOf": {
            "name": "Current Opinion in Neurobiology",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.conb.2014.05.004",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 25079053,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib24",
        "authors": [
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Girardeau"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Benchenane"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "SI"
            ],
            "familyNames": [
              "Wiener"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "MB"
            ],
            "familyNames": [
              "Zugaro"
            ],
            "type": "Person"
          }
        ],
        "title": "Selective suppression of hippocampal ripples impairs spatial memory",
        "datePublished": {
          "value": "2009",
          "type": "Date"
        },
        "pageStart": 1222,
        "pageEnd": 1223,
        "isPartOf": {
          "volumeNumber": 12,
          "isPartOf": {
            "name": "Nature Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nn.2384",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 19749750,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib25",
        "authors": [
          {
            "givenNames": [
              "I"
            ],
            "familyNames": [
              "Gridchyn"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Schoenenberger"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "O’Neill"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Csicsvari"
            ],
            "type": "Person"
          }
        ],
        "title": "Assembly-specific disruption of hippocampal replay leads to selective memory deficit",
        "datePublished": {
          "value": "2020",
          "type": "Date"
        },
        "pageStart": 291,
        "pageEnd": 300,
        "isPartOf": {
          "volumeNumber": 106,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2020.01.021",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 32070475,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib26",
        "authors": [
          {
            "givenNames": [
              "AD"
            ],
            "familyNames": [
              "Grosmark"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Diversity in neural firing dynamics supports both rigid and learned hippocampal sequences",
        "datePublished": {
          "value": "2016",
          "type": "Date"
        },
        "pageStart": 1440,
        "pageEnd": 1443,
        "isPartOf": {
          "volumeNumber": 351,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.aad1935",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 27013730,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib27",
        "authors": [
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Hagen"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AR"
            ],
            "familyNames": [
              "Chambers"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "GT"
            ],
            "familyNames": [
              "Einevoll"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "KH"
            ],
            "familyNames": [
              "Pettersen"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Enger"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AJ"
            ],
            "familyNames": [
              "Stasik"
            ],
            "type": "Person"
          }
        ],
        "title": "RippleNet: a recurrent neural network for sharp wave ripple (SPW-R) detection",
        "datePublished": {
          "value": "2021",
          "type": "Date"
        },
        "pageStart": 493,
        "pageEnd": 514,
        "isPartOf": {
          "volumeNumber": 19,
          "isPartOf": {
            "name": "Neuroinformatics",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1007/s12021-020-09496-2",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 33394388,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib28",
        "authors": [
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Ioffe"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C."
            ],
            "familyNames": [
              "Szegedy"
            ],
            "type": "Person"
          }
        ],
        "title": "Batch normalization: Accelerating deep network training by reducing internal covariate shift32nd",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 448,
        "pageEnd": 456,
        "type": "Article"
      },
      {
        "id": "bib29",
        "authors": [
          {
            "givenNames": [
              "SP"
            ],
            "familyNames": [
              "Jadhav"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Kemere"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "PW"
            ],
            "familyNames": [
              "German"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "Frank"
            ],
            "type": "Person"
          }
        ],
        "title": "Awake hippocampal sharp-wave ripples support spatial memory",
        "datePublished": {
          "value": "2012",
          "type": "Date"
        },
        "pageStart": 1454,
        "pageEnd": 1458,
        "isPartOf": {
          "volumeNumber": 336,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.1217230",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 22555434,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib30",
        "authors": [
          {
            "givenNames": [
              "HR"
            ],
            "familyNames": [
              "Joo"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "Frank"
            ],
            "type": "Person"
          }
        ],
        "title": "The hippocampal sharp wave-ripple in memory retrieval for immediate use and consolidation",
        "datePublished": {
          "value": "2018",
          "type": "Date"
        },
        "pageStart": 744,
        "pageEnd": 757,
        "isPartOf": {
          "volumeNumber": 19,
          "isPartOf": {
            "name": "Nature Reviews. Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/s41583-018-0077-1",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 30356103,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib31",
        "authors": [
          {
            "givenNames": [
              "JJ"
            ],
            "familyNames": [
              "Jun"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "NA"
            ],
            "familyNames": [
              "Steinmetz"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JH"
            ],
            "familyNames": [
              "Siegle"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "DJ"
            ],
            "familyNames": [
              "Denman"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Bauza"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "B"
            ],
            "familyNames": [
              "Barbarits"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AK"
            ],
            "familyNames": [
              "Lee"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CA"
            ],
            "familyNames": [
              "Anastassiou"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Andrei"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "Ç"
            ],
            "familyNames": [
              "Aydın"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Barbic"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "TJ"
            ],
            "familyNames": [
              "Blanche"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "V"
            ],
            "familyNames": [
              "Bonin"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Couto"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "B"
            ],
            "familyNames": [
              "Dutta"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "SL"
            ],
            "familyNames": [
              "Gratiy"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "DA"
            ],
            "familyNames": [
              "Gutnisky"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Häusser"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "B"
            ],
            "familyNames": [
              "Karsh"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Ledochowitsch"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CM"
            ],
            "familyNames": [
              "Lopez"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Mitelut"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Musa"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Okun"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Pachitariu"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Putzeys"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "PD"
            ],
            "familyNames": [
              "Rich"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Rossant"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "W-L"
            ],
            "familyNames": [
              "Sun"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Svoboda"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Carandini"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "KD"
            ],
            "familyNames": [
              "Harris"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Koch"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "O’Keefe"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "TD"
            ],
            "familyNames": [
              "Harris"
            ],
            "type": "Person"
          }
        ],
        "title": "Fully integrated silicon probes for high-density recording of neural activity",
        "datePublished": {
          "value": "2017",
          "type": "Date"
        },
        "pageStart": 232,
        "pageEnd": 236,
        "isPartOf": {
          "volumeNumber": 551,
          "isPartOf": {
            "name": "Nature",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nature24636",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 29120427,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib32",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Kamondi"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "L"
            ],
            "familyNames": [
              "Acsády"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Dendritic spikes are enhanced by cooperative network activity in the intact hippocampus",
        "datePublished": {
          "value": "1998",
          "type": "Date"
        },
        "pageStart": 3919,
        "pageEnd": 3928,
        "isPartOf": {
          "volumeNumber": 18,
          "isPartOf": {
            "name": "The Journal of Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1523/JNEUROSCI.18-10-03919.1998",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 9570819,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib33",
        "authors": [
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Karimi",
              "Abadchi"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Nazari-Ahangarkolaee"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Gattas"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Bermudez-Contreras"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Luczak"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "BL"
            ],
            "familyNames": [
              "McNaughton"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "MH"
            ],
            "familyNames": [
              "Mohajerani"
            ],
            "type": "Person"
          }
        ],
        "title": "Spatiotemporal patterns of neocortical activity around hippocampal sharp-wave ripples",
        "datePublished": {
          "value": "2020",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 9,
          "isPartOf": {
            "name": "eLife",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.7554/eLife.51972",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 32167467,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib34",
        "authors": [
          {
            "givenNames": [
              "DP"
            ],
            "familyNames": [
              "Kingma"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JL"
            ],
            "familyNames": [
              "Ba"
            ],
            "type": "Person"
          }
        ],
        "title": "Adam: A method for stochastic optimization",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "type": "Article"
      },
      {
        "id": "bib35",
        "authors": [
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Kitamura"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CJ"
            ],
            "familyNames": [
              "Macdonald"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Tonegawa"
            ],
            "type": "Person"
          }
        ],
        "title": "Entorhinal-hippocampal neuronal circuits bridge temporally discontiguous events",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 438,
        "pageEnd": 443,
        "isPartOf": {
          "volumeNumber": 22,
          "isPartOf": {
            "name": "Learning & Memory",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1101/lm.038687.115",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26286654,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib36",
        "authors": [
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Klausberger"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LF"
            ],
            "familyNames": [
              "Marton"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "O’Neill"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "JHJ"
            ],
            "familyNames": [
              "Huck"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "Y"
            ],
            "familyNames": [
              "Dalezios"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Fuentealba"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "WY"
            ],
            "familyNames": [
              "Suen"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Papp"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Kaneko"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Watanabe"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Csicsvari"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Somogyi"
            ],
            "type": "Person"
          }
        ],
        "title": "Complementary roles of cholecystokinin- and parvalbumin-expressing gabaergic neurons in hippocampal network oscillations",
        "datePublished": {
          "value": "2005",
          "type": "Date"
        },
        "pageStart": 9782,
        "pageEnd": 9793,
        "isPartOf": {
          "volumeNumber": 25,
          "isPartOf": {
            "name": "The Journal of Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1523/JNEUROSCI.3269-05.2005",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 16237182,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib37",
        "authors": [
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Klausberger"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Somogyi"
            ],
            "type": "Person"
          }
        ],
        "title": "Neuronal diversity and temporal dynamics: the unity of hippocampal circuit operations",
        "datePublished": {
          "value": "2008",
          "type": "Date"
        },
        "pageStart": 53,
        "pageEnd": 57,
        "isPartOf": {
          "volumeNumber": 321,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.1149381",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 18599766,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib38",
        "authors": [
          {
            "givenNames": [
              "AL"
            ],
            "familyNames": [
              "Maas"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AL"
            ],
            "familyNames": [
              "Maas"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AY"
            ],
            "familyNames": [
              "Hannun"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AY."
            ],
            "familyNames": [
              "Ng"
            ],
            "type": "Person"
          }
        ],
        "title": "Rectifier nonlinearities improve neural network acoustic models",
        "datePublished": {
          "value": "2013",
          "type": "Date"
        },
        "publisher": {
          "name": "ICML Work Deep Learn AUDIO, SPEECH Lang Process",
          "type": "Organization"
        },
        "type": "Article"
      },
      {
        "id": "bib39",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Mahendran"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Vedaldi"
            ],
            "type": "Person"
          }
        ],
        "title": "Understanding Deep Image Representations by Inverting Them",
        "datePublished": {
          "value": "2014",
          "type": "Date"
        },
        "pageStart": 5188,
        "pageEnd": 5196,
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.48550/arXiv.1412.0035",
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib40",
        "authors": [
          {
            "givenNames": [
              "L"
            ],
            "familyNames": [
              "McInnes"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Healy"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "N"
            ],
            "familyNames": [
              "Saul"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "L"
            ],
            "familyNames": [
              "Großberger"
            ],
            "type": "Person"
          }
        ],
        "title": "UMAP: uniform manifold approximation and projection",
        "datePublished": {
          "value": "2018",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 3,
          "isPartOf": {
            "name": "Journal of Open Source Software",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.21105/joss.00861",
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib41",
        "authors": [
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Mizuseki"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Diba"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Pastalkova"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Hippocampal CA1 pyramidal cells form functionally distinct sublayers",
        "datePublished": {
          "value": "2011",
          "type": "Date"
        },
        "pageStart": 1174,
        "pageEnd": 1181,
        "isPartOf": {
          "volumeNumber": 14,
          "isPartOf": {
            "name": "Nature Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nn.2894",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 21822270,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib42",
        "authors": [
          {
            "givenNames": [
              "ME"
            ],
            "familyNames": [
              "Modi"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Sahin"
            ],
            "type": "Person"
          }
        ],
        "title": "Translational use of event-related potentials to assess circuit integrity in ASD",
        "datePublished": {
          "value": "2017",
          "type": "Date"
        },
        "pageStart": 160,
        "pageEnd": 170,
        "isPartOf": {
          "volumeNumber": 13,
          "isPartOf": {
            "name": "Nature Reviews. Neurology",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nrneurol.2017.15",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 28211449,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib43",
        "authors": [
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Nakashiba"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "DL"
            ],
            "familyNames": [
              "Buhl"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "TJ"
            ],
            "familyNames": [
              "McHugh"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Tonegawa"
            ],
            "type": "Person"
          }
        ],
        "title": "Hippocampal CA3 output is crucial for ripple-associated reactivation and consolidation of memory",
        "datePublished": {
          "value": "2009",
          "type": "Date"
        },
        "pageStart": 781,
        "pageEnd": 787,
        "isPartOf": {
          "volumeNumber": 62,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2009.05.013",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 19555647,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib44",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Navas-Olive"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Valero"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Jurado-Parras"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "de",
              "Salas-Quiroga"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "RG"
            ],
            "familyNames": [
              "Averkin"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Gambino"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Cid"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "de",
              "la",
              "Prida"
            ],
            "type": "Person"
          }
        ],
        "title": "Multimodal determinants of phase-locked dynamics across deep-superficial hippocampal sublayers during theta oscillations",
        "datePublished": {
          "value": "2020",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 11,
          "isPartOf": {
            "name": "Nature Communications",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/s41467-020-15840-6",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 32371879,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib45",
        "authors": [
          {
            "givenNames": [
              "V"
            ],
            "familyNames": [
              "Navas-Olive"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Esparza"
            ],
            "type": "Person"
          }
        ],
        "title": "Cnn-matlab",
        "datePublished": {
          "value": "2022",
          "type": "Date"
        },
        "url": "https://archive.softwareheritage.org/swh:1:dir:0e369cb7c13f28d016e1b55a1f3e0242bc91ec91;origin=https://github.com/PridaLab/cnn-matlab;visit=swh:1:snp:0eef36d3eec9e00833377db989809596bda847ac;anchor=swh:1:rev:060b2ff6e4b6c5eacb9799addd5123ad06eaaf33",
        "type": "Article"
      },
      {
        "id": "bib46",
        "authors": [
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Niedermeyer"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "F"
            ],
            "familyNames": [
              "Silva"
            ],
            "type": "Person"
          }
        ],
        "title": "Electroencephalography: Basic Principles, Clinical Applications, And Related Fields",
        "datePublished": {
          "value": "2005",
          "type": "Date"
        },
        "publisher": {
          "name": "Wolters Kluwer",
          "type": "Organization"
        },
        "type": "Article"
      },
      {
        "id": "bib47",
        "authors": [
          {
            "givenNames": [
              "HF"
            ],
            "familyNames": [
              "Olafsdóttir"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Bush"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Barry"
            ],
            "type": "Person"
          }
        ],
        "title": "The role of hippocampal replay in memory and planning",
        "datePublished": {
          "value": "2018",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 28,
          "isPartOf": {
            "name": "Current Biology",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.cub.2017.10.073",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 29316421,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib48",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Oliva"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Fernández-Ruiz"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Berényi"
            ],
            "type": "Person"
          }
        ],
        "title": "Role of hippocampal CA2 region in triggering sharp-wave ripples",
        "datePublished": {
          "value": "2016",
          "type": "Date"
        },
        "pageStart": 1342,
        "pageEnd": 1355,
        "isPartOf": {
          "volumeNumber": 91,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2016.08.008",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 27593179,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib49",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Oliva"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Fernández-Ruiz"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Oliveira"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Origin of gamma frequency power during hippocampal sharp-wave ripples",
        "datePublished": {
          "value": "2018",
          "type": "Date"
        },
        "pageStart": 1693,
        "pageEnd": 1700,
        "isPartOf": {
          "volumeNumber": 25,
          "isPartOf": {
            "name": "Cell Reports",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.celrep.2018.10.066",
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib50",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Oliva"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Fernández-Ruiz"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "F"
            ],
            "familyNames": [
              "Leroy"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "SA"
            ],
            "familyNames": [
              "Siegelbaum"
            ],
            "type": "Person"
          }
        ],
        "title": "Hippocampal CA2 sharp-wave ripples reactivate and promote social memory",
        "datePublished": {
          "value": "2020",
          "type": "Date"
        },
        "pageStart": 264,
        "pageEnd": 269,
        "isPartOf": {
          "volumeNumber": 587,
          "isPartOf": {
            "name": "Nature",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/s41586-020-2758-y",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 32968277,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib51",
        "authors": [
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Patel"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "EW"
            ],
            "familyNames": [
              "Schomburg"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Berényi"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Fujisawa"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Local generation and propagation of ripples along the septotemporal axis of the hippocampus",
        "datePublished": {
          "value": "2013",
          "type": "Date"
        },
        "pageStart": 17029,
        "pageEnd": 17041,
        "isPartOf": {
          "volumeNumber": 33,
          "isPartOf": {
            "name": "The Journal of Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1523/JNEUROSCI.2036-13.2013",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 24155307,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib52",
        "authors": [
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Peters"
            ],
            "type": "Person"
          }
        ],
        "title": "AP_histology",
        "datePublished": {
          "value": "2022",
          "type": "Date"
        },
        "url": "https://github.com/petersaj/AP_histology",
        "type": "Article"
      },
      {
        "id": "bib53",
        "authors": [
          {
            "givenNames": [
              "BE"
            ],
            "familyNames": [
              "Pfeiffer"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "DJ"
            ],
            "familyNames": [
              "Foster"
            ],
            "type": "Person"
          }
        ],
        "title": "Place cells: autoassociative dynamics in the generation of sequences of hippocampal place cells",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 180,
        "pageEnd": 183,
        "isPartOf": {
          "volumeNumber": 349,
          "isPartOf": {
            "name": "Science",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1126/science.aaa9633",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26160946,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib54",
        "authors": [
          {
            "givenNames": [
              "BE"
            ],
            "familyNames": [
              "Pfeiffer"
            ],
            "type": "Person"
          }
        ],
        "title": "The content of hippocampal “replay.”",
        "datePublished": {
          "value": "2020",
          "type": "Date"
        },
        "pageStart": 6,
        "pageEnd": 18,
        "isPartOf": {
          "volumeNumber": 30,
          "isPartOf": {
            "name": "Hippocampus",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1002/hipo.22824",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 29266510,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib55",
        "authors": [
          {
            "givenNames": [
              "JF"
            ],
            "familyNames": [
              "Ramirez-Villegas"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "NK"
            ],
            "familyNames": [
              "Logothetis"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Besserve"
            ],
            "type": "Person"
          }
        ],
        "title": "Diversity of sharp-wave-ripple LFP signatures reveals differentiated brain-wide dynamical events",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 112,
          "isPartOf": {
            "name": "PNAS",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1073/pnas.1518257112",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26540729,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib56",
        "authors": [
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Redmon"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Divvala"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Girshick"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Farhadi"
            ],
            "type": "Person"
          }
        ],
        "title": "You Only Look Once: Unified, Real-Time Object Detection",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 779,
        "pageEnd": 788,
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.48550/arXiv.1506.02640",
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib57",
        "authors": [
          {
            "givenNames": [
              "BA"
            ],
            "familyNames": [
              "Richards"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "TP"
            ],
            "familyNames": [
              "Lillicrap"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Beaudoin"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "Y"
            ],
            "familyNames": [
              "Bengio"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Bogacz"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Christensen"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "C"
            ],
            "familyNames": [
              "Clopath"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "RP"
            ],
            "familyNames": [
              "Costa"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "de",
              "Berker"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Ganguli"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CJ"
            ],
            "familyNames": [
              "Gillon"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Hafner"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Kepecs"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "N"
            ],
            "familyNames": [
              "Kriegeskorte"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Latham"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "GW"
            ],
            "familyNames": [
              "Lindsay"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "KD"
            ],
            "familyNames": [
              "Miller"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Naud"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CC"
            ],
            "familyNames": [
              "Pack"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Poirazi"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Roelfsema"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Sacramento"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Saxe"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "B"
            ],
            "familyNames": [
              "Scellier"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AC"
            ],
            "familyNames": [
              "Schapiro"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "W"
            ],
            "familyNames": [
              "Senn"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Wayne"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Yamins"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "F"
            ],
            "familyNames": [
              "Zenke"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Zylberberg"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Therien"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "KP"
            ],
            "familyNames": [
              "Kording"
            ],
            "type": "Person"
          }
        ],
        "title": "A deep learning framework for neuroscience",
        "datePublished": {
          "value": "2019",
          "type": "Date"
        },
        "pageStart": 1761,
        "pageEnd": 1770,
        "isPartOf": {
          "volumeNumber": 22,
          "isPartOf": {
            "name": "Nature Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/s41593-019-0520-2",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 31659335,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib58",
        "authors": [
          {
            "givenNames": [
              "F"
            ],
            "familyNames": [
              "Rosenblatt"
            ],
            "type": "Person"
          }
        ],
        "title": "The perceptron: A probabilistic model for information storage and organization in the brain",
        "datePublished": {
          "value": "1958",
          "type": "Date"
        },
        "pageStart": 386,
        "pageEnd": 408,
        "isPartOf": {
          "volumeNumber": 65,
          "isPartOf": {
            "name": "Psychological Review",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1037/h0042519",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 13602029,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib59",
        "authors": [
          {
            "givenNames": [
              "DK"
            ],
            "familyNames": [
              "Roumis"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "Frank"
            ],
            "type": "Person"
          }
        ],
        "title": "Hippocampal sharp-wave ripples in waking and sleeping states",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 6,
        "pageEnd": 12,
        "isPartOf": {
          "volumeNumber": 35,
          "isPartOf": {
            "name": "Current Opinion in Neurobiology",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.conb.2015.05.001",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26011627,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib60",
        "authors": [
          {
            "givenNames": [
              "P"
            ],
            "familyNames": [
              "Shamash"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Carandini"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "KD"
            ],
            "familyNames": [
              "Harris"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "NA"
            ],
            "familyNames": [
              "Steinmetz"
            ],
            "type": "Person"
          }
        ],
        "title": "A Tool for Analyzing Electrode Tracks from Slice Histology",
        "datePublished": {
          "value": "2018",
          "type": "Date"
        },
        "isPartOf": {
          "name": "bioRxiv",
          "type": "Periodical"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1101/447995",
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib61",
        "authors": [
          {
            "givenNames": [
              "JH"
            ],
            "familyNames": [
              "Siegle"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "AC"
            ],
            "familyNames": [
              "López"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "YA"
            ],
            "familyNames": [
              "Patel"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Abramov"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Ohayon"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Voigts"
            ],
            "type": "Person"
          }
        ],
        "title": "Open ephys: an open-source, plugin-based platform for multichannel electrophysiology",
        "datePublished": {
          "value": "2017",
          "type": "Date"
        },
        "isPartOf": {
          "volumeNumber": 14,
          "isPartOf": {
            "name": "Journal of Neural Engineering",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1088/1741-2552/aa5eea",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 28169219,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib62",
        "authors": [
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Simonyan"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Vedaldi"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Zisserman"
            ],
            "type": "Person"
          }
        ],
        "title": "Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps",
        "datePublished": {
          "value": "2013",
          "type": "Date"
        },
        "type": "Article"
      },
      {
        "id": "bib63",
        "authors": [
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Sosa"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "HR"
            ],
            "familyNames": [
              "Joo"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "Frank"
            ],
            "type": "Person"
          }
        ],
        "title": "Dorsal and ventral hippocampal sharp-wave ripples activate distinct nucleus accumbens networks",
        "datePublished": {
          "value": "2020",
          "type": "Date"
        },
        "pageStart": 725,
        "pageEnd": 741,
        "isPartOf": {
          "volumeNumber": 105,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2019.11.022",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 31864947,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib64",
        "authors": [
          {
            "givenNames": [
              "JT"
            ],
            "familyNames": [
              "Springenberg"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Dosovitskiy"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "T"
            ],
            "familyNames": [
              "Brox"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Riedmiller"
            ],
            "type": "Person"
          }
        ],
        "title": "Striving for Simplicity: The All Convolutional Net",
        "datePublished": {
          "value": "2014",
          "type": "Date"
        },
        "type": "Article"
      },
      {
        "id": "bib65",
        "authors": [
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Stark"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "L"
            ],
            "familyNames": [
              "Roux"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Eichler"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "Y"
            ],
            "familyNames": [
              "Senzai"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Royer"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Pyramidal cell-interneuron interactions underlie hippocampal ripple oscillations",
        "datePublished": {
          "value": "2014",
          "type": "Date"
        },
        "pageStart": 467,
        "pageEnd": 480,
        "isPartOf": {
          "volumeNumber": 83,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2014.06.023",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 25033186,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib66",
        "authors": [
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Stark"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "L"
            ],
            "familyNames": [
              "Roux"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "R"
            ],
            "familyNames": [
              "Eichler"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Local generation of multineuronal spike sequences in the hippocampal CA1 region",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 10521,
        "pageEnd": 10526,
        "isPartOf": {
          "volumeNumber": 112,
          "isPartOf": {
            "name": "PNAS",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1073/pnas.1508785112",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26240336,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib67",
        "authors": [
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Sullivan"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Csicsvari"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Mizuseki"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Montgomery"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Diba"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "G"
            ],
            "familyNames": [
              "Buzsáki"
            ],
            "type": "Person"
          }
        ],
        "title": "Relationships between hippocampal sharp waves, ripples, and fast gamma oscillation: influence of dentate and entorhinal cortical activity",
        "datePublished": {
          "value": "2011",
          "type": "Date"
        },
        "pageStart": 8605,
        "pageEnd": 8616,
        "isPartOf": {
          "volumeNumber": 31,
          "isPartOf": {
            "name": "The Journal of Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1523/JNEUROSCI.0294-11.2011",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 21653864,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib68",
        "authors": [
          {
            "givenNames": [
              "AN"
            ],
            "familyNames": [
              "Tikhonov"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "VY."
            ],
            "familyNames": [
              "Arsenin"
            ],
            "type": "Person"
          }
        ],
        "title": "Solutions of Ill-Posed Problems",
        "datePublished": {
          "value": "1977",
          "type": "Date"
        },
        "publisher": {
          "name": "Winston",
          "address": {
            "addressLocality": "New York",
            "type": "PostalAddress"
          },
          "type": "Organization"
        },
        "type": "Article"
      },
      {
        "id": "bib69",
        "authors": [
          {
            "givenNames": [
              "M"
            ],
            "familyNames": [
              "Valero"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Cid"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "RG"
            ],
            "familyNames": [
              "Averkin"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Aguilar"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "A"
            ],
            "familyNames": [
              "Sanchez-Aguilera"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "TJ"
            ],
            "familyNames": [
              "Viney"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Gomez-Dominguez"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "E"
            ],
            "familyNames": [
              "Bellistri"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "LM"
            ],
            "familyNames": [
              "de",
              "la",
              "Prida"
            ],
            "type": "Person"
          }
        ],
        "title": "Determinants of different deep and superficial CA1 pyramidal cell dynamics during sharp-wave ripples",
        "datePublished": {
          "value": "2015",
          "type": "Date"
        },
        "pageStart": 1281,
        "pageEnd": 1290,
        "isPartOf": {
          "volumeNumber": 18,
          "isPartOf": {
            "name": "Nature Neuroscience",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1038/nn.4074",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 26214372,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib70",
        "authors": [
          {
            "givenNames": [
              "GM"
            ],
            "familyNames": [
              "van",
              "de",
              "Ven"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Trouche"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "CG"
            ],
            "familyNames": [
              "McNamara"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "K"
            ],
            "familyNames": [
              "Allen"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "D"
            ],
            "familyNames": [
              "Dupret"
            ],
            "type": "Person"
          }
        ],
        "title": "Hippocampal offline reactivation consolidates recently formed cell assembly patterns during sharp wave-ripples",
        "datePublished": {
          "value": "2016",
          "type": "Date"
        },
        "pageStart": 968,
        "pageEnd": 974,
        "isPartOf": {
          "volumeNumber": 92,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2016.10.020",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 27840002,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      },
      {
        "id": "bib71",
        "authors": [
          {
            "givenNames": [
              "J"
            ],
            "familyNames": [
              "Yamamoto"
            ],
            "type": "Person"
          },
          {
            "givenNames": [
              "S"
            ],
            "familyNames": [
              "Tonegawa"
            ],
            "type": "Person"
          }
        ],
        "title": "Direct medial entorhinal cortex input to hippocampal CA1 is crucial for extended quiet awake replay",
        "datePublished": {
          "value": "2017",
          "type": "Date"
        },
        "pageStart": 217,
        "pageEnd": 227,
        "isPartOf": {
          "volumeNumber": 96,
          "isPartOf": {
            "name": "Neuron",
            "type": "Periodical"
          },
          "type": "PublicationVolume"
        },
        "identifiers": [
          {
            "name": "doi",
            "propertyID": "https://registry.identifiers.org/registry/doi",
            "value": "10.1016/j.neuron.2017.09.017",
            "type": "PropertyValue"
          },
          {
            "name": "pmid",
            "propertyID": "https://registry.identifiers.org/registry/pmid",
            "value": 28957670,
            "type": "PropertyValue"
          }
        ],
        "type": "Article"
      }
    ]
  },
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "# Introduction\n",
        "\n",
        "Interpreting brain signals is essential in understand cognition and behavior. Biologically relevant oscillations are considered reliable markers of brain operation [@bib8; @bib23]. Thus, analysis of either surface electroencephalography (EEG) or intracranial local field potential (LFP) is typically based on spectral methods relying on gold-standard definitions [@bib46]. However, other features of EEG/LFP signals such as the slope, polarity, and latency to events are equally important [@bib42]. While interpreting neurophysiological signals is strongly influenced by this heuristics, methodological issues limit further advances.\n",
        "\n",
        "During memory consolidation and retrieval, the hippocampal system releases short memory traces in the form of neuronal sequences [@bib30; @bib54; @bib53]. Such activity comes often in tandem with spatially segregated oscillations (100–250 Hz) and LFP deflections dubbed sharp-wave ripples (SWRs) [@bib9]. They result from active recruitment of dedicated cell-type-specific microcircuits [@bib14; @bib65; @bib69]. SWR-associated sequences can either replay previous experience or preplay internal representations [@bib18; @bib21; @bib30], making their automatic detection crucial in understanding memory function. However, while spectral-based filters have permitted real-time SWR-related interventions [@bib20; @bib24; @bib29], these methods are not optimal to disambiguate the underlying variability of a wealth of events, especially during online operation. Moreover, with the advent of ultra-dense recordings, the need for automatic identification is pressing. In spite of recent advances [@bib16; @bib27], current solutions still require improvement to capture the complexity of SWR events across hippocampal layers.\n",
        "\n",
        "Here, we exploit the extraordinary capability of convolutional neural networks (CNNs) for real-time recognition to identify SWR [@bib3]. Instead of adopting standard approaches used for temporal data such as in speech recognition, we chose to rely on unfiltered LFP profiles across hippocampal strata as individual data points making up an image. The one-dimensional object is equivalent to a clip of one-row pixels with as many colors as LFP channels. We show how one-dimensional CNN operating over high-density LFP hippocampal signals overcome spectral methods in detecting a large variety of SWR. Moreover, we develop a strategy to decode and explain CNN operation. In doing so, we discovered some features of SWR that permit their detection at distant layers when applied to Neuropixels recordings [@bib31]. Using these tools allow for a more comprehensive interpretation of SWR signatures across the entire hippocampal system.\n",
        "\n",
        "# Results\n",
        "\n",
        "## Artificial neural network architecture and operation\n",
        "\n",
        "Inspired by You-Only-Look-Once (YOLO) networks for real-time object recognition [@bib56], we adapted a CNN architecture to search for SWR in the dorsal hippocampus of awake head-fixed mice. LFP signals acquired with high-density 8-channel silicon probes provide detailed information about the underlying CA1 microcircuit ([Figure 1A](#fig1); [@bib41]; [@bib44]). The goal of the artificial network operating over 8-channel input signals (down-sampled at 1250 Hz) was to provide a single-output probability for the occurrence of an SWR event in a given temporal window ([Figure 1A](#fig1), bottom trace). Therefore, the input ‘object’ is equivalent to a stream of pixels (×1 number of data samples) with 8-channels instead of colors.\n",
        "\n",
        "figure: Figure 1.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig1.jpg)\n",
        "\n",
        "### Convolutional neural network (CNN) definition and operation.\n",
        "\n",
        "(**A**) Example of a sharp-wave ripple (SWR) event recorded with 8-channel silicon probes in the dorsal CA1 hippocampus of head-fixed awake mice. Vertical lines mark the analysis window (32 ms). The probability of SWR event from each window is shown at bottom. (**B**) Example of L1 kernel operation and calculation of the kernel activation (KA) signal. (**C**) Network architecture consists of seven blocks of one Convolutional layer+one BatchNorm layer+one Leaky ReLU layer each (layers 1–21). Dense layer 22 provides the CNN output as the SWR probability. (**D**) Examples of KA for layers 1–4 resulting from the SWR event shown in A. Note how the 8-channel local field potential (LFP) input is progressively transformed to capture different features of the event. (**E**) Example of the CNN output (i.e. KA of layer 22) at 32 ms resolution. A probability threshold can be used to identify SWR events. Note that some events can be predicted well in advance.\n",
        ":::\n",
        "{#fig1}\n",
        "\n",
        "figure: Figure 1—figure supplement 1.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig1-figsupp1.jpg)\n",
        "\n",
        "### Network definition and parameters.\n",
        "\n",
        "(**A**) Preliminary evaluation of two different architectures, convolutional neural network (CNN), and long short-term memory (LSTM) networks, as well as different learning rates, number of kernels factor, and batch sizes. The resulting 10-best networks exhibited performance F1>0.65 (green scale) at 32 ms resolution. Arrowheads indicate CNN32. Worst performance networks are shown in gray. (**B**) Evolution of the loss value during training of the 10-best networks shown in A. CNN32 exhibited the lowest and more stable learning curve (arrowhead). (**C**) Evolution of the loss function error across epochs for the training and test subsets, excluding overfitting issues. (**D**) Evaluation of the parameters of the Butterworth filter exhibiting performance F1>0.65 (green values), similar to the CNN. The chosen parameters (100–300 Hz bandwidth and order 2) are indicated by arrowheads. We found no effect on the number of channels used for the filter (1, 4, and 8 channels), and chose that with the higher ripple power. (**E**) Extended hyper-parameter search for different optimization algorithms (Adam and AMSGrad), regularizing strategies, and the learning rate decay (781 parameter combinations). F1 values of the 30-best networks are shown (green values). Worst performance networks are in gray. Arrowheads indicate the chosen model. (**F**) Scheme of the experimental setup for online detection. CNN operated in real time at the interface between the Intan recording system and the controller of an opto-electrode probe. A sharp-wave ripple (SWR) event (right) illustrates detection over threshold. Detection was implemented using a plugin designed to incorporate TensorFlow into the OE [@bib61] Graphic User Interface <https://github.com/PridaLab/CNNRippleDetectorOEPlugin>. (**G**) Example of an online closed-loop intervention (blue shadow) in a PV-cre mouse injected with AAV-DIO-ChR2 to optogenetically modulate SWR.\n",
        ":::\n",
        "{#fig1s1}\n",
        "\n",
        "Convolutional layers search for particular features in the input data by using kernels. The kernels of the first layer (L1) have dimensions of 8-channels × length, with length reflecting the number of data samples. They advance along the temporal axis moving forward a similar number of non-overlapping samples defined by the stride ([Figure 1B](#fig1)). The result of this operation is the kernel activation (KA) signal, which reflects the presence of some input features. L1 kernel length should be defined by considering the desired output resolution of the network. To ease subsequent online applications, we chose either 32 ms (CNN32, L1 kernel length 5) or 12.8 ms resolution (CNN12, L1 kernel length 2).\n",
        "\n",
        "Our CNN operates by receiving the 8-channels input into each of the four kernels of L1 ([Figure 1C](#fig1)). Kernels process the LFP and output a KA signal ([Figure 1D](#fig1)). After passing through L1, the 8-channels are transformed into 4-channels, one per kernel (e.g. L1K1, L1K2, etc.). L1 output is then transformed by a BatchNorm layer (L2) and a Leaky ReLU layer (L3), before entering the next block (L4-L5-L6 and so on; [Figure 1C](#fig1)). The size of subsequent kernels is defined by the input data from the Convolutional layers of the previous block (see Materials and methods). Inspired by YOLO, we staggered blocks with kernels of large and short length to allow for alternate convolution of the temporal and channel axes. As data are processed along these blocks, resolution decreases and hence the kernel length becomes progressively shorter.\n",
        "\n",
        "We defined a suitable number of blocks that optimized the input (8 channels) and output features (1 channel output at 32 ms or 12.8 resolution), resulting in seven blocks for a total of 21 layers ([Figure 1C](#fig1)). The final layer (L22) is a Dense layer with a sigmoidal activation function, so that the CNN output (between 0 and 1) can be interpreted as the SWR probability. An SWR event can be detected using an adjustable probability threshold ([Figure 1E](#fig1)). Note that our CNN network operates along all streamed LFP data without any specification of the ongoing oscillatory state (i.e. theta or non-theta segments accompanying running and immobility periods, respectively).\n",
        "\n",
        "## CNN training and performance offline and online\n",
        "\n",
        "Having defined the main network architecture, we used a dataset manually tagged by an expert for training and initial validation (1794 events, two sessions from two mice; [Supplementary file 1](#supp1)). An important decision we made was manually annotating the start and the end of SWR events so that the CNN could learn their onset.\n",
        "\n",
        "Given the large number of parameter combinations, we run two optimization rounds using training and test chunks from the training dataset. We first tested a subset of hyper-parameters to look for the 10-best networks ([Figure 1—figure supplement 1A](#fig1s1), green shaded), and chose the one with the lowest and more stable learning curve ([Figure 1—figure supplement 1B](#fig1s1), arrowhead). Stabilization of the loss function error for the training and test subsets along epochs excluded potential overfitting ([Figure 1—figure supplement 1C](#fig1s1)). In order to compare CNN performance against spectral methods, we implemented a Butterworth filter, which parameters were optimized using the same training set ([Figure 1—figure supplement 1D](#fig1s1)). A subsequent hyper-parameter search (781 combinations) confirmed that the trained CNN was in the top-30 group ([Figure 1—figure supplement 1E](#fig1s1)). A code notebook is available at <https://colab.research.google.com/github/PridaLab/cnn-ripple/blob/main/src/notebooks/cnn-example.ipynb>. The trained model is accessible at the GitHub repository both for Python: <https://github.com/PridaLab/cnn-ripple> (copy archived at [swh:1:rev:9dcc5b6a8267b89eb86a2813dbbcb74a621a701b](https://archive.softwareheritage.org/swh:1:dir:b38a5db56c84c61821347b603dd884169d8f7b1c;origin=https://github.com/PridaLab/cnn-ripple;visit=swh:1:snp:5785d27d319d84076a2353540d821d26346be009;anchor=swh:1:rev:9dcc5b6a8267b89eb86a2813dbbcb74a621a701b); [@bib1]) and MATLAB: <https://github.com/PridaLab/cnn-matlab>; (copy archived at [swh:1:rev:060b2ff6e4b6c5eacb9799addd5123ad06eaaf33](https://archive.softwareheritage.org/swh:1:dir:0e369cb7c13f28d016e1b55a1f3e0242bc91ec91;origin=https://github.com/PridaLab/cnn-matlab;visit=swh:1:snp:0eef36d3eec9e00833377db989809596bda847ac;anchor=swh:1:rev:060b2ff6e4b6c5eacb9799addd5123ad06eaaf33); [@bib45]).\n",
        "\n",
        "We assessed the offline performance of the chosen CNN, as compared to the Butterworth filter as the gold standard, using additional tagged sessions never used for training (5695 events from n=15 sessions from five mice; [Supplementary file 1](#supp1)). Performance was evaluated by calculating the precision (P, proportion of correct predictions over all predictions), recall (R, proportion of correct predictions over ground truth events, also known as sensitivity), and F1 values (harmonic mean of precision and recall). The P-R curve depicted better offline operation of both the CNN12 and CNN32 as compared with the filter ([Figure 2A](#fig2), left). To make the CNN and the filter thresholds comparable, we normalized their values by the best threshold performance (0.7 probability threshold for the CNN, 5SD for the filter). When we considered the relationship between performance and the detection threshold, we found that the CNN was more robust than the filter ([Figure 2A](#fig2), right). Filter thresholds had effect in biasing detection of SWR, which exhibited different mean feature values (frequency and power) ([Figure 2B](#fig2), upper plots). In contrasts, mean features of SWR detected by the CNN did not depend on the threshold and were consistent with the ground truth ([Figure 2B](#fig2), bottom).\n",
        "\n",
        "figure: Figure 2.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig2.jpg)\n",
        "\n",
        "### Convolutional neural network (CNN) performance.\n",
        "\n",
        "(**A**) Offline P-R curve (mean is dark; sessions are light) (left), and F1 score as a function of normalized thresholds for the CNN at 32 and 12.8 ms resolution as compared with the Butterworth filter (right). Data reported as mean±95% confidence interval for validation sessions (n=15 sessions; five mice). (**B**) Comparison of mean sharp-wave ripple (SWR) features (frequency, power, high-frequency band contribution, and spectral entropy) of events detected offline by the filter (upper plots) and the CNN32 (bottom) as a function of the threshold. The mean best threshold is indicated (5SD for the filter, 0.7 probability for the CNN). Note effect of the threshold in the mean frequency value (Kruskal-Wallis, Chi2(7)=30.5, p&lt;0.0001; post hoc tests \\*, p&lt;0.05; \\*\\*, p&lt;0.001) and the power (Kruskal-Wallis, Chi2(7)=16.4, p=0.0218) for the filter but not for the CNN. Note also, differences against the mean value in the ground truth (GT). Mean data from n=15 sessions; five mice. (**C**) Online detection performance of CNN12 as compared with the Butterworth filter (n=8 sessions, t-test p=0.0047; n=5 mice, t-test p=0.033). (**D**) Mean and per session P-R curve (left), and F1 score as a function of the optimized threshold for online sessions, as analyzed post hoc (right). Data from n=8 sessions from five mice.\n",
        ":::\n",
        "{#fig2}\n",
        "\n",
        "The offline analysis presented above was possible because the ground truth was already known. In real case scenarios, the experimenter has to rely in relatively arbitrary threshold settings. To evaluate this further, we performed a new set of experiments for real-time detection in the Open Ephys (OE) environment [@bib61] (eight sessions from five mice). To this purpose, we developed a plugin designed to incorporate TensorFlow, an open-source library for machine learning applications, into the OE graphic user interface ([Figure 1—figure supplement 1F, G](#fig1s1); [Supplementary file 1](#supp1)). To be consistent with detection standards [@bib20], the online filter was applied to the channel with maximal ripple power and an additional non-ripple channel was used to veto detection of common artifacts. We found better online performance of the CNN at 12.8 ms resolution as compared with the filter ([Figure 2C](#fig2); per session p=0.0047; per mice p=0.033). When it came to the ability to anticipate SWR events online, the CNN slightly overtook the Butterworth filter (time-to-SWR-peak for CNN12: –7.01±2.05 ms; Butterworth filter: –4.66±2.87 ms; paired t-test, p=0.048). A post hoc offline evaluation of online sessions confirmed better performance of the CNN versus the filter, for all normalized thresholds ([Figure 2D](#fig2)).\n",
        "\n",
        "## Detection limits of SWR and their influences on CNN operation\n",
        "\n",
        "Are there any practical detection limit for SWR? How good is CNN performance and how much is it determined by the expert heuristics?\n",
        "\n",
        "First, we sought to compare CNN and the filter at its maximal capability using data from all validation sessions (offline and online: 22 sessions from 10 mice). To this purpose, we equated the methods using the best possible detection threshold per session (the one that optimized F1) and found roughly similar values ([Figure 3A](#fig3); CNN12: F1=0.68 ± 0.06; CNN32: F1=0.63 ± 0.05; Butterworth filter: F1=0.65 ± 0.11), indicating the CNN meet the gold standard provided the filter is optimized. Note that this can only be possible because we know the ground truth. Remarkably, the filter exhibited larger variability across sessions. Our CNN performed similar to a filter-based optimized algorithm (F1=0.65 ± 0.11) [@bib16], but significantly better than RippleNET, a recurrent network designed to detect SWR mostly during periods of immobility (F1=0.31 ± 0.22; p&lt;0.00001 one-way ANOVA for comparisons with both CNN12 and CNN32) [@bib27]. This supports similar operation of CNN as compared with the gold standard in conditions when optimized detection is possible (i.e. when the ground truth is known).\n",
        "\n",
        "figure: Figure 3.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig3.jpg)\n",
        "\n",
        "### Effects of different experts’ ground truth on convolutional neural network (CNN) performance.\n",
        "\n",
        "(**A**) Comparison between the CNN and Butterworth filter using thresholds that optimized F1 per session (22 recordings sessions from 10 mice). Note that this optimization process can only be implemented when the ground truth (GT) is known. (**B**) A subset of data annotated independently by two experts was used to evaluate the ability of each method to identify events beyond the individual ground truth. The original expert provided data for training and validation of the CNN. The new expert tagged events independently in a subset of sessions (14 sessions from seven mice). The performance of CNN, but not that of the filter, was significantly better when confronted with the consolidated ground truth (one-way ANOVA for the type of ground truth for CNN32 F(2)=0.01, p=0.0128 and CNN12 F(2)=0.01, p=0.0257). Significant effect of methods when applied to the consolidated ground truth (one-way ANOVA F(2)=0.02, p=0.0331; rightmost); post hoc tests \\*\\*, p&lt;0.01; \\*\\*\\*, p&lt;0.005. CNN models and the filter were applied at mean best performance threshold. (**C**) Performance obtained from the experts’ ground truth when acting as a mutual classifier (n=14 sessions). Note that this provides an estimation of the maximal performance level. (**D**) We used the hc-11 dataset [@bib26] at the CRCNS public repository (<https://crcns.org/data-sets/hc/hc-11/about-hc-11>) to further evaluate the effect of the definition of the ground truth and to test for the CNN generalization capability. The data consisted in 10-channel high-density recordings from the CA1 region of freely moving rats. We randomly selected 8-channels to cope with inputs dimension of our CNN, which was not retrained. The dataset comes with annotated sharp-wave ripple (SWR) events (dark shadow) defined by stringent criteria (coincidence of both population synchrony and SWR). CNN False Positives defined by this partially annotated ground truth were re-reviewed and validated (light shadow). (**E**) Performance of the original CNN, without retraining, at both temporal resolutions over the originally annotated (dark colors) and after False Positives validation (light colors). Performance of the Butterworth filter is also shown. Paired t-test at \\*, p&lt;0.05; \\*\\*, p&lt;0.001; \\*\\*\\*, p&lt;0.001. Data from five sessions, two rats. See [Supplementary file 1](#supp1).\n",
        ":::\n",
        "{#fig3}\n",
        "\n",
        "The use of supervised learning for training and posterior validation requires using datasets annotated by experts. However, the expert’s opinion may be influenced by the recording method, the experimental goal, and the existing knowledge. To evaluate the impact of these potential biases, we used the ground truth from a second expert in the lab for validation purposes only (3403 events, n=14 sessions, seven mice). While results were overall comparable, there were some natural differences between experts in a session-by-session basis ([Figure 3B](#fig3)). Interestingly, when we confronted the network detection with the consolidated ground truth, we noted that the CNN could be actually detecting many more SWR events than initially accounted by each individual expert (one-way ANOVA for ground truth, CNN12: F(2)=0.01, p=0.026; CNN32: F(2)=0.01, p=0.013). In contrast, the filter failed to exhibit such an improvement, and performed worse when tested against the consolidated ground truth (one-way ANOVA for models, F(2)=0.02, p=0.033) ([Figure 3B](#fig3), rightmost). Notably, an expert acting as a classifier of the other expert’s ground truth scored at 0.70±0.13 ([Figure 3C](#fig3)), providing mean reference of best performance ([Figure 3A and B](#fig3)).\n",
        "\n",
        "To evaluate this point further, and to test for the capability of the CNN to generalize beyond training with head-fixed mice data, we used an externally annotated dataset of SWR recorded with high-density silicon probes from freely moving rats ([@bib26]; [Figure 3D](#fig3); 2041 events; five sessions from two rats; [Supplementary file 1](#supp1)). In that work, SWR detection was conditioned on the coincidence of both population synchrony and LFP definition, thus providing a ‘partial ground truth’ (i.e. SWR without population firing were not annotated in the dataset). Consistently, the network recalled most of the annotated events (R=0.80 ± 0.18), but precision was apparently low (P=0.42 ± 0.18) ([Figure 3E](#fig3)). Hence, we evaluated all False Positive predictions and found that many of them were actually unannotated SWR (2403 events), meaning that precision was actually higher (P=0.77 ± 0.08 for CNN32, P=0.86 ± 0.08; for CNN12, both at P&lt;0.01 for paired t-test; [Figure 3E](#fig3)). As above, the filter failed to improve F1 performance ([Figure 3E](#fig3)), and remained lower than for the CNN12.\n",
        "\n",
        "Altogether, our analyses indicate that detection limits of SWR may be determined by the expert’s criteria. CNN performance improves when confronted with the consolidated ground truth, supporting that shared community tagging may help to advance our understanding of SWR definition. Importantly, a CNN trained in data from head-fixed mice was able to generalize to freely moving rats.\n",
        "\n",
        "## Unveiling SWR latent features\n",
        "\n",
        "Interpretability is a major issue in modern machine learning [@bib39; @bib57]. To better understand and validate CNN operation, we looked for methods to visualize the kernel features that had better explained the network ability to recognize SWR events. We exploited a standard procedure from CNN image recognition [@bib62] consisting on maximizing the KA using gradient ascent in the input space ([Figure 4A](#fig4), top). To this purpose, a noisy LFP input is progressively updated until the KA is maximal, using different initialization values ([Figure 4A](#fig4), bottom). The resulting signal is equivalent to a saliency map reflecting the latent preferred features by each CNN kernel. This approach is similar to infer visual receptive fields using noise stimulation.\n",
        "\n",
        "figure: Figure 4.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig4.jpg)\n",
        "\n",
        "### Analysis of the convolutional neural network (CNN) kernel saliency maps.\n",
        "\n",
        "(**A**) Schematic illustration of the method to calculate the kernel saliency maps using gradient ascent. Note that different initializations converge to the same solution. (**B**) Examples of saliency maps from some representative kernels. Note ripple-like preferred features of L1 kernels and temporally specific features of L19 and L22 kernels. (**C**) Pattern-matching between saliency maps shown in B and local field potential (LFP) inputs of the example SWR event (120 ms window). (**D**) Same as in C for a True Negative example event. (**E**) Mean template-matching signal (top) and maximal values (bottom) from all detected events classified by CNN32 as True Positive (4385 events), False Positives (2468 events), False Negatives (3055 events), and True Negatives (4902 events). One-way ANOVA, F(3)=1517, p&lt;0.0001; \\*\\*\\*, p&lt;0.001 after correction by Bonferroni. (**F**) Distribution of False Positive events per categories both in the CNN32 and the filter.\n",
        ":::\n",
        "{#fig4}\n",
        "\n",
        "Similar as two-dimensional CNN layers specialize in detecting edges, shapes, and textures of an image, we found the kernels focused in distinct LFP features. Consistently with data above, kernels from the first layers specialized in detecting rhythmic and periodic patterns (e.g. L1K1 and L1K2), while later layers seem to focus in identifying these patterns along time (e.g. L19K18; [Figure 4B](#fig4)). By computing the pattern-matching function between saliency maps and the 8-channels LFP, we evaluated how the kernels accounted for different features of True Positive events, that is, SWR ([Figure 4C](#fig4)). For example, L1K1 was maximally activated at the peak of ripple oscillations, while L1K2 and L19K18 were maximal at the onset, supporting the network ability to anticipate SWR. Pattern-matching between true SWR events and the saliency map of the output layer L22 provided an idea of what the CNN recognized as an ideal ‘object’. In contrast, pattern-matching values in the absence of SWR events (True Negative events) were typically lower as compared with those obtained from the ground truth ([Figure 4D](#fig4)).\n",
        "\n",
        "To quantify these observations, we evaluated how much the output of L22K1 saliency maps matched different input events, using data from the training and offline validation sessions (17 sessions, seven mice). Consistent with the examples, pattern-matching was maximal for True Positive and minimal for True Negative events (one-way ANOVA, F(3)=1517, p&lt;0.0001). Pattern-matching values were higher for False Positives than for False Negatives ([Figure 4E](#fig4)), meaning that the network may be identifying some latent features. A closer examination of False Positive predictions suggested that about 20% of them could be reclassified. From these, about one-third were sharp waves without clear associated ripples (SW no ripples), while others were actually ripples events without associated sharp waves (ripples no SW), population firing, and artifacts ([Figure 4F](#fig4)). Instead, examination of False Positive by the filter showed a major trend to detect artifacts at the expenses of more physiologically relevant events ([Figure 4F](#fig4)). Examples of True Positive and False Positive detected by the CNN can be seen in [Figure 5](#fig5).\n",
        "\n",
        "figure: Figure 5.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig5.jpg)\n",
        "\n",
        "### Examples of True Positive and False Positive detections by the convolutional neural network (CNN).\n",
        "\n",
        "Note that some False Positive events are sharp waves without ripples (SW no ripple) and sharp wave with population firing. The CNN also detected ripples with no clear associated sharp wave (ripple no SW). While all these False Positive types of events are not included in the ground truth, they resemble physiological relevant categories. This figure is built with an executable code: <https://colab.research.google.com/github/PridaLab/cnn-ripple-executable-figure/blob/main/cnn-ripple-false-positive-examples.ipynb>.\n",
        ":::\n",
        "{#fig5}\n",
        "\n",
        "This analysis confirms that the CNN has the ability to identify SWR events by relying on feature-based kernel operation. Moreover, some ambiguous predictions according to the current definition of SWR may identify different forms of population firing and oscillatory activities associated to sharp waves, supporting the network ability to generalize beyond the particular expert’s ground truth.\n",
        "\n",
        "## Interpreting and explaining CNN operation\n",
        "\n",
        "As shown above, the CNN ability relies on feature extraction by the different kernels. To gain explanatory power on how this applies to SWR detection, we sought to visualize and quantify the CNN kernel operation.\n",
        "\n",
        "First, we examined the weights of the first layer kernels, which act directly over high-density LFP inputs. We noted that their profiles were especially suited for assessing critical LFP features, such as the laminar organization of activity. For example, L1K1 acted along the spatial scale by differentially weighting LFP channels along the somatodendritic axis and deep-superficial layers ([Figure 6A](#fig6)), consistent with the saliency map shown above. In contrast, weights from L1K2 likely operated in the temporal scale with major differences along the kernel length ([Figure 6A](#fig6)). In this case, by positively weighting upper channels at later samples this filter may be anticipating some SWR motifs, as shown before. Interestingly, opposing trends between top and bottom channels suggest some spatial effect as well. L1K3 and L1K4 provided less obvious integration across the spatial and temporal scales. In spite of the complexity of the resulting convolution along the entire event, visualization of KA reflects detection of ripples as well as the slow and fast deflections of the associated sharp wave (see L1 outputs in [Figure 1D](#fig1) for CNN32; [Figure 6—figure supplement 1A,B](#fig6s1) for CNN12).\n",
        "\n",
        "figure: Figure 6.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig6.jpg)\n",
        "\n",
        "### Feature map analysis of CNN32 operation.\n",
        "\n",
        "(**A**) Examples of kernel weights from different layers of CNN32. Note different distribution of positive and negative weights. In layer 1, the four different kernels act to transform the 8-channels input into a single channel output by differently weighting contribution across the spatial (upper and lower local field potential \\[LFP] channels; vertical arrows in L1K1 and L1K2) and temporal scales (horizontal arrow in L1K2). See the resulting kernel activation for the example sharp-wave ripple (SWR) event in [Figure 1D](#fig1). (**B**) Feature map from the example SWR event (100 ms window; gray) built by concatenating the kernel activation signals from all layers into a single vector. The feature map of a randomly selected LFP epoch without annotated SWR is shown at bottom (black). (**C**) Two-dimensional reduced visualization of CNN32 feature maps using Uniform Manifold Approximation and Projection (UMAP) shows clear segregation between similar number of SWRs (ground truth \\[GT]) and randomly chosen LFP epochs (Rand) (7491 events, sampled from 17 sessions, seven mice). Note distribution of SWR probability at right consistent with the ground truth. (**D**) Distribution of True Positive, True Negative, False Positive, and False Negative events in the UMAP cloud. (**E**) Distribution of the False Positive events previously validated in [Figure 4F](#fig4). Note that they all lay over the ground truth region.\n",
        ":::\n",
        "{#fig6}\n",
        "\n",
        "figure: Figure 6—figure supplement 1.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig6-figsupp1.jpg)\n",
        "\n",
        "### Feature map analysis of CNN12 operation.\n",
        "\n",
        "(**A**) Examples of CNN12 kernel activations for layers 1–4 resulting from the example sharp-wave ripple (SWR) event. Note how the 8-channel local field potential (LFP) input is progressively transformed to capture different features of the event at a higher resolution as compared with CNN32 (see [Figure 1D](#fig1)). (**B**) Examples of CNN12 kernel weights. As for CNN32 ([Figure 6A](#fig6)), note different distribution of positive and negative weights across the spatial and temporal scales. (**C**) Uniform Manifold Approximation and Projection (UMAP) plot of the CNN12 feature maps shows clear segregation between similar number of SWRs (ground truth \\[GT]) and randomly chosen LFP epochs (Rand) (7491 events from 17 sessions, seven mice). The distribution of SWR probability is shown next, as well as the distribution of all detected events by categories. (**D**) Performance (F1) evaluated for each CNN layer at both temporal resolutions (data from 17 sessions, seven mice).\n",
        ":::\n",
        "{#fig6s1}\n",
        "\n",
        "The same reasoning applies to the next layers. However, since CNN acts to transform an LFP ‘object’ into a probability value, the spatial and temporal features of SWR events become increasingly abstract. Notwithstanding, their main features are still recognized. For example, L4K1 and L4K2 outputs likely reflected the spatiotemporal organization of the input SWR event, in particular the slower components and uneven distribution of ripples (see [Figure 1D](#fig1) and [Figure 6—figure supplement 1A](#fig6s1)).\n",
        "\n",
        "To quantify these observations, we evaluated how the different kernels were activated by a similar number of LFP events centered at either the ground truth or at a random timing ([Figure 6B](#fig6), 7491 events in each category; data from both the training and test offline sessions). For each window, we concatenated the resulting KA from all layers in a single vector, dubbed feature map ([Figure 6B](#fig6); length 1329 for CNN32, 3991 for CNN12). Since each layer generates a characteristic activity in response to input data, we reasoned that feature maps should carry information on the network representation of a particular LFP event.\n",
        "\n",
        "We used Uniform Manifold Approximation and Projection (UMAP), a computationally efficient dimensionality reduction and visualization tool, to explore feature maps. UMAP successfully segregated feature maps of LFP events according to their detection probability in a two-dimensional cloud ([Figure 6C](#fig6); [Figure 6—figure supplement 1C](#fig6s1)), supporting that the entire CNN is coding for different features of SWR across layers ([Figure 6—figure supplement 1D](#fig6s1)).\n",
        "\n",
        "We labeled each LFP event in UMAP coordinates as True Positive (detected ground truth events), False Positive (random events detected as SWR), False Negative (undetected ground truth), and True Negative (unannotated and undetected events). We found striking segregation across the UMAP cloud with True Positive and True Negative events falling apart ([Figure 6D](#fig6); [Figure 6—figure supplement 1C](#fig6s1)). False Negatives were mostly located at the intermediate region, suggesting they could be detected with less conservative thresholds. Interestingly, False Positive predictions were scattered all around the cloud, supporting the idea that they reflect heterogeneous events as seen above. Mapping all the previously validated False Positive events (see [Figure 4F](#fig4)) over the UMAP cloud confirmed that those corresponding to population firing synchrony and sharp waves without ripples distributed over the ground truth, while those corresponding to artifacts mostly fell apart ([Figure 6E](#fig6)).\n",
        "\n",
        "Altogether, these analyses permitted us to understand how the CNN operates to detect SWR events. Our study suggests that a CNN relying on feature-based detection allows to capture a large diversity of SWR events. The new method, in combination with community tagging efforts and optimized filters, could potentially facilitate discovery and interpretation of the complex neurophysiological processes underlying SWR.\n",
        "\n",
        "## Leveraging CNN capabilities to interpret SWR dynamics\n",
        "\n",
        "Equipped with this tool we sought to understand the dynamics of SWR across the entire hippocampus. To this purpose, we obtained Neuropixels recordings from different rostro-caudal penetrations in head-fixed mice ([Figure 7A](#fig7); n=4 sessions, four mice; [Supplementary file 1](#supp1)). Detailed post hoc histological analysis validated the probe tracks passing through a diversity of brain regions, including several thalamic nuclei as well as the dorsal and ventral hippocampus ([Figure 7B](#fig7), [Figure 7—figure supplement 1A](#fig7s1)).\n",
        "\n",
        "figure: Figure 7.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig7.jpg)\n",
        "\n",
        "### Hippocampus-wide sharp-wave ripple (SWR) dynamics through the lenses of convolutional neural network (CNN).\n",
        "\n",
        "(**A**) Neuropixels probes were used to obtain ultra-dense local field potential (LFP) recordings across the entire hippocampus. Offline detection was applied over continuous simulated penetrations (8-channels). Detection performance is evaluated across brain regions and hippocampal layers using the CNN trained with a different electrode type. See Methods for the list of acronyms. (**B**) Histological validation of one of the experiments shown in A (red arrowhead). Scale bar corresponds to 350 µm. (**C**) Performance of CNN32 across hippocampal layers (96 dorsal simulated penetrations, four mice). The results of an independent one-way ANOVA for P, R, and F1 is shown separately. \\*\\*\\*, p&lt;0.001. (**D**) Dorsoventral differences of CNN32 performance across layers. P, R, and F1 values from dorsal and ventral detection were compared pairwise (55 dorsal and 55 ventral simulated penetrations, four mice). \\*, p&lt;0.05; \\*\\*, p&lt;0.01; \\*\\*\\*, p&lt;0.001. (**E**) Example of an SWR detected across several layers (black arrowhead). Note ripple oscillations all along the SR and SLM. A SWR event which was only detected at SP dorsal and ventral is shown at right (open arrowhead). (**F**) Mean LFP and current-source density (CSD) signals from the events detected at different layers of the dorsal hippocampus of mouse Npx-Thy160620 (top). Bottom plots show the SWR-triggered average responses of pyramidal cells and interneurons. Cells are sorted by their timing during SWR events detected at SP. (**G**) Quantification of the magnitude of the SR sink and SLM source for events detected at SO, SR, and SLM, as compared against SP detection. One-way ANOVA SR CSD: F(2)=9.13, p=0.0004; SLM CSD: F(2)=9.64, p=0.0003; \\*\\*, p&lt;0.01; \\*\\*\\*, p&lt;0.001. (**H**) Quantification of changes of firing rate and timing of pyramidal cells during SWR detected at different layers. Firing rate: F(3) = 28.68, p&lt;0.0001; \\*, p&lt;0.05; \\*\\*\\*, p&lt;0.001. Timing: F(2) = 10.18, p&lt;0.0001; \\*\\*\\*, p&lt;0.0001.\n",
        ":::\n",
        "{#fig7}\n",
        "\n",
        "figure: Figure 7—figure supplement 1.\n",
        ":::\n",
        "![](elife-77772.ipynb.media/fig7-figsupp1.jpg)\n",
        "\n",
        "### Convolutional neural network (CNN) detection of sharp-wave ripple (SWR) from ultra-dense Neuropixels recordings.\n",
        "\n",
        "(**A**) Detailed post hoc histological analysis with SHARP-Track [@bib60] allowed identifying a diversity of brain regions pierced by the Neuropixels probe. The different brain regions were annotated and confronted with the Paxinos atlas. (**B**) Distribution of True Positive events detected by CNN32 across layers and regions of the four different mice. (**C**) Mean local field potential (LFP) of True Positive events detected by CNN32 at SO, SR, and SLM of the examples shown in [Figure 7F](#fig7). Note that sharp waves and ripples are differentially visible at these layers. (**D**) Detection performance of the Butterworth filter across hippocampal layers for mouse Npx-Cal280720. See the same session analyzed by CNN32 at the rightmost plot of [Figure 7A](#fig7). (**E**) Detection performance of RippleNET across hippocampal layers for mouse Npx-Cal280720. Same session as in D and at the rightmost plot of [Figure 7A](#fig7). (**F**) Quantification of changes of the firing rate and timing of putative GABAergic interneurons during SWR detected at different layers. Firing rate: F(3) = 3.89, p=0.011; \\*, p&lt;0.05. Timing: not significant.\n",
        ":::\n",
        "{#fig7s1}\n",
        "\n",
        "By exploiting the ultra-dense configuration of Neuropixels, we simulated consecutive penetrations covering the entire dorsoventral axis ([Figure 7A](#fig7)). We run offline detection using eight neighboring Neuropixels channels as the inputs, then move four channels downward/upward and repeat detection again, up to the end of the probe. We used the original CNN32 without retraining, the Butterworth filter and RippleNET, to evaluate detection performance against the ground truth.\n",
        "\n",
        "Consistent with data above, we found successful detection of SWR events by the CNN from the dorsal CA1 region ([Figure 7A](#fig7)). While detection was optimal at the CA1 cell layer (stratum pyramidale \\[SP]), we noted many events were actually identified from SWR-associated LFP signatures at the radiatum (SR) and lacunosum moleculare (SLM) layers ([Figure 7C](#fig7); [Figure 7—figure supplement 1B](#fig7s1)). When evaluated per layer, detection of SWR was better at the dorsal than at the ventral hippocampus, except for SR and SLM ([Figure 7D](#fig7), left). We found no major differences except for precision, when all layers were pooled together ([Figure 7D](#fig7), right). No difference in the rate of False Positives between SO (0.52±0.21), SR (0.50±0.21), and SLM (0.46±0.19) can account for this effect.\n",
        "\n",
        "In spite that only a subset of SWR could be identified from recordings at SR and SLM (i.e. R-values were low), precision was very high (i.e. over 80% of predictions were consistent with the ground truth). A close examination of the morphology of these events confirmed they exhibited LFP and oscillatory features consistent with the kernel saliency maps ([Figure 7E](#fig7), [Figure 7—figure supplement 1C](#fig7s1)). Remarkably, both the Butterworth filter and RippleNET failed to identify SWR-associated signatures beyond the dorsal SP ([Figure 7—figure supplement 1D,E](#fig7s1)).\n",
        "\n",
        "To gain insights into the underlying physiology and to discard for potential volume conduction effects, we simulated linear penetrations through the dorsal hippocampus and estimated the associated current-source density (CSD) signals of events detected at different layers ([Figure 7F](#fig7), top). We found larger sinks and sources for SWR that can be detected at SLM and SR versus those detected at SO ([Figure 7G](#fig7); z-scored by mean values of SWR detected at SP only). We also exploited Neuropixels to isolate activity from putative pyramidal cells (n=99) and interneurons (n=29, all penetrations) during the different SWR event types ([Figure 7F](#fig7), bottom). For pyramidal cells, we found striking reorganization of the firing rate and timing during SWR detected at SO, SR, and SLM ([Figure 7H](#fig7)). Interneurons exhibited similar variability ([Figure 7—figure supplement 1E](#fig7s1)). Timing and rate differences of pyramidal cell and interneuronal firing with respect to SWR events detected at different layers support the idea that they reflect activation of different hippocampal ensembles. Our CNNs thus provide unique opportunities to study the so far elusive dynamics accompanying SWR responses.\n",
        "\n",
        "# Discussion\n",
        "\n",
        "Here, we report how one-dimensional convolutional networks operating over high-density LFP recordings allows for improved detection and interpretation of hippocampal SWR events. While the network was trained in a subset of LFP data recorded around the dorsal CA1 cell layer of head-fixed mice, detection generalized across strata, brain locations (e.g. ventral hippocampus), preparations (i.e. freely moving), and species (i.e. rats) without the need for retraining. Our CNN exhibited a much higher stability, less threshold-dependent sensitivity, and overall higher performance as compared with the spectral filter and RippleNET, a recurrent neural network solution. This unique capability of our CNN relies on feature-based analysis of LFP signals, which provide similar explanatory power as standard LFP profiling. Such a developmental potential of convolutional neural networks permits challenging the interpretation of brain signals [@bib22], and SWR in particular (this study).\n",
        "\n",
        "From a physiological perspective, studying brain function relies in understanding activity in relation to behavior and cognition [@bib11; @bib23]. Inspired by the tradition to observe and categorize, neuroscientists require classifying EEG/LFP signals into patterns, which presumably should gain mechanistic significance at the neuronal and microcircuit levels [@bib7; @bib19; @bib46]. Yet, some of the most widely used classification schemes still generate debate. For instance, contributors to gamma oscillations (40–100 Hz) include fluctuating synaptic potentials reflecting inhibition, excitation, or both in interaction with phase-locking firing from subsets of cells [@bib2; @bib4]. The specific contribution of the different factors at the resulting dominant oscillatory frequency band is not trivial [@bib10]. In addition, relying on spectral definitions to analyze EEG/LFP data has to cope with the nonstationary nature of brain activity, while the demarcation of frequency bands does not necessarily fit to unambiguous basic mechanisms. Whether this reflects the elusive emergent behavior of brain activity or methodological limitations is arguable.\n",
        "\n",
        "We aimed exploiting machine-learning tools to transform the study of hippocampal SWR, a major neurophysiological event underlying memory trace consolidation and recall [@bib9]. While SWR presumably entail coordinated activity of pyramidal cells and GABAergic interneurons in a mnemonically relevant sequence-specific manner [@bib15; @bib25; @bib47; @bib66; @bib70], their physiological definition seems constrained [@bib10]. Moreover, the replay content and order unfold neuronal representations in a myriad of combinations in the service for cognitive agency and flexibility [@bib30; @bib54]. The potentially different mechanisms underlying such a representational complexity are not yet integrated into the existing definition of SWR [@bib14].\n",
        "\n",
        "When coupled to ultra-dense Neuropixels, our CNN identified subsets of SWR across different strata of the dorsal and ventral hippocampus. The ability to detect events across layers seemed to rely in a combination of features with the strength and visibility of the associated current sinks/sources having major contributions. This calls for the existence of different generators emerging from interaction between different input pathways and local microcircuits [@bib13]. For instance, recent data suggest pivotal role of entorhinal inputs in modulating and elongating the dynamics of locally generated SWRs [@bib20; @bib49; @bib71]. Similarly, SWR events disproportionally weighted by downstream inputs along the CA3 to CA2 axis differentially modulate consolidation of recognition memory at the social and nonsocial domains [@bib43; @bib50; @bib48]. Consistently, we found that some ripples can be actually detected at SO, SR, and SLM strata independently on their alleged local generation at the CA1 cell layer.\n",
        "\n",
        "The configuration of the current sinks and sources associated to independently detected SWR events suggest that the weighted interaction between fluctuating input pathways may entail contribution by different factors across behavioral states [@bib9]. For instance, different subcircuits may contribute to sleep and awake SWR with different cognitive roles [@bib59]. The ability to detect ripple oscillations at different layers also indicate a role for dendritic potentials, such as complex spikes and dendritic bursts [@bib6; @bib32]. Finally, while attention is traditionally focused on parvalbumin and cholecystokinin GABAergic basket cells providing perisomatic innervation [@bib36], other GABAergic cells and terminals located at the border between SR and SLM may equally contribute [@bib5; @bib35; @bib37]. This is supported by larger current sources associated with SWR events detected at SLM layers, as we show here.\n",
        "\n",
        "Our data suggest that only one part of the dorsal SWR dynamics can be explained locally, consistent with complex interaction along the septotemporal axis [@bib51]. Instead, the CNN identify different types of SWR events detected at distant strata suggesting major role of input pathways. A segregated role for dorsal and ventral SWR events suggest that brain-wide subcircuits inherit the different representational dynamics of a variety of replays [@bib63]. The detection unfolding of CNN thus permit an unbiased categorization without relying on more elusive spectral criteria. Critically, both the filter and RippleNET failed to capture SWR diversity across strata further confirming the suitability of CNN to identify critical LFP features accompanying a wealth of events.\n",
        "\n",
        "Our method also identified events beyond the individual expert ground truth. Careful examination of those False Positives reveal sharp waves associated to population firing without ripples, as well as other unclassified forms of activities. While we cannot discard noisy detection from a continuum of LFP activity, our categorization suggest that they may reflect processes underlying buildup of population events [@bib13]. In addition, the ability of CA3 inputs to bring about gamma oscillations and multi-unit firing associated with sharp waves is already recognized [@bib67], and variability of the ripple power can be related with different cortical subnetworks [@bib33; @bib55]. Since the power spectral level operationally defines the detection of SWR, part of this microcircuit intrinsic variability may be escaping analysis when using spectral filters.\n",
        "\n",
        "Understanding how the brain encodes for memory is challenging. Recent data suggest that replay emerging from SWR is more complex than originally thought [@bib30]. Cell-type-specific subcircuits, operating over a variety of interneuronal classes and under the influence of different input pathways, provide mechanistic support for a wealth of SWR events [@bib14]. Yet, SWR detected by gold-standard spectral methods fail to reflect the necessary statistical variance that allows for identifying specific trends. Relying on unbiased feature-based methods hopefully can change the game.\n",
        "\n",
        "# Materials and methods\n",
        "\n",
        "## Animals\n",
        "\n",
        "All protocols and procedures were performed according to the Spanish legislation (RD 1201/2005 and L.32/2007) and the European Communities Council Directive 2003 (2003/65/CE). Experiments were approved by the Ethics Committee of the Instituto Cajal and the Spanish Research Council.\n",
        "\n",
        "In this work, we used different mouse lines aimed to target different cell-type-specific populations for optogenetic and imaging experiments. Experiments included in this paper follow the principle of reduction, to minimize the number of animals used and this is the reason why we obtained data from different mouse lines. Animals and sessions used are summarized in [Supplementary file 1](#supp1). Animals were maintained in a 12 hr light-dark cycle (7 a.m. to 7 p.m.) with access to food and drink ad libitum.\n",
        "\n",
        "## Head-fixed preparation\n",
        "\n",
        "Mice were implanted with fixation bars under isoflurane (1.5–2%; 30% oxygen) anesthesia. Bars and ground/reference screws (over the cerebellum) were fixed with light-curing acrylic resins (OptiBond and UNIFAST LC). After surgery, mice were treated with buprenorphine during 2 days. For optogenetic experiments, mice from different promotor-specific Cre lines were previously injected with AAV5-DIO-EF1a-hChR2-EYFP (1 µl; titer 4.5 × 1012 vg/ml; provided by UNC Vector core, Deisseroth lab) targeting the dorsal CA1 region (−1.9  mm AP; 1.25 mm ML and 1 mm depth). Transgenic Thy1-ChR2-YFP and Thy1-GCaMP7 mice were directly implanted with fixation bars.\n",
        "\n",
        "Two days after surgery, mice were habituated to head-fixed conditions (10–14 days of training). The apparatus consisted on a wheel (40 cm diameter) hosting different somatosensory cues and equipped with a Hall sensor (HAMLIN 55300; Littelfuse Inc) to track for position analogically. Animals were water rewarded just after each training session (2–4 sessions  × day). After several days, mice were able to stay comfortable in the apparatus with periods of running, grooming, and immobility.\n",
        "\n",
        "Once habituated, mice were anesthetized with isoflurane and a craniotomy was practiced for electrophysiological recordings (antero-posterior: −3.9 to −6 mm from Bregma; medio-lateral: 2–5 mm). The craniotomy was sealed with Kwik-Cast silicone elastomer and mice returned to their home cage. Recording sessions started the day after craniotomy.\n",
        "\n",
        "## Electrophysiological recordings\n",
        "\n",
        "LFP recordings were obtained with integrated µLED optoelectrodes (32 channels, 4 shanks of 8-channels, and 3 µLED each) originally provided by Euisik Yoon under the NSF-funded NeuroNex project and later purchased from NeuroLight Technologies, LLC, N1-A0-036/18 and Plexon. Wideband (1 Hz–5 KHz) LFP signals were recorded at 30 KHz sampling rate with an RHD2000 Intan USB Board running under OE. Optoelectrode recordings targeted the dorsal CA1 region, using characteristic features such as the laminar profile of theta and SWRs, as well as unit activity to infer position within the hippocampus.\n",
        "\n",
        "Ultra-dense recordings were obtained with Neuropixels 1.0 probes and acquired with the PXIe acquisition module mounted in the PXI-Express chassis (National Instruments). Neuropixels probes consist of up to 966 recording sites (70×20 µm) organized in a checkerboard pattern, from which 384 can be selected for recording. Recordings were made in external reference mode with LFP gain set at 250 and at 2500 Hz sampling rate, using the SpikeGLX software. The probe targeted the dorsal-to-ventral hippocampus at different anterior-to-posterior positions in four different mice ([Supplementary file 1](#supp1)). To recover the penetrating track precisely, the back of the Neuropixels probe was coated with DiI (Invitrogen).\n",
        "\n",
        "After completing experiments, mice were perfused with 4% paraformaldehyde and 15% saturated picric acid in 0.1 M (pH 7.4) phosphate-buffered saline (PBS). Brains were post-fixed overnight, washed in PBS, and serially cut in 70 µm coronal sections (Leica VT 1000S vibratome). Sections containing the probe tracks were identified with a stereomicroscope (S8APO, Leica) and mounted on glass slides in Mowiol (17% polyvinyl alcohol 4–88, 33% glycerin, and 2% thimerosal in PBS).\n",
        "\n",
        "Sections from Neuropixels recording were analyzed with SHARP-Track, a tool to localize regions going through electrode tracks [@bib60] (<https://github.com/petersaj/AP_histology>[@bib52]). Acronyms in [Figure 7](#fig7) correspond to the following: corpus callosum (cc); primary visual cortex (V1); stratum oriens (SO); stratum piramidale (SP); stratum radiatum (SR); stratum lacunosum moleculare (SLM); molecular layer dentate gyrus (ML); granular layer dentate gyrus (GCL); hilus (HIL); hippocampal fissure (fiss); basolateral amygdala (BLA); amygdalopiriform transition area (APir); lateral posterior medial rostral thalamus (LPMR); posterior thalamus (Po); ventro posterior medial thalamus (VPM); ventro posterior lateral thalamus (VPL); lemniscus (Lemn); ventro medial thalamus (VM); zona incerta, dorsal part (ZID); zona incerta, ventral part (ZIV).\n",
        "\n",
        "## Neural network specifications\n",
        "\n",
        "We used Python 3.7.9 with libraries Numpy 1.18.5, Scipy 1.5.4, Pandas 1.1.4, and H5Py 2.10.0 for programming different routines. To build, train, and test the network, we use the Tensorflow 2.3.1 library, with its built-in Keras 2.4.0 application programming interface (API). Training and offline validation of the CNN was performed over the Artemisa high-performance computing infrastructure (<https://artemisa.ific.uv.es/web/content/nvidia-tesla-volta-v100-sxm2>). It consisted in 23 machines equipped with four NVIDIA Volta V100 GPUs. Analyses were conducted on personal computers (Intel Xeon E3 v5 processor with 64 GB RAM and Ubuntu v.20.04).\n",
        "\n",
        "The CNN architecture was designed as a sequence of blocks integrated by one one-dimensional Convolutional layer [@bib12] followed by one BatchNorm layer [@bib28], and one Leaky ReLU Activation layer [@bib38]. There were seven of these blocks (21 layers) and a final Dense layer [@bib58] (layer 22) ([Figure 1C](#fig1)).\n",
        "\n",
        "One-dimensional Convolutional layers (tf.keras.layers.Conv1D) were in charge of processing data and looking for characteristic features. These layers have a determined number of kernels, which was defined in the parameter search. A kernel is a matrix of weights acting to apply a convolution operation over data. The result of this operation is known as the KA signal. A Convolutional layer generates as many KA as the number of kernels it has. BatchNorm layers (tf.keras.layers.BatchNormalization) perform a normalization of the Convolutional layer KA, fixing its means and variances and providing stability and robustness to the whole network. Leaky ReLU layer (tf.keras.layers.LeakyReLU) has a similar purpose to the BatchNorm layer, making the network more stable by transforming negative input values into numbers very close to 0. The final Dense layer (tf.keras.layers.Dense) was fit to the dimension of the output space (i.e. probability values).\n",
        "\n",
        "BatchNorm layer parameters were all left as their default values defined in the Tensorflow 2.3.1 library. The Leaky ReLU layer alpha parameter was set to 0.1. For Convolutional layers, the kernel size and stride were set to the same value so that the network operates similarly offline and online. The kernel size and stride determined the duration of the input window, so they were tuned in order to fit either a 32 ms window (CNN32) or a 12.8 ms window (CNN12). Values of kernel size and stride for Convolutional layers 1, 4, 7, 10, 13, 16, and 19 of CNN32 were: 5, 1, 2, 1, 2, 1, 2, respectively. For CNN12, the values were 2, 1, 2, 1, 2, 1, and 2. Since max-pooling layers can be replaced by Convolutional layers with increased stride, we chose not using max-pooling layers to avoid issues with the input window size [@bib64].\n",
        "\n",
        "The number of kernels and kernel regularizers were selected after performing an initial parametric search (initial learning rate, number of kernels factor, and batch size; [Figure 1—figure supplement 1E](#fig1s1)). For the Dense layer we used a sigmoid activation function operating over 1 unit to produce 1 channel output. All the other parameters for the Convolutional layers, as well as for the Dense layer, were set initially at default values. Additionally, we also tested whether adding two LSTM layers before the final Dense layer improved performance in the preliminary parameter tests.\n",
        "\n",
        "We selected our CNN32 as that with the lower and more stable training evolution (see below) from the 10-best networks in the initial parameter search (out of 107; [Supplementary file 1B](#supp1)). CNN32+LSTM networks exhibited similar performance, but took substantially more time for training. A more thorough parametric search was conducted over a larger set of parameters (initial learning rate, number of kernels factor, batch size, optimizer, optimizer epsilon, regularizer, regularizer value, and decay; [Figure 1—figure supplement 1E](#fig1s1)) for both types of architectures. The initially selected CNN32 was among the 30-best networks of the extended parameter search, also exhibiting fast training and high loss evolution stability (out of 781). Based on parametric searches, we chose the Adam algorithm as the optimizer [@bib34] with an initial learning rate of 0.001, beta_1=0.9, beta_2=0.999, and epsilon = 1e-07. Batch size was set at 16 and the number of kernels for Convolutional layers 1, 4, 7, 10, 13, 16, and 19 was set at 4, 2, 8, 4, 16, 8, and 32, respectively. A L2 regularization method [@bib68] with a 0.0005 value was employed to avoid overfitting. No additional learning rate decay was used.\n",
        "\n",
        "## Ground truth and data annotation\n",
        "\n",
        "A MATLAB R2019b tool was designed to annotate and validate data by an expert electrophysiologist (original expert). All data was visually inspected and SWR events annotated. An important decision we made was to manually annotate the start and the end of SWR events so that the network could learn anticipating events in advance. The start of the event was defined near the first ripple or the sharp-wave onset. The end of the event was defined at the latest ripple or when sharp-wave resumed. While there was some level of ambiguity on these definitions, we opted for including these marks in order to facilitate transition to ground truth detection. An additional expert (new expert) tagged SWR independently using a subset of sessions from the offline validation and online pool, to allow for comparisons between experts in the same lab.\n",
        "\n",
        "## Data preparation\n",
        "\n",
        "Datasets used for training and development of the CNN were created by loading a number of experimental sessions and storing them in two different three-dimensional matrices, X and Y.\n",
        "\n",
        "Matrix X stored several chunks of 8-channels LFP recordings. From each session, LFP data from all probe shanks displaying any SWR were loaded, unless specific shanks were selected. If a shank had more than 8 channels, then they were randomly selected while giving priority to those located at the SP of CA1. All LFP signals were down-sampled to 1250 Hz and normalized using z-score. LFP signals were sliced into chunks of 57.6 s, which is exactly divisible by 0.032 and 0.0128 s, in order to keep a consistent matrix shape even when various sessions of different durations were used. This chunk size maintains the properties of long duration signals, which is essential for the CNN to reach a high-performance score when fed with continuous data. Chunks with no SWR events would be discarded, but that was an extremely rare case. At the end of this process the result is a matrix X with dimension (n, 72,000, 8), where n is the number of chunks of 72,000 samples (57.6 s sampled at 1250 Hz) for each of the eight LFP channels.\n",
        "\n",
        "Matrix Y contained the annotated labels for each temporal window (32 or 12.8 ms) stored in X. To create Y, each chunk was separated in windows of 32 or 12.8 ms and then assigned a label, a number between 0 and 1, depending on the percentage of the window occupied by a SWR event. Therefore, dimension of matrix Y was (n, 1800, 1) for CNN32, since there are 1800 32 ms windows in a chunk of 57.6 s, and (n, 4500, 1) for CNN12, with 4500 windows of size 12.8 ms for each chunk.\n",
        "\n",
        "Finally, the whole dataset (both X and Y matrices) was separated into the training set, used to fit the model, and the development set, used to evaluate the performance of the trained model with different data than those used for training while still tuning the network hyper-parameters. Train set took 70% of the data and development set the remaining 30%.\n",
        "\n",
        "## CNN training, development, and testing\n",
        "\n",
        "Two sessions from two different mice were used as the training set ([Supplementary file 1](#supp1)). Training was run for 3000 epochs using the binary cross-entropy as loss function:\n",
        "\n",
        "$$\n",
        "{\\mathrm{H}}_{\\mathrm{p}}\\left(\\mathrm{q}\\right)=-\\frac{1}{\\mathrm{N}}\\sum _{\\mathrm{i}=1}^{\\mathrm{N}}{\\mathrm{y}}_{\\mathrm{i}}\\cdot \\mathrm{l}\\mathrm{o}\\mathrm{g}\\left(\\mathrm{p}\\left({\\mathrm{y}}_{\\mathrm{i}}\\right)\\right)+\\left(1-{\\mathrm{y}}_{\\mathrm{i}}\\right)\\cdot \\mathrm{l}\\mathrm{o}\\mathrm{g}\\left(1-\\mathrm{p}\\left({\\mathrm{y}}_{\\mathrm{i}}\\right)\\right)\n",
        "$$\n",
        "\n",
        "where N is the number of windows, y~i~ is the label of window I, and p(y~i~) is the probability predicted for window i.\n",
        "\n",
        "In order to evaluate the network performance, two different datasets were used: the training set described above, and the validation set, consisting of 15 sessions from five different animals that were not used for training or development ([Supplementary file 1](#supp1)).\n",
        "\n",
        "To detect SWR event, we set a probability threshold to identify windows with positive and negative predictions. Accordingly, predictions were classified in four categories: True Positive (TP) when the prediction was positive and the ground truth window did contain an SWR event; False Positive (FP) when the prediction was positive in a window that did not contain any SWR; False Negative (FN) when the prediction is negative but the window contained a SWR; and True Negative (TN) when the prediction was negative and the window did not contain any SWR event.\n",
        "\n",
        "Intersection over Union (IOU) methodology was employed to classify predictions into those four categories. It was calculated by dividing the intersection (overlapping) of two windows by the union of them:\n",
        "\n",
        "$$\n",
        "IoU=\\frac{{window}_{1}\\cap {window}_{2}}{{window}_{1}\\cup {window}_{2}}\n",
        "$$\n",
        "\n",
        "Two windows were considered to match if their IOU was equal to or greater than 0.1. If a positive prediction had a match with any window containing a ripple it was considered a TP, or it was classified as FP otherwise. All true events that did not have any matching positive prediction were considered FN. Negative predictions with no matching true events windows were TN.\n",
        "\n",
        "With predicted and true events classified into those four categories there are three measures than can be used to evaluate the performance of the model. Precision (P), which was computed as the total number of TPs divided by TPs and FPs, represents the percentage of predictions that were correct.\n",
        "\n",
        "$$\n",
        "Precision=\\frac{TP}{TP+FP}\n",
        "$$\n",
        "\n",
        "Recall (R), which was calculated as TPs divided by TPs and FNs, represents that percentage of true events that were correctly predicted.\n",
        "\n",
        "$$\n",
        "Recall=\\frac{TP}{TP+FN}\n",
        "$$\n",
        "\n",
        "Finally, the F1 score, calculated as the harmonic mean of Precision and Recall, represents the network performance.\n",
        "\n",
        "$$\n",
        "F1=\\frac{2*\\left(Precision*Recall\\right)}{Precision+Recall}\n",
        "$$\n",
        "\n",
        "As mentioned before, a prediction was considered positive when its probability surpassed a specified threshold. During offline detection, a first threshold was used to indicate the potential onset of the SWR event, followed by a second confirmatory higher threshold, which identifies the event itself. In order to select the best thresholds for offline validation, all combinations were compared and the one that yielded the best F1 score was chosen. Possible values for the first threshold were 0.80, 0.75, 0.70, 0.65, 0.60, 0.55, 0.50, 0.45, 0.40, 0.35, 0.30, 0.25, 0.20, 0.15, and 0.10, while for the second threshold were 0.80, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20, and 0.10. Note that only the higher threshold is the one that defines detection, which is reported in figures. For online detection, only one threshold was used and it was adjusted manually at the beginning of the experiment based on the expert criteria.\n",
        "\n",
        "To estimate delay between prediction and SWR events, the temporal relation between correct predictions and their matching true events was measured. SWR ripple peaks were defined after filtering the relevant LFP channel using a third-order Butterworth filter and an enlarged bandpass between 70 and 400 Hz. The resulting signal was subsequently filtered with a fourth-order Savitzky-Golay filter and smoothed twice with windows of 3 and 6.5 ms to obtain the SWR envelope. The maximal value of the envelope signal was defined as the SWR ripple peak. The interval between the initial prediction time and the SWR ripple peak was defined as the time to peak.\n",
        "\n",
        "The trained model is accessible at the Github repository for both Python: <https://github.com/PridaLab/cnn-ripple>, (copy archived at [swh:1:rev:9dcc5b6a8267b89eb86a2813dbbcb74a621a701b](https://archive.softwareheritage.org/swh:1:dir:b38a5db56c84c61821347b603dd884169d8f7b1c;origin=https://github.com/PridaLab/cnn-ripple;visit=swh:1:snp:5785d27d319d84076a2353540d821d26346be009;anchor=swh:1:rev:9dcc5b6a8267b89eb86a2813dbbcb74a621a701b); [@bib1]) and MATLAB: <https://github.com/PridaLab/cnn-matlab> (copy archived at [swh:1:rev:060b2ff6e4b6c5eacb9799addd5123ad06eaaf33](https://archive.softwareheritage.org/swh:1:dir:0e369cb7c13f28d016e1b55a1f3e0242bc91ec91;origin=https://github.com/PridaLab/cnn-matlab;visit=swh:1:snp:0eef36d3eec9e00833377db989809596bda847ac;anchor=swh:1:rev:060b2ff6e4b6c5eacb9799addd5123ad06eaaf33); [@bib45]). Code visualization and detection is shown in an interactive notebook <https://colab.research.google.com/github/PridaLab/cnn-ripple/blob/main/src/notebooks/cnn-example.ipynb>.\n",
        "\n",
        "## Offline detection of SWR events with Butterworth filters\n",
        "\n",
        "Standard ripple detection tools are based on spectral filters. In order to compare online and offline performance, we adopted the OE bandpass (100–300 Hz passband) second-order Butterworth filter as the gold standard. We confirmed that the choosen filter parameters provided optimal performance when tested with the same training set used for the CNN. Offline filter detection was computed in MATLAB R2019b, using the _Butterworth_ filter (100–300 Hz passband) and a non-casual filter _filtfilt_ to avoid phase lags. In order to compute the envelope, the filtered signal was amplified twice, filtered by a fourth-order Savitzky-Golay filter, and then smoothed by two consecutive _movmean_ sliding windows (2.3 and 6.7 ms). A detection had to fulfill two conditions: the envelope had to surpass a first threshold, which will define the ripple beginning and end, and a second threshold to be considered a detection. Detections closer than 15 ms were merged. Performance of ripple detection methods is very sensitive to the chosen threshold. To look for the fairest comparison, we made predictions for all possible combinations of the first threshold being 1, 1.5, 2, 2.5 times the envelope standard deviation, and the second threshold being 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9, 9.5, 10 times the envelope standard deviation (giving a total of 60 threshold combinations). We then chose the one that scored the maximum F1. This was done separately for each session.\n",
        "\n",
        "Online detections were defined whenever the filtered signal was above a single threshold (see next section). To exclude for artifacts and to cope with detection standards [@bib20], an additional non-ripple channel was used to veto high-frequency noise detections.\n",
        "\n",
        "## Characterization of SWRs\n",
        "\n",
        "Ripple properties were computed using a 100 ms window around the center of the event of the pyramidal channel of the raw LFP. Preferred frequency was computed first by calculating the power spectrum of the 100 ms interval using the enlarged bandpass filter 70 and 400 Hz, and then looking for the frequency of the maximum power. In order to account for the exponential power decay in higher frequencies, we subtracted a fitted exponential curve (‘fitnlm’ from MATLAB toolbox) before looking for the preferred frequency. The &lt;100 Hz contribution was computed as the sum of the power values for all frequencies lower than 100 Hz normalized by the sum of all power values for all frequencies (of note, no subtraction was applied to this power spectrum). The entropy was computed using a normalized power spectrum (divided by the sum of all power values along all frequencies) as:\n",
        "\n",
        "$$\n",
        "Entropy=-\\sum Power\\left(f\\right)\\cdot {log}_{2}\\left(Power\\left(f\\right)\\right)\n",
        "$$\n",
        "\n",
        "## OE custom plugins for online detection\n",
        "\n",
        "Two custom plugins were developed using OE GUI 0.4.6 software in a personal computer. The first plugin was designed to detect when a signal crossed a determined amplitude threshold, defined as the signal standard deviation multiplied by some number. It was used in combination with the Bandpass Filter plugin, which implements a Butterworth filter, so the input for the crossing detector was a filtered signal. In order to avoid artifacts, we use a second input channel from a separate region defined by the experimenter. Events detected in both channels were discarded.\n",
        "\n",
        "The second plugin was developed to operate the CNN and it used the Tensorflow 2.3.0 API for C (<https://www.tensorflow.org/install/lang_c>). Since the network was trained to work with data sampled at 1250 Hz, the plugin down-sampled the input channels. It also separated data into windows of 12.8 ms and 8-channels to feed into the CNN every 6.4 ms. Detection threshold was defined as a probability between 0 and 1, and it was manually adjusted by the experimenter.\n",
        "\n",
        "Both plugins normalized the input data using z-score normalization. They require a short calibration time (about 1 min) to calculate the mean and standard deviation of the signals. The user could establish the detection thresholds and when an event is found a signal is sent through a selected output channel. For OE simulated experiments we used the same setup but the data was read from a file instead of streamed directly from the experiment. Events in simulated experiments were detected similarly as real-time experiments. Detection plugin: <https://github.com/PridaLab/CNNRippleDetectorOEPlugin> (copy archived at [swh:1:rev:52b182d1fba732a0bc3ad69ce9453c6fe96ae190](https://archive.softwareheritage.org/swh:1:dir:51e0c5075544575e708941e122e108bd7f719b4e;origin=https://github.com/PridaLab/CNNRippleDetectorOEPlugin;visit=swh:1:snp:02c88c2080e1aadd30d7938c16bd3043e65684f2;anchor=swh:1:rev:52b182d1fba732a0bc3ad69ce9453c6fe96ae190); [@bib17]).\n",
        "\n",
        "## Closed-loop optogenetic experiments\n",
        "\n",
        "For closed-loop experiments, the output channel from the OE plugin was fed into an Arduino board (Nano ATmega328) using an USB 3.0 connection. Optogenetic stimulation was performed with integrated µLED optoelectrodes using the OSC1Lite driver from NeuroLight Technologies controlled by the Arduino. Microwatt blue light stimulation at 10–20 µW was used to activate cell-type-specific ChR2. Specificity of viral expression and localization of probe tracks were histologically assessed after experiments.\n",
        "\n",
        "## Computing the kernel saliency maps\n",
        "\n",
        "During training, kernels weights are updated so each of them specializes in detecting a particular feature of SWR input data. In order to interpret these features, we adapted a methodology used in two-dimensional CNNs for image processing [@bib62]. First, we created an input 8×40 LFP signal with random values (standard normal distribution, with 0 mean and 0.01 standard deviation). Then, for each kernel we updated this input signal applying a stochastic gradient optimizer (tf.keras.optimizers.SGD) with a learning rate of 0.1, momentum 0.1, and a loss function equal to minus the normalized KA that produced such input (therefore making it gradient ascent). We repeated this optimization process until the mean squared error between the previous input and the optimized input was less than 10^–9^, or after 2000 iterations, whatever came first. The resulting input signal would be one that the chosen kernel is maximally responsive to. Code example for this process applied to the ResNet50V2 model of the ImageNet dataset (<https://www.image-net.org/>) can be found at the Keras documentation: <https://keras.io/examples/vision/visualizing_what_convnets_learn/>.\n",
        "\n",
        "## Uniform Manifold Approximation and Projection\n",
        "\n",
        "UMAP is a dimensional reduction technique commonly used for visualization of multi-dimensional data in a two- or three-dimensional embedding [@bib40]. The embedding is found by searching a low dimensional projection with the closest equivalent fuzzy topological structure to that of the hyper-dimensional input data. We run UMAP version 0.5.1 (<https://umap-learn.readthedocs.io/en/latest/>) in Python 3.7 Anaconda.\n",
        "\n",
        "We applied UMAP to decode CNN operation using the network feature maps in response to a diversity of LFP inputs. Feature maps were built by concatenating the resulting KA from all the Convolutional layers resulting in a 1329-dimensional vector (CNN32; 3991 for CNN12). The goal was to compute the reduced two-dimensional UMAP embedding from a large number of LFP events.\n",
        "\n",
        "We computed the UMAP embedding of the feature map of the CNN using 7491 SWR events and 7491 random events and projected them in a color scale reflecting the different labels. Two-dimensional UMAP embeddings were evaluated for different parameter combinations of the number of neighbors and the minimal distance. After noticing no major differences, we choose their default values.\n",
        "\n",
        "## Pattern matching\n",
        "\n",
        "Pattern matching between saliency maps from the different kernels and the LFP windows was computed using _matchTemplate_ from CV2 package (version 4.5.1), OpenCV library for python, with the _TM_CCORR_ template matching operation. It slides a template (saliency map) along the whole signal (LFP window) and outputs a measure on their similarity for each slide. LFP windows provided were 100 ms 8-channel (8×125) z-scored windows around all true positive events, same number of true negative events, and all true positive and false positive events for both the training and validations sets. Windows were centered on the LFP minimum of the pyramidal channel closest to the maximum of the SWR envelope within a 10 ms window (envelope computed as described above).\n",
        "\n",
        "## Simulated penetrations along Neuropixels probe\n",
        "\n",
        "Simulated penetrations were obtained choosing Neuropixel electrodes with a relative distance similar to the μLED optoelectrode probe. To this purpose, we chose Neuropixel external electrodes (64 μm horizontal separation versus 70 μm for the μLED probe), alternating left and right for each row, so the vertical distance was 20 μm (same as in μLED probes). Therefore, a simulated penetration always consisted of eight neighboring electrodes (e.g. \\[1 4 5 8 9 12 13 16]). To evaluate changes across layers and regions, the simulated penetration was moved all along the Neuropixels probe in 93 steps (downward/upward) thus providing a continuous mapping of LFP signals. For example, the following penetration sequence spanned along the brain: \\[1 4 5 8 9 12 13 16], \\[5 8 9 12 13 16 17 20], \\[9 12 13 16 17 20 21 24], and so on.\n",
        "\n",
        "For CSD analysis we proceeded similarly, but choosing LFP channels every 100 µm to mimic a 16-channel silicon probe. CSD signals were calculated from the second spatial derivative. Smoothing was applied to CSD signals for visualization purposes only. Tissue conductivity was considered isotropic across layers.\n",
        "\n",
        "## Quantification and statistical analysis\n",
        "\n",
        "Statistical analysis was performed with Python 3.8.5 and/or MATLAB R2019b. No statistical method was used to predetermine sample sizes, which were similar to those reported elsewhere. Normality and homoscedasticity were confirmed with the Kolmogorov-Smirnov and Levene’s tests, respectively. The number of replications is detailed in the text and figures.\n",
        "\n",
        "Several ways ANOVAs were applied for group analysis. Post hoc comparisons were evaluated with the Tukey-Kramer test and whenever required Bonferroni correction was applied. For paired comparisons the Student’s t-test was used. Correlation between variables was evaluated with the Pearson product-moment correlation coefficient, which was tested against 0 (i.e. no correlation was the null hypothesis) at p&lt;0.05 (two sided). In most cases values were z-scored (value – mean divided by the SD) to make data comparable between animals or across layers."
      ]
    }
  ]
}