PT - JOURNAL ARTICLE AU - Giulio Matteucci AU - Margherita Riggi AU - Davide Zoccolan TI - A template-matching algorithm for laminar identification of cortical recording sites from evoked response potentials AID - 10.1101/749069 DP - 2019 Jan 01 TA - bioRxiv PG - 749069 4099 - http://biorxiv.org/content/early/2019/08/30/749069.short 4100 - http://biorxiv.org/content/early/2019/08/30/749069.full AB - In recent years, the advent of the so-called silicon probes has made it possible to homogeneously sample spikes and local field potentials (LFPs) from a regular grid of cortical recording sites. In principle, this allows inferring the laminar location of the sites based on the spatiotemporal pattern of LFPs recorded along the probe, as in the well-known current source-density (CSD) analysis. This approach, however, has several limitations, since it usually relies on visual identification of landmark features (i.e., current sinks and sources) in the CSD pattern that can be easily missed, if the probe does not span the whole cortical thickness. To overcome these limitations, we developed an alternative approach, based on finding the optimal match between the LFPs recorded along a probe in a given experiment and a template LFP profile that was computed by merging 18 recording sessions, in which the depth of the recording sites had been recovered through histology. We show that our method can achieve an accuracy of 79 um in recovering the cortical depth of the recording sites, thus providing an alternative to CSD that, being fully automated, is free of subjective judgments and works reliably also for recordings spanning a limited cortical stretch.