scieee AI-readable full text Open interactive document viewer

Spatio-temporal structure of spontaneous slow-wave oscillations and identification of up and down states in simultaneous intra- and extracellular recordings in vivo

Seamari, Yamina

Abstract

La oscilación lenta, registrada durante la etapa de ondas lentas del sueño y bajo anestesia, constituye un acontecimiento espontáneo estable y sincrónico de la red cortical durante el cual las neuronas de la corteza cerebral alternan de manera coherente entre intervalos de ausencia de actividad (estados hiperpolarizados o Down states) e intervalos donde suelen producirse descargas de potenciales de acción (estados despolarizados o Up states). La presente Tesis Doctoral está motivada por el interés de estudiar la estructura espacio-temporal de la onda lenta espontánea presente en la corteza somato-sensorial de la rata anestesiada y también en el cómo y en qué medida se propaga la actividad por la red cortical. Además del estudio dinámica de la red cortical a través de su actividad oscilatoria lenta emergente, otros objetivos específicos son: (1) estudiar el comportamiento estereotípico de las transiciones espontáneas entre los intervalos de Up y Down presentes en la corteza somato-sensorial de ratas anestesiadas; (2) desarrollar herramientas analíticas adecuadas que faciliten el estudio de la propagación espacio-temporal de las ondas de actividad, tanto a escala micro como mesoscópica, durante la etapa de ondas lentas. Se presentan: a) la definición y la implementación de una metodología que permite detectar las oscilaciones lentas en registros intracelulares, y b) un segundo procedimiento analítico para analizar registros extracelulares múltiples y para medir su correlación, y, finalmente para analizar las propiedades de propagación de esta actividad cortical. Dichas metodologías analíticas se desarrollaron empleando los datos procedentes de registros intra- y extracelulares in vivo simultáneos, y que presentan estados de activación neuronal (Up states) que se alternan con estados silentes (Down states). El método descrito en esta tesis, denominado MAUDS (de acuerdo a las iniciales del inglés Moving Averages for Up and Down Separation) es automático y sencillo de usar, capaz de identificar y separar de forma fiable los dos estados de potencial de membrana alternantes, característicos del sueño de ondas lentas y bajo determinada anestesia incluso en situaciones en las que otros métodos fallan debido a artefactos o interferencias. El método ha sido diseñado para que pueda ser usado tanto off- como online, y permite que se pueda incluir eventos desencadenantes en función de la inicialización o finalización de los estados Up. También permite obtener información inmediata sobre las estadísticas de las transiciones Up a Down. Se describe la metodología experimental para realizar registros intra- y extracelulares in vivo y simultáneos utilizando una matriz multi-electrodo, y el tratamiento analítico al que se ha sometido los datos electrofisiológicos registrados para estudiar la estructura espacio-temporal de la oscilación lenta en una pequeña porción de tejido cortical. Los resultados de este análisis mostraron una considerable variabilidad en la mayoría de los registros con respecto a la estructura espacio-temporal de las ondas de actividad, tanto en cuanto a origen como en cuanto a dirección para todas las muestras de animales incluidos en el estudio. Se ha podido determinar una dirección preferente de propagación de la actividad durante los períodos de registro.

Full text

Thesis for doctoral degree (Ph.D.) YAMINA SEAMARI UNIVERSIDAD DE MÁLAGA FACULTAD DE MEDICINA Spatio-temporal structure of spontaneous slow-wave oscillation and identification of Up and Down cortical states in simultaneous intraand extracellular recordings in vivo Universidad de Málaga Facultad de Medicina Departamento de Fisiología Humana y de Educación Física y Deportiva Curso de Doctorado: Neurociencia y sus aplicaciones clínicas 2015 Spatio-temporal structure of spontaneous slow-wave oscillation and identification of Up and Down cortical states in simultaneous intraand extracellular recordings in vivo Thesis for doctoral degree (Ph.D.) by YAMINA SEAMARI Supervisors María Victoria Sánchez-Vives Universidad de Barcelona José Ángel Narváez Bueno Universidad de Málaga AUTOR: Yamina Seamari http://orcid.org/0000-0002-6411-6120 EDITA: Publicaciones y Divulgación Científica. Universidad de Málaga Esta obra está bajo una licencia de Creative Commons Reconocimiento-NoComercialSinObraDerivada 4.0 Internacional: http://creativecommons.org/licenses/by-nc-nd/4.0/legalcode Cualquier parte de esta obra se puede reproducir sin autorización pero con el reconocimiento y atribución de los autores. No se puede hacer uso comercial de la obra y no se puede alterar, transformar o hacer obras derivadas. Esta Tesis Doctoral está depositada en el Repositorio Institucional de la Universidad de Málaga (RIUMA): riuma.uma.es iii Dña. María Victoria Sánchez Vives, profesora de investigación ICREA y profesora asociada de la Universidad de Barcelona y D. José Ángel Narváez Bueno, catedrático de la Universidad de Málaga, certifican, Que la Tesis Doctoral, realizada en el Departamento de Fisiología Humana, y de Educación Física y Deportiva, por Dña. Yamina Seamari, con el título “Spatio-temporal structure of spontaneous slow-wave oscillation and identification of Up and Down cortical states in simultaneous intraand extracellular recordings in vivo”, bajo nuestra Dirección dentro del programa de doctorado, “Neurociencia y sus aplicaciones clínicas” de la Universidad de Málaga, reúne los requisitos necesarios de calidad científica para optar al grado de Doctor, y está en condiciones de ser sometida a valoración de la Comisión encargada de juzgarla. Y para que conste a los efectos oportunos, firmamos la presente, a 13 de noviembre de 2015. La doctoranda Los directores Fdo. Yamina Seamari Fdo. Dña. M. V. Sánchez Vives Fdo. D. J. A. Narváez Bueno iv A mi familia. Para y por ti. v Acknowledgements I would like to express my sincere gratitude to Mavi Sánchez-Vives and José Ángel Narváez Bueno, my PhD supervisors, for leading and supporting me through this path. Very special thanks to you, Mavi; for all the valuable input, for guiding and pushing me through the finish line. Mavi and José Ángel, thanks to you both for your patience. I would also like to express thanks to my fellows and friends during my research stays in Instituto de Alicante and to the Brainworks group in Freiburg. My gratitude goes to all my colleagues, collaborators and friends who influenced and supported me along this long path. No list of acknowledgement, no matter how long, could ever claim completeness. My deepest and endless gratitude goes to those who are the first and the last; without them this could not have come true. It’s thanks to them that all this makes sense. I cannot find the right words to thank you. Alba. Laila. Francisco. vi Resumen de la tesis doctoral Si bien durante el siglo XIX la mayoría de los avances relativos a la organización de la corteza cerebral se centraban en cuestiones anatómicas, durante el siglo pasado las investigaciones se centraron en los aspectos funcionales. La morfología cortical ha sido objeto de intenso estudio desde los extraordinarios trabajos de Ramón y Cajal, pero la corteza cerebral también es en efecto la región responsable de la mayoría de las funciones cognitivas y de procesamiento de orden superior (no en vano, constituye la mayor parte del volumen total del cerebro humano). De ahí que, desde el comienzo de la electroencefalografía en 1930, una gran parte de los esfuerzos e investigaciones se han centrado en la corteza cerebral y del estudio de la actividad generada. Gracias a estos avances de la investigación en fisiología, se sabe que la corteza cerebral exhibe una actividad espontánea continua, presente aun estando en estado de reposo y hasta en los períodos de sueño. A esta actividad espontánea de baja frecuencia se la conoce como fluctuaciones cerebrales espontáneas y, hasta no hace mucho tiempo, incluso se consideraba “ruido neuronal”, i.e. actividad que no representaba información relevante o que sea proveniente de los registros, derivado de procesos fisiológicos de la respiración o actividad cardíaca. Sin embargo, durante las últimas décadas se ha podido confirmar que estas fluctuaciones espontáneas de la actividad de baja frecuencia son relevantes para las funciones computacionales que van desde la exploración de experiencias sensoriales previas hasta la formación de nuevas memorias. Se ha mostrado que estas actividades rítmicas lentas son generadas en la corteza cerebral y existen estudios que apuntan que se originan como resultado de la conectividad recurrente de la red cortical neuronal (Timofeev & Steriade, 1996). Entre estas actividades rítmicas se encuentran las oscilaciones lentas que se observan durante el llamado sueño de onda lenta, durante el estado de anestesia inducido por determinadas sustancias, y también en registros electrofisiológicos realizados en cortes de corteza in vitro. Las tres situaciones tienen en común que la red cortical se halla desconectada de las entradas de estímulos externos. Aunque se ha mostrado que las ondas lentas son generadas por la red cortical, se da una activación de la red tálamo-cortical reclutando a muchas áreas cerebrales tanto durante el sueño de onda lenta como bajo los efectos de la anestesia (Steriade et al., 1993d; McCormick et al., 2003; Sakata and Harris, 2009; RuizMejias et al., 2011; Stroh et al., 2013). Estudios recientes postulan que las ondas lentas constituyen la actividad por defecto (default) de la red cortical (Sanchez-Vives & Mattia, 2014) y que al estudiar la generación y propagación de las oscilaciones lentas en detalle, se puede extraer información relevante, sobre cómo funciona la red cortical bajo condiciones controladas o también conocer mejor sus alteraciones que se dan en diferentes patologías. En este sentido, por ejemplo los resultados en rodajas (slices) corticales in vitro han aportado importantes avances sobre las propiedades intrínsecas y sinápticas de varios tipos neuronales y diferentes áreas corticales. En concreto, el registro en slices permite el control de la composición iónica de la solución del líquido cerebroespinal artificial que las contiene y una buena visualización de los electrodos dentro del tejido. Se hizo hincapié en (Chagnac-Amitai y Connors, 1989) que las pequeñas regiones del neocórtex podrían mantener la actividad espontánea, pero no se comprobó hasta que Sánchez-Vives y McCormick (2000) demostraron en registros in vitro la presencia de oscilaciones lentas estables en cortes corticales mantenidos en una solución de líquido cerebroespinal artificial con concentraciones iónicas similares a las existentes en el cerebro in situ. vii La oscilación lenta, registrada durante la etapa de ondas lentas del sueño y bajo anestesia, se presenta en forma de un evento estable y sincrónico de la red cortical neuronal tal como se ha podido determinar mediante estudios de registro intray extracelular tanto in vivo como in vitro. Constituye un acontecimiento espontáneo durante el cual las neuronas de la corteza cerebral alternan de manera coherente entre intervalos de ausencia de actividad (estados hiperpolarizados o Down states) e intervalos donde suelen producirse descargas de potenciales de acción (estados despolarizados o Up states). La actividad generada por las redes corticales durante los estados despolarizados o Up states muestra una similitud aparente con aquella que se observa en el sujeto despierto, y por lo tanto sugiere que durante estos estados se llevan a cabo procesamientos de información similares a aquellos que tienen lugar durante el estado de vigilia. Durante el intervalo de hiperpolarización o Down state prácticamente todas las neuronas corticales están profundamente hiperpolarizadas y permanecen inactivas por unos pocos cientos de milisegundos hasta cambiar al Up state, momento en el que el potencial de membrana sobrepasa los niveles de umbral, todo el sistema tálamo-cortical muestra una intensa actividad sináptica, y las neuronas disparan con una frecuencia incluso más alta que en el estado de vigilia (Steriade et al., 2001). La propagación de las ondas de actividad dentro de las redes corticales es un fenómeno que se puede observar bajo muchas condiciones diferentes, desde la fuerte estimulación sensorial en diversas áreas sensoriales primarias tales como la corteza barril (Ferezou et al 2006; Petersen et al 2003), la corteza visual (Xu et al 2007), y la corteza motora (Rubino et al 2006), así como durante el sueño de ondas lentas (Chauvette et al 2010) y la anestesia inducida con actividad de onda lenta (Steriade et al 1993a; 1993b; 1993c; Takagaki et al 2008). Aunque este fenómeno sea tan extendido y exista un fuerte interés en la comprensión de los mecanismos subyacentes a la propagación de ondas en la corteza cerebral, el papel fisiológico de las ondas lentas sigue siendo poco claro. Tampoco se conocen bien los mecanismos que las generan, ni tampoco el impacto que tiene esta lenta alternancia de periodos activos y silentes sobre los mismos circuitos neuronales. Para hallar esta información, con frecuencia es necesario emplear herramientas complejas como por ejemplo los estudios realizados en la rata anestesiada que se basaron en imágenes de colorantes sensibles al voltaje (voltage sensitive dye - VSD) y que lograron demostrar que las ondas de actividad tienden a propagarse en direcciones específicas, mostrando incluso la activación modal cruzada (Takagaki et. Al 2008). En relación a estos resultados, los estudios de electroencefalografía realizados con sujetos humanos revelaron un origen y una dirección preferente de propagación de la onda. Este resultado se repetía en los distintos sujetos (Massimini et al 2004; Riedner et al., 2007). En cambio, las imágenes VSD realizados en la corteza barril de ratones despiertos mostraron unas direcciones de propagación de las ondas espontáneas variables de un ensayo a otro (Ferezou et al. 2006). La presente Tesis Doctoral está motivada por el interés de estudiar la estructura espacio-temporal de la onda lenta espontánea presente en la corteza somato-sensorial de la rata anestesiada y también en el cómo y en qué medida se propaga la actividad por la red cortical. Para ello, con el fin de tratar de comprender mejor los patrones de propagación que muestran las ondas lentas, es necesario estudiar (1) cómo se propagan las oscilaciones lentas (presentes bajo el efecto de ciertos anestésicos) a lo largo de una zona cortical pequeña, y viii (2) cómo correlacionan las oscilaciones de los registros extrae intracelulares. Frente a los registros in vitro, los experimentos in vivo tienen la ventaja de contar con una red cortical completa con todas las conexiones aferentes intactas y con la actividad espontánea de fondo. Por lo general, estos experimentos se centran en las respuestas celulares a diferentes estímulos sensoriales y con animales despiertos, pero éstos últimos muestran una actividad desincronizada en vez de la oscilación lenta de la actividad eléctrica del cerebro. Por ello, para estudiar las oscilaciones lentas in vivo se realizan registros durante la etapa de sueño o se emplean ciertos anestésicos como son la ketamina, el uretano, fentanilisoflurano o halotano. Para el trabajo de esta tesis se ha utilizado una matriz con siete electrodos extracelulares para los registros extracelulares y los he combinado con un registro intracelular simultáneo. Esta matriz de siete electrodos extracelulares se ha posicionado en la corteza somato-sensorial de ratas anestesiadas con uretano y ketamina/xilazina. La elección de este tipo de anestesia se debe a que se ha establecido como un modelo para el sueño de ondas lentas (Fontanini et al 2003; Sharma et al 2010), ya que conduce a oscilaciones de baja frecuencia estables y regulares de la actividad neuronal cortical. Con el fin de obtener datos correlacionados y para abarcar una porción muy pequeña (microscópica) de tejido cortical, el electrodo intracelular y la matriz multi-electrodo fueron colocados muy cerca el uno del otro (> 1 mm). De la principal motivación de esta tesis, que es estudiar la dinámica de la red cortical a través de su actividad oscilatoria lenta emergente, se derivan otros objetivos específicos, los cuales son: (1) estudiar el comportamiento estereotípico de las transiciones espontáneas entre los intervalos de Up y Down presentes en la corteza somato-sensorial de ratas anestesiadas; (2) desarrollar herramientas analíticas adecuadas que faciliten el estudio de la propagación espacio-temporal de las ondas de actividad, tanto a escala micro como mesoscópica, durante la etapa de ondas lentas. El trabajo de tesis realizado comprende en gran parte el desarrollo de estas herramientas analíticas complejas y que sirven para estudiar las transiciones espontáneas entre los estados Up y Down, y, además, del patrón de propagación de estas oscilaciones lentas. En concreto, se presenta en esta tesis a) la definición y la implementación de una metodología que permite detectar las oscilaciones lentas en registros intracelulares, y b) un segundo procedimiento analítico para analizar registros extracelulares múltiples y para medir su correlación, y, finalmente para analizar las propiedades de propagación de esta actividad cortical. Dichas metodologías analíticas se desarrollaron empleando los datos procedentes de registros intray extracelulares obtenidos en experimentos realizados in vivo, y también analizando los datos facilitados por los colaboradores de esta tesis. Los datos registrados presentan estados de activación neuronal (Up states) que se alternan con estados silentes (Down states). Es frecuente que, con el fin de estudiar las propiedades sinápticas y de integración de las células corticales que se dan durante las oscilaciones lentas del potencial de membrana, se requiera separar y cuantificar los Up y Down States que se observen en datos de registros intracelulares procedentes de diferentes áreas corticales in vivo (animales anestesiados) y también en preparaciones in vitro (rodajas). Se requiere habitualmente de un procesamiento cuantitativo detallado xv List of Publications during PhD Thesis Work Papers (peer reviewed) 1. Seamari Y, Narvaez JA, Vico FJ, Lobo D, Sanchez-Vives MV (2007) Robust Offand Online Separation of Intracellularly Recorded Up and Down Cortical States. PLoS ONE 2(9): e888. DOI: 10.1371/journal.pone.0000888 2. Fucke T, Suchanek D, Nawrot MP, Seamari Y, Heck DH, Aertsen A, Boucsein C (2011) Stereotypical spatiotemporal activity patterns during slow-wave activity in the neocortex. J Neurophysiol 106: 3035-3044 Conference Abstracts 1. Seamari Y, Narvaez JA, Vico FJ, Lobo D, Sanchez-Vives MV (2007) Separación automatica offy online de estados corticales de activacion en registros intracelulares. Proceedings of XII Congreso Bienal de la SENC, pp. 101. Valencia (Spain) 2. Fucke T, Suchanek D, Seamari Y, Nawrot MP, Aertsen A and Boucsein C (2010) Stereotypic spatiotemporal activity patterns during slow-wave activity in the neocortex. Front. Comput. Neurosci. Conference Abstract: Bernstein Conference on Computational Neuroscience. doi: 10.3389/conf.fncom.2010.51.00040 3. Suchanek D, Seamari Y, Nawrot MP, Aertsen A, Boucsein C (2007) Spatio-temporal structure of spontaneous state transitions in the neocortex 7th Göttingen Meeting of the German Neuroscience Society, Suppl. Neuroforum 8(1): T21-10A 4. Suchanek D, Seamari Y, Nawrot MP, Aertsen A, Boucsein C (2006) Spatio-temporal structure of spontaneous slow-wave oscillations in the neocortex. Soc. Neurosci. Abstr. Online: 796.22 5. Boucsein C, Suchanek D, Seamari Y, Nawrot MP, Aertsen A (2006) Spatio-temporal structure of spontaneous state transitions in the neocortex in vivo. 2nd symposium of the Bernstein Centers for Computational Neuroscience: p.39 6. Nawrot MP, Boucsein C, Seamari Y, Mehring C, Aertsen A, Rotter S (2005) Serial spiking statistics of cortical neurons in vivo and in vitro. In: Proceedings of the 6th Meeting of the German Neuroscience Society, Suppl. to Neuroforum 11(1): 32B xvi Research Stays I have spent a research period from 01/07/2003 to 30/06/2004 at Prof. Ad Aertsen’s Brainworks Lab, Albert-Ludwigs-Universität Freiburg, Institut für Biologie III, Neurobiologie & Biophysik. During this research period, I carried out a variety of research and learning activities directly related to this doctoral thesis, including part of experiments described and data used in this thesis. I also spent a shorter research period at the Laboratory of Prof. M.V. Sanchez-Vives, where I performed some in vivo recordings in rat barrel cortex, at the Institute of Neuroscience of Alicante, University MiguelHernández-CSIC, Spain. Part of the recordings included in this thesis were obtained in this laboratory. xvii Index of contents 1 Introduction .................................................................................................................................... 1 1.1 Organization of the cerebral cortex ......................................................................................... 1 1.1.1 Horizontal layers of the cerebral cortex ........................................................................... 2 1.1.2 Predominant neuron types in the neocortex ..................................................................... 3 1.1.3 Cortical columns .............................................................................................................. 4 1.2 Dynamics of the brain activity................................................................................................. 5 1.2.1 Cortical oscillations .......................................................................................................... 5 1.2.2 Nomenclature of the cortical oscillations ......................................................................... 5 1.2.3 Neural activity pattern during sleep ................................................................................. 6 1.2.4 Slow oscillations during slow wave sleep ........................................................................ 7 1.2.5 Functional role of slow oscillations ............................................................................... 11 1.2.6 The effect of anesthesia on the neuronal activity and the slow oscillation pattern ........ 12 1.2.7 Effect of ketamine anesthesia ......................................................................................... 13 1.2.8 Effect of xylazine anesthesia .......................................................................................... 14 1.2.9 Effect of urethane anesthesia .......................................................................................... 14 2 Objectives ..................................................................................................................................... 15 2.1 Aims and organization of this thesis...................................................................................... 16 2.1.1 Identification of Up and Down states ............................................................................. 16 2.1.2 Spatiotemporal structure of the slow-wave oscillation by simultaneous intraand extracellular recordings in vivo using a horizontal multi-electrode-array ................................... 18 3 Methods ........................................................................................................................................ 19 3.1 Detection and separation of Up and Down states .................................................................. 19 3.1.1 Experimental methods .................................................................................................... 19 3.1.2 Analytical methods ......................................................................................................... 20 3.1.3 Spatiotemporal structure of the slow-wave oscillation by simultaneous intraand xviii extracellular recording in vivo using a horizontal multi-electrode-array ..................................... 26 4 Results .......................................................................................................................................... 31 4.1 Up and Down states separation using moving averages ....................................................... 31 4.1.1 Properties of MAUDS analyzing the Up and Down states ............................................ 31 4.2 Spatiotemporal structure of spontaneous slow-wave oscillations in the neocortex .............. 40 4.2.1 Down-to-Up transition ................................................................................................... 40 4.2.2 Detection of extracellular spikes .................................................................................... 44 4.2.3 Estimation of the neuronal firing rates ........................................................................... 46 4.2.4 Up-to-Down transition ................................................................................................... 60 5 Discussion .................................................................................................................................... 65 5.1 Robust offand online separation of intracellularly recorded Up and Down cortical states. 65 5.2 Spatio-temporal structure of spontaneous slow-wave oscillations in the neocortex ............. 68 5.2.1 Constraints in experimental methodology...................................................................... 72 6 Conclusions .................................................................................................................................. 75 7 References .................................................................................................................................... 76 8 Appendix ...................................................................................................................................... 83 8.1 Protocol for in vivo experiments ............................................................................................ 83 8.2 MAUDS Programming Scripts .............................................................................................. 89 xix List of Acronyms and Symbols s.c. subcutaneously i.p. intraperitonealy ml millilitre mg milligram g gram BOE Boletín oficial de estado Fig. Figure ECG Electrocardiogram HEPES 4-(2-hydroxyethyl)-1-piperazineethanesulfonic acid LFP Local field potential PFA Paraformaldehyde REM Rapid eye movement SWS Slow wave sleep CNS Central nervous system IPSP Inhibitory post-synaptic potential EPSP Excitatory post-synaptic potential AP Action potential KC K-complex CS Cortico-striatal MUA Multi-Unit-Activity EU European Union ACSF Artificial cerebrospinal fluid CSF Cerebrospinal fluid MAUDS EMA Vm Moving average Up/Down separation Exponential moving average Membrane potential xx Introduction 1 1 Introduction While during the 19th century most advances concerning the organization of the cerebral cortex were on the anatomical level, during the 20th the functional aspects were investigated. Thanks to these advances, it has been found out that the cerebral cortex is constantly active. The human brain has about 100 billion (1011) neurons and 100 trillion (1014) connections (synapses) between them, forming a complex network able to process in a parallel and in an organized manner inputs from all the different senses. It also sends information to the body, thereby controlling its reactions. The neocortex, the phylogenetically more recent part of the brain, is involved in detailed sensory perception, in performing rapid sequences of fine movements, and in learning and intelligent behavior. In the rat, a single pyramidal cell, the most characteristic cell type of the neocortex, receives synaptic inputs from about 10,000 neurons (Larkman, 1991), each of which fires action potentials at an average rate between 1 and 10 per second in vivo (Abeles et al., 1990). As a result, there is a considerable amount of ongoing activity in the network, which is known to influence the response characteristics of individual neurons (Arieli et al., 1996; Azouz and Gray, 1999; Tsodyks et al., 1999). Understanding the organization of the cerebral cortex and how each neuron integrates its synaptic input, and what are the time constants involved is crucial for the comprehension of the functioning of the network (Abeles, 1982; König et al., 1996; Diesmann et al., 1999). This introduction tries to give a very brief insight into the organization of the cerebral cortex and introduces a part of the dynamics of brain activity known as cortical oscillations and revises the slow oscillations. 1.1 Organization of the cerebral cortex The cerebral cortex of mammals is a laminated sheet of grey matter covering the entire outer surface of the telencephalic brain vesicles. The discovery of the highly organized structure of the cerebral cortex took its origin from observation by Francesco Gennari in 1782, an Italian student of medicine, of a delicate pale line (lineola albidior) running in a surface-parallel direction in the middle of the grey cortex in the medial surface of the occipital lobe of the brain. This line was observed and illustrated by other authors of the period (Vicq d’Azyr 1786; Sommering 1788). Indeed, the characteristic white band in the fourth layer of the primary visual cortex is easily observable with the naked eye and still is referred to as the band of Gennari. The basic feature of the cortical structure has been described thanks to the introduction of cell-staining methods, first by the natural dye, carmine (Berlin, 1858), when the general arrangement of the cortical cells in six layers (as opposed to a nuclear collection of cells) was recognized. Although the observation of distinct cell types (pyramidal, stellate, fusiform, and granular) was already made, it was not before the introduction of Golgi’s (1873) reazione nera (silver chromate precipitation) that the real shape of the cortical nerve cells was fully appreciated (Golgi, 1883). As published for the first time by Brodmann (1908, 1912, and 1914) the cerebral cortex has multiple distinguishable areas. The cytoarchitectonic map elaborated by Brodmann (Fig. 1.1) distinguished more than 50 areas and the basic six-layered structure of the neocortex gradually was accepted. The general structure of the neocortex is demonstrated most elegantly and clearly in a synthetic diagram by Braak Introduction 2 (1984) with a comparison of the lamination nomenclature in the now-traditional sequence from outside (pial surface) to inside. Figure 1.1: Cytoarchitectonic Map by Brodmann. Lateral and medial view of human cerebral hemisphere. More than 50 cytoarchitectonic areas have been distinguished. The depicted areas are now identified as Brodman areas. (From Arbib et al., 1998). 1.1.1 Horizontal layers of the cerebral cortex The individual layers have different roles and vary in relative thickness among cortical regions (e.g., a sensory region has a thick internal granule layer; a motor area has a thick internal pyramidal cell layer). From superficial to deep, the six layers are (Fig. 1.2A, B): 1. Molecular layer (lamina I) is almost entirely devoid of nerve cells (apart from a few exclusively inhibitory neurons), and contains the apical dendrites and the non-specific afferents. 2. Outer granule cell layer (lamina II) with interneurons with small cell bodies for non-specific afferent input. 3. Outer pyramidal cell layer (lamina III) is the thickest layer of the cortex in primates, presents short association output and contains mainly pyramid-shaped small and medium sized cells which appear to be arranged in vertical columns; the size of the cell bodies gradually increases toward the depth of the layer. 4. Inner granule cell layer (lamina IV) with relatively small polyhedral cell bodies which are interneurons for specific afferent input. This layer is relatively thin in most cortical regions but becomes thicker and subdivided into sublayers in the primary sensory cortices. 5. Inner pyramidal layer (lamina V) made up mainly of pyramidal cell bodies, with the exception of the stratum immediately bordering lamina IV, wherein single large polyhedral cell bodies (e.g., Betz and Meynert cells) are relatively frequent; the fibers are projection and long association output. 6. Multiform layer (lamina VI). As the name indicates here are variably shaped cells like vertically oriented spindle-shaped and less regular pyramid-shaped cell bodies; conforms a projection and long association output. Introduction 3 A B Figure 1.2: Cortical Layers A. Superficial layers of the human frontal cortex drawn by Cajal on the basis of Golgi impregnation. The main cell types of the cerebral cortex i.e. small and large pyramidal neurons (A, B, C, D, E) and non-pyramidal (F, K) cells (interneurons in the modern nomenclature) are outlined. B. Lamination nomenclature from outside (pial surface) to inside (white matter). (From Arbib et al., 1998) 1.1.2 Predominant neuron types in the neocortex While pyramidal cells are the most characteristic cell type of the neocortex (and of some parts of the archicortex) and, indeed, of the entire mammalian nervous system, modern taxonomy labels all other cells of the cerebral cortex as non-pyramidal. Cells that fall into this category have practically nothing in common. Because there is little agreement, the nomenclature is arbitrary and reflects the individual views of the authors. 1. Non-pyramidal neurons Three major categories of non-pyramidal neurons are distinguished: long-axon projective neurons, shortaxon projective neurons, and short axon (true) interneurons. If a neuron is an integral part of a neuron chain for routing impulses through any particular part of the cortex, it can be considered projective. If it is integrated for either feedforward or feedback inhibition (or disinhibition), it is a true interneuron. The first class, long-axon projective neurons, can be only reliably found in the visual cortex in which clearly non-pyramidal stellate-shaped neurons with spiny dendrites give rise to cortical efferents. These cells were described by Ramón y Cajal (1899) for the first time. There exists a special source of ambiguity about the fusiform and irregular cells of the lamina VI, many of which are efferent and in the majority directed toward the thalamus, if they ought to be considered non-pyramidal cells or genuine but distorted pyramidal neurons. Short-axon projective neurons are spiny stellate cells and bipolar neurons. The former cells constitute the main target neurons of specific sensory afferents and are located in lamina IV, especially in the primary sensory cortical areas (Martin and Whitteridge, 1984). The bipolar neurons with strictly vertical orientation have been observed both in lamina II and III of sensory cortices and laminae IV and V. All known true interneurons, also referred to as granule cells, are of an inhibitory nature and several types Introduction 4 of these inhibitory interneurons were recognized and described on the basis of their characteristic arborisation patterns (mainly of the axons) by the classical authors, mainly Ramón y Cajal (1899) (Fig. 1.2A). Other true interneurons, like the basket cells were studied and defined more recently. The interneurons receive input from cortical afferent fibers and form synapses on output neurons (pyramidal cells) of the cortex. A recent classification of these complex and heterogeneous cells which includes both anatomical and physiological types, as well as molecular features can be found in Ascoli et al. (2008). 2. Pyramidal neurons Pyramidal neurons show a conical cell body (>30 µm in diameter) with apical and basal dendrites and an axon that leaves the base of the cell to enter white matter. Pyramidal cells constitute the output cells of the cerebral cortex. There is a high variation in size among pyramidal cells and they are found in virtually all laminae, with the exception of lamina I of the cortex. The cortical pyramidal cells are arranged in an organized way within the cortex, parallel to each other, with their apical dendrites situated perpendicularly to the surface of the cortex, which in most cases reaches the border of the two superficial cortical layers, I and II, wherein it breaks up into a terminal dendritic tuft. The axon of the pyramidal neuron originates at the base of the cell body and pursues a vertically descending course. The vast majority of pyramidal cell axons leave the cortex toward the white matter. The arborisations of the pyramidal axon collaterals are very specific and arborize profusely in well-defined patches of the neighboring cortical tissue (Kisvárday et al., 1986). Most dendrites of the pyramidal neurons are studded with delicate drumstick-shaped appendages known as dendritic spines which were already described by Golgi (1883) and Ramón y Cajal (1899) using the Golgi procedure (Fig. 1.2A). The density (number per unit length of dendrite) of the spines, which are the receptive sites of synapses given by the terminal arborisations of terminal axon branches, varies considerably according to species, cortical region, and type of dendrite. Pyramidal neurons can express different electrophysiological types. The most frequent ones are regular spiking (RS), fast spiking (FS), intrinsically bursting and chattering (or repetitive bursting) neurons (Nowak et al. (2003) according to their electrophysiological features. 1.1.3 Cortical columns Scheibel & Scheibel (1958) reported certain spatial regularities in the arborisation both of dendrites and of axonal ramification in the lower brainstem, and a vertical columnar organization of the somatosensory cortex was identified by Vernon Mountcastle (1957). Nevertheless, the observation by Hubel and Wiesel (1959) of the so-called orientation columns in the visual cortex was even more convincing that the entire cerebral cortex is organized into functional units. Each unit being a column (about 0.4 mm diameter) extending the entire thickness of the cortex (including all six layers). Each vertical column is considered as a functional unit because all cells within an individual column are activated by the same particular feature of a stimulus. The vertical organization is the result of neuronal connections within a cortical column: Two types of afferent projection fibers from the thalamus enter the neocortex. These are the specific afferents which drive the modality of specific input and terminate in internal granule cell layer, exciting interneurons which excite other neurons of the column. While the non-specific afferents, which terminate in molecular layer on distal dendrites of pyramidal cells, are responsible to provide the background excitation to the column. Small pyramidal cells send their axons into the white matter to excite nearby cell columns; while large pyramidal cells (and multiform cells) send their axons into the white matter to excite distant sites via long association fibers, commissural fibers, and corticofugal projection fibers. Introduction 11 Steriade et al., 1997). The activation of certain neuromodulatory systems, such as increasing the level of ACh can reduce the K+ conductances, including the Na+-dependent K+ conductance, reverting the oscillating network activity with less marked periodicity, longer Up states and shorter Down states until the state of tonic firing resembling the voltage traces of the waking state. In the model depicted in Fig. 1.6 the characteristic neurophysiological differences between the SWS and the waking states could only be resembled closely by changing different parameters of excitation and inhibition (Shu et al., 2003; Compte et al., 2009) and activity-dependent adaptation mechanisms (Compte et al., 2003; Sanchez-Vives et al., 2010; Mattia & Sanchez-Vives, 2012). Nevertheless, the enhancement of the neuromodulatory effect enters the network eventually into a tonic firing state with no large-scale spatio-temporal coherence, reminiscent of typical cortical activity in the awake state (Destexhe et al., 1999; Steriade et al. 1996), recently observed also in a thalamocortical network model of slow oscillations (Bazhenov et al., 2002). An additional point of interest is that the periodic fluctuations in membrane potential occurring during SWS do also conduct to fluctuating changes in the ionic composition both within the extracellular as well as the intracellular medium. Intracellular calcium concentrations are usually kept very low (1-1.3 mM), thus even small changes in its concentration can lead to large effects. Extracellular measurements using an ionsensitive microelectrode showed phasic fluctuations in [Ca2+]out (Massimini & Amzica, 2001). The minimum concentration (~0.9 mM) coincided with the end of the depolarizing phase followed by an almost linear increase after onset of the hyperpolarizing phase, reaching values of about 1.2 mM. The authors in this study believe, that because of the periodic depletions of [Ca2+]out, synaptic depression is caused and a concomitant transition to the Down state, while during the silent phase the resting levels of calcium are restored and with it the synaptic efficacy. It remains still to be determined, whether the calcium balance or the kinetics of Na+-dependent K+ conductance are responsible for the switching between active and silent states but evidence points toward a combination of the two as the most likely scenario (Volgushev et al., 2005). During the Up state, external calcium levels are depleted (by almost 20%) due to the possible inflow of the divalent cation via N-type Ca2+ channels located near the active zones (Kandel et al., 2000). This contributes to the gradual decrease in conductance, thus a simultaneous increase in the input resistance (Rin) during the Up state. While the overall conductance is decreasing, IKNa currents start building Up with only minimal effects on the overall conductance. Due to a loss of network stability, neurons will not be excitable enough to maintain the Up state and thus a sharp transition to the Down state is made. Whereas during this hyperpolarized state, [Ca2+]out can be restored and recurrent excitation is able to drive the network into the Up state once again (Compte et al., 2003). 1.2.5 Functional role of slow oscillations Another interesting question that remains to be answered is, what is the functional significance of the persistent slow oscillating activity in the cortical network? Most authors propose that the high rates of firing during the active states of slow wave sleep, which lead to a bombardment of target neurons by both rhythmic spike trains as well as spike bursts, may lead to spike-dependent synaptic plasticity processes (Steriade et al., 2001; Massimini et al., 2004). Slow oscillation could thus be essential for memory consolidation whereby memory traces acquired during wakefulness are preferentially processed (Mukovski et al., 2007; Steriade et al., 2001). Memory is classified into two fundamental forms: explicit (also termed declarative) and implicit (also Introduction 12 termed non-declarative), respectively (Stickgold & Walker, 2005). The first involves consciously accessible memories of fact-based information, i.e. knowing “what”, and contains several subcategories, including episodic memory (memory for events in one’s past) and semantic memory (memory for general knowledge). By contrast, non-declarative memory includes all non-conscious memories, and has subcategories such as conditioning, implicit memory and procedural memory (i.e. knowing “how”). Or said shortly; it’s the memory of how a certain task or skill is performed, such as hitting a tennis ball. Thus, during different phases of sleep, traces of these different memory types, declarative as well as nondeclarative are differentially processed leading to synaptic consolidation or downscaling (Mukovski et al., 2007; Steriade et al., 2001). Evidence of sleep-dependent plasticity at both local and system levels suggests that sleep has a crucial role in consolidation processes leading to memory enhancement (Stickgold & Walker, 2005). Another approach for the functional role of slow oscillations determined using computational models, has been that they might be responsible for the persistent activity of neurons in the prefrontal cortex of primates while they are performing delayed-response memory tasks. In the primary visual cortex, where this spontaneous activity has been investigated in detail in cortical slices of the ferret, it might be that this activity; at least in some cell types, is important for the generation of receptive field properties (SanchezVives & McCormick, 2000). The precise function role of these alternating states still remains an enigma and the approaches mentioned above still need to be investigated further. This gives rise to the question, how can we elicit these rhythmic alternations in membrane potential artificially so that it can be studied more easily? 1.2.6 The effect of anesthesia on the neuronal activity and the slow oscillation pattern Due to the wide interest in the function; both on a cellular as well as a mechanistic level, of slow oscillations in humans as well as animals, two methods enable us to artificially induce this rhythm (<1 Hz) both under in vitro as well as in vivo conditions. Traditional slice bathing mediums (2 mM Ca2+, 2 mM Mg2+ and 2.5 mM K+) used to maintain cortical slices under in vitro conditions do not show spontaneous rhythmic oscillations. However, when changing the ionic concentrations of the ACSF such that they resemble more closely the composition of the brain interstitial fluid (1-1.2 mM Ca2+, 1 mM Mg2+ and 3.5 mM K+), these spontaneous slow oscillations appear. The membrane potential distribution again showed the characteristic bimodality, with Up states exhibiting spiking frequencies of 2-10 Hz and Down states occurring approximately every 3.4 s (Compte et al., 2003; Sanchez-Vives & McCormick, 2000). It has been shown that activity in cortical cells is critically dependent on the type of anesthesia, i.e. different anesthetics inducing distinctive cortical rhythms mimicking different sleep stages (Steriade, 1997). Hence, concerning anesthesia during electrophysiological experiments there is often the need to find a compromise between a sufficient depth of anesthesia and the alteration of the neuronal activity. The depth of anesthesia is controlled by monitoring different parameters like: the breath and pulse frequency, the EEG, the involuntary responses of the muscles to stimulations like pain and the opening of the pupil. Under certain anesthetics, the neuronal activity shows slow oscillations similar to that observed during slow wave sleep. These anesthetics are ketamine, urethane and halothane. As discussed in the former section, slow oscillation consists of long-lasting depolarizations with superimposed action potentials, separated by long periods of neuronal silence which is closely related with a similar rhythm of EEG waves. These slow cortical potentials are similar to the slow oscillations present throughout resting sleep in mammals and in urethane or ketamine-xylazine-anesthetized cats (Steriade, Introduction 13 1993; Steriade et al., 1993a, 1993b; Contreras & Steriade, 1995) and could be observed under all (but deep barbiturate) anesthetic conditions, as well as in high brainstem-transected undrugged preparations. Mahon et al. (2001) performed a study in vivo where the three different anesthetics used induced EEG waves that were associated with dissimilar patterns of activity in cortico-striatal (CS) neurons. The different patterns of cortical activity described by Mahon et al., 2001 did not result from an anesthetic dependent alteration in intrinsic membrane properties of cortical neurons and no significant difference in the basic electrical features of CS cells recorded under the different anesthetics could be observed. The basic difference between neuronal oscillations recorded under urethane and those under ketamine was the frequency of the rhythm. Thus, under urethane anesthesia mainly slow oscillations with a frequencies in the range of 0.3 to 0.4Hz with overwhelming pattern of spindling activity were presented while ketamine showed mostly 0.6-1 Hz, i.e. a pronounced shift toward higher frequencies. 1.2.7 Effect of ketamine anesthesia Ketamine (Ketanest®) belongs to the dissociative anesthetics producing hypnotic, analgesic and amnesic effects, i.e. it is sleep producing, pain relieving and causes a short term memory loss. These effects are conducted without the actual loss of consciousness but leading to a state of cataleptic immobility. Ketamine and other dissociative anesthetics selectively block the NMDA subtype of excitatory aminoacid receptor (MacDonald et al., 1991), thus, selectively decreasing synaptic transmission at terminals of excitatory neurons. The mechanism of action is the blocking of ion channels of non-competitive Nmethyl-D-aspartate (NMDA) (Anis et al., 1983) receptors without substantial alteration of the function of γ-aminobutyric acid type A (GABAA), glycine, and α-amino-3-hydroxy-5-methyl-4-isoxazole propionic acid receptors (AMPA). Ketamine increases the monoaminergic transmission and induces the inhibition of voltage-gated sodium channels by agonistic effects on the opiate receptors. EEG records exhibit a slow rhythm at ~ 1Hz. Dissociative anesthesia is a stage whereby somatic analgesia is combined with a light plane of unconsciousness, but the animal seems dissociated from its environment. During the dissociative anesthesia, the respiratory function remains stable and the animal maintains its pharyngeal, laryngeal, corneal, palpebral and swallowing reflexes. The eyes remain open. Dissociative anesthetic agents increase muscle tone and spontaneous involuntary muscle movements (occasionally seizure) are common due to its poor muscle relaxant properties and variable analgesia. Salivation and lacrimation are also increased. Ketamine has potent sympathomimetic effects like hypertension, increase of the heart pulse frequency and myocardial consumption of oxygen as well as bronchodilatation. At recommended dosages, ketamine causes minimal depression of the respiratory and cardiovascular systems, but is a poor muscle relaxant in most species. When used in guinea pigs (at a dosage of 55 mg/kg i.p.), however, ketamine alone may provide muscle relaxation sufficient for restraint and manipulation for procedures which impart minimal pain to the animal. This is one of the few situations in which ketamine, alone, is a suitable anesthetic in rodents. The onset of action when applied via intravenous (i.v.) occurs after seconds, while it takes about 5 minutes when applied via injection into the muscle. Due to its poor muscle relaxant properties in other species of rodents, ketamine is often combined with tranquillizers, such as xylazine, acetylpromazine, diazepam, and butorphenol to facilitate muscle relaxation. The ketamine-xylazine combination provides better analgesia than does ketamine-diazepam or ketamine-acetylpromazine. Ketamine-xylazine should be used with caution at high dosages, however, because it produces respiratory and cardiovascular depression, Introduction 14 hypothermia, and can produce muscle necrosis when injected by the i.m. route. 1.2.8 Effect of xylazine anesthesia Xylazine is an alpha-2 adrenergic agonist (Nicoll et al., 1990) acting at alpha-2 adrenoreceptors to inhibit neurotransmitter release at sympathetic and parasympathetic nerve endings. It is used as a sedative, analgesic, and muscle relaxantin veterinary medicine. Its sedative and analgesic properties are related to nervous system depression, acting on presynaptic and postsynaptic receptors of the central and peripheral nervous systems. Its effects include bradycardia, hypotension due to activation of alpha-2 adrenoreceptors in medullary pressor centers and resulting depression of sympathetic outflow from these centers, and inhibition of the effects of postganglionic nerve stimulation. Overall it produces respiratory and cardiovascular depression and hypothermia. In veterinary anesthesia, xylazine and ketamine are often used in combination. Ketamine, unlike xylazine, is used in both humans and other animals. When xylazine is used in combination with ketamine it may cause muscle necrosis at the i.m. injection site, therefore, i.p. injection is recommended. 1.2.9 Effect of urethane anesthesia Urethane (ethyl carbamate) is a water-soluble compound widely used as an anesthetic in animal experiments. It is also a carcinogen, which precludes its use as a human anesthetic. The advantages of urethane in animal anesthesia are that it can be administrated by several parenteral routes, produces a longlasting steady level of surgical anesthesia, and has minimal effects on autonomic and cardiovascular systems. Recent studies in rodents have shown that it has a rapid onset after i.p. administration, which is followed by hypotension, hypothermia, bradycardia and metabolic acidosis with partial respiratory compensation. Advantages of urethane anesthesia are that it produces good muscle relaxation and analgesia sufficient for surgical manipulations. Urethane has also been shown to produce sedation and ataxia following topical administration to rodents. The primary disadvantages of urethane are that it is a proven carcinogen and mutagen in rodents, therefore, its use is strongly discouraged unless strict precautions are taken (e.g. gloves, face masks, mixing under a fume hood) to protect personnel. Due to its mutagenic and carcinogenic potential, use of urethane should be limited to non-survival procedures. Urethane has been reported to affect both inhibitory and excitatory neurotransmission systems and the magnitude of the change is less than that seen with anesthetics that are more selective for one system (e.g., ketamine and NMDA receptor). The functions of GABAA and glycine receptors are enhanced while the NMDA and AMPA receptors are inhibited by the action of urethane (Hara & Harris, 2002). Furthermore, urethane interestingly enhances the function of the nACh receptor. Objectives 15 2 Objectives The general objective of this thesis is to learn about the dynamics of the cortical network through its slow oscillatory emergent activity. In order to achieve this objective, I have devoted a large part of the efforts in this thesis to the development of methodological tools that allow myself and others to identify and explore the properties of oscillations. In an approach to this objective, three more specific objectives can be resumed as follows: - To develop a method that allows the detection and idenfication of cortical Up and Down states in intracellular recordings. - To investigate the spatiotemporal properties of wave propagation during slow wave activity on a microto mesoscopic scale by developing adequate analytical tools. - To examine the stereotypical behavior of spontaneous transitions between Up and Down states in the somatosensory cortex of anesthetized rats. Objectives 16 2.1 Aims and organization of this thesis In order to tackle these specific objectives this thesis is divided into two blocks: 1. The first block refers to the definition, formalization, implementation and analysis of an easy to use method for Up and Down states detection and identification in intracellular recordings. 2. The second block describes the information obtained from simultaneously recorded intraand extracellular signals using a multi-electrode array and analyzes the spatiotemporal structure of the slow oscillation within a small portion of cortical tissue covered by the extracellular matrix and triggering on the intracellular signal. In particular, the analytical tools developed and applied for this study are emphasized and described in detail. 2.1.1 Detection and Identification of Up and Down states Once the simultaneous intraand extracellular data have been recorded, we proceeded to correctly and reliably detect and identify the Up and Down states of the slow cortical oscillations. For further detailed data analysis, it is often required to detect, identify and quantify the Up and Down states, in order to respond to questions regarding the integrative or synaptic properties of cortical cells during slow membrane potential fluctuations. To achieve this processing of intracellularly recorded membrane potential fluctuations some methods deal with the data in a manual fashion, while others implement basic automated procedures. Metherate and Ashe (1993) first carried out the quantification of the two-state behavior based on the membrane potential distribution. That graphical tool operates on the characteristic bimodal distribution of the membrane potential, best fitted to a dual Gaussian function, and has been extensively used since then (Sanchez-Vives & McCormick, 2000; Petersen et al., 2003; Anderson et al., 2000; Benucci et al., 2004; Crochet et al., 2004; Fuentealba & Steriade, 2005; Holcman & Tsodyks, 2006; Kasanetz et al., 2002; Lewis and O’Donnell, 2000; Mahon et el., 2003; Peters et al., 2004; Timofeev et al., 2001; Tseng et al., 2001). A peak at the hyperpolarized membrane potential values identifies the Down state, separated from the depolarized Up state by a well-defined central valley, indicative of fast transitions between the two states. Recently, a moving average of the membrane potential and its standard deviation (StD) has been presented (Volgushev et al., 2006) to separate the two states. In this case the Down state presents a sharp peak at hyperpolarized potentials with low StD values, while the Up state shows a broader hill at more depolarized potentials and higher StD values. A different approach based on the spectral difference of the local field potential (LFP) signal has been recently proposed to distinguish between Up and Down states (Mukovski et el., 2007). This method also relies on the bimodal distribution of the membrane potential. The basic assumption underlying the approaches based on the bimodal distribution of the membrane potential is that the proportion of the area of the histogram under each of the peaks represents the proportion of time spent in each state, and consequently the mode of each peak is the preferred membrane potential in each state. While this is true for very stable recordings, data is typically affected by fluctuating electrical and physiological conditions. According to this property, these approaches proceed by performing certain measurements on the biphasic histogram. A basic operation is to determine the threshold potential that delimits both states. This is obtained by computing the modes of the distributions (or, alternatively, visually identifying the peaks) and Objectives 17 finding either the potential associated with the lowest bar between them, or the midpoint between the peaks if a broad valley separates them (Wilson & Kawaguchi, 1996). More reliable transitions can be performed by setting two thresholds, e.g., at one fourth and three fourths of the distance between the peaks (Anderson et al., 2000). The areas separated by these delimiting values are a good estimation of the time spent in each mode. Despite the simplicity and popularity of the histogram-based methods, there are some disadvantages related to its use: 1. The intracellular membrane potential recordings must be stable over the time window used to compute the histogram. However, this ideal scenario is frequently complicated by membrane potential drift, changes in the electrode seal, movement artifacts (e.g. respiratory movements, heartbeat) or other factors, particularly when large time spans are to be considered. These changes will tend to blur the standard bimodal distribution of Up and Down states, making it hard to separate the two states based simply on threshold. 2. Although the threshold can be automatically determined, there is a certain tendency to establish the settings manually according to the expert assessment, even when dealing with very stable recordings and well-differentiated bimodal behavior. A reliable computerized method for peak identification in the histogram of membrane potentials from recordings that are not obtained in ideal conditions could be hard to find. An increasing amount of “non-standard” electrophysiological data (from anesthetized animals and slice recordings) and in addition long duration recordings demand automated and reliable methods for Up and Down states identification and characterization. We present an automatic and easy-to-use method that is able to identify and to reliably separate the two states of membrane potential, characteristic of slow wave sleep and under certain anesthesia: MAUDS (for Moving Averages for Up and Down Separation). Furthermore, the method has been engineered to be used online, in such a way that the Up and Down states can be visualized in real-time superimposed to the original signal, and the experiment design can include triggering events. It also provides immediate information on the statistics of the Up versus Down periods to evaluate the behavior of the network. Objectives 18 2.1.2 Spatiotemporal structure of the slow-wave oscillation by simultaneous intraand extracellular recordings in vivo using a horizontal multi-electrode-array Propagating waves of activity within neocortical networks are a phenomenon that can be observed under many different conditions, from strong sensory stimulation in various primary sensory areas such as barrel cortex (Ferezou et al. 2006; Petersen et al. 2003), visual cortex (Xu et al. 2007), and motor cortices (Rubino et al. 2006), as well as during the slow-wave sleep (Chauvette et al. 2010) and anesthesia-induced slowwave activity (Steriade et al. 1993a; 1993b; 1993c; Takagaki et al. 2008). Although this phenomena is so widespread, there is a strong interest in understanding the mechanisms underlying wave propagation in the neocortex while the functional role of the traveling waves still remains unclear. The results from in vitro cortical slices have achieved important insights in the intrinsic and synaptic properties of various neuronal types and different cortical areas. Slice preparations permit a complete control of the ionic composition of the bath solution and a good visualization of the electrodes within the tissue. It was emphasized (Chagnac-Amitai & Connors, 1989) that small regions of neocortex could sustain synchronous activity, but it was not proven until Sanchez-Vives & McCormick (2000) demonstrated that maintaining the ionic concentration of the ACSF bath solution for the slices in situ-like sustained slow oscillation can be observed. However, inevitably many dendrites are lopped when the slice is prepared and in vitro preparations lack a complete cortical network. Experiments in vivo assure a complete cortical network with all inputs and background activity. Usually they are focused on cellular responses to different sensory modalities and during alert preparations, thus requiring alert preparations, which does not show slow oscillation of the brain electrical activity. Thus, to get slow oscillations in vivo it is required to record either during sleep of the subject or using certain anesthetics like ketamine, urethane, fentanyl or halothane. The slow oscillation, recorded under slow wave sleep and under anesthesia, represents a spontaneous event during which cortical neurons are alternately silent and active for a fraction of a second. Because traveling waves generate spatiotemporal patterns during slow-wave activity, we were interested on the spatiotemporal structure of the spontaneous slow-wave in the rat’s somatosensorial neocortex under ketamine/xylazine anesthesia and on how and to what extent the activity spread through the neocortical network. Studies performed in the anesthetized rat implementing voltage-sensitive dye (VSD) imaging have shown that activity waves have a tendency to propagate along specific paths, even showing cross-modal activation (Takagaki et al. 2008). EEG studies in humans also revealed an origin and preferable direction of wave propagation that was consistent across subjects (Massimini et al. 2004; Riedner et al. 2007). On the other hand, VSD imaging performed in the barrel cortex of awake mice indicated that spontaneous waves varied their direction from one trial to the next (Ferezou et al. 2006). In order to shed light to this matter, we first need to investigate how slow oscillations, present during certain anesthetics, propagate along a small cortical area. Subsequently, we need to answer the question of how the extraand intracellular signals of these oscillations correlate with each other. With that purpose, we carried out extracellular recordings using a spatially defined array of seven extracellular electrodes in combination with one intracellular electrode and recorded from the somatosensory cortex of rats anesthetized with urethane and ketamine/xylazine. This kind of anesthesia has been established as a model for slow-wave sleep (Fontanini et al. 2003; Sharma et al. 2010) and leads to stable and regular low-frequency oscillations in the neocortex. In order to get correlated data and to cover a very small (microscopic) portion of cortical tissue, the intracellular electrode and the multi-electrode array were positioned close to each Objectives 20 other. Methods 19 3 Methods We used intraand extracellular data obtained by recordings in different cortical areas and preparations. A part of the data used for implementation and analysis of the developed method MAUDS were kindly provided by the Laboratory of Prof. M.V. Sanchez-Vives (slice preparations and the majority of the in vivo recordings in rat barrel cortex) at the Institute of Neuroscience of Alicante, University Miguel-HernándezCSIC, Spain. The methods followed to record this data are described briefly in the following section and were published in PLOS One (2007) which is attached in the appendix section of this thesis (Seamari et al., 2007). The experimental procedure followed by the author of the present thesis at Albrecht-Ludwigs-University of Freiburg, Germany, in order to obtain combined extra-intracellular recordings at the rat’s somatosensorial cortex is described below in detail and was carried out by the author of this thesis. The legends of all figures indicate the origin of data. The experimental setup, implementation and part of the results described in this thesis were published in Journal of Neurophysiology (2011), paper which is attached to this document (Fucke et al., 2011). 3.1 Detection and Identification of Up and Down states 3.1.1 Experimental methods For the detection and identification of Up/Down states, data from three different preparations were used: brain slices, cat visual cortex and rat barrel cortex. Animals were cared for and used in accordance with the Spanish regulatory laws (BOE 256; 25-10-1990) which comply with the EU guidelines on protection of vertebrates used for experimentation (Strasbourg 3/18/1986). Slices preparation The cortical slices were prepared from 2to 6-month-old ferrets of either sex that were deeply anesthetized with sodium pentobarbital (40 mg/kg) and decapitated. Four hundred-micrometer-thick coronal slices of the visual cortex were cut on a vibratome. After preparation, slices were placed in an interface-style recording chamber and bathed in ACSF containing (in mM): NaCl, 124; KCl, 2.5; MgSO4, 2; NaHPO4, 1.25; CaCl2, 2; NaHCO3, 26; and dextrose, 10, and was aerated with 95% O2, 5%CO2 to a final pH of 7.4. Bath temperature was maintained at 34–35ºC. Intracellular recordings were initiated after 2 hour of recovery. In order to induce spontaneous rhythmic activity, the solution was switched to ACSF containing (in mM): NaCl, 124; KCl, 3.5; MgSO4, 1; NaHPO4, 1.25; CaCl2, 1–1.2; NaHCO3, 26; and dextrose, 10 (Sanchez-Vives & McCormick, 2000). Intraand extracellular recordings were obtained from the slices as described below: Animal preparation for in vivo recording For the intracellular recordings in vivo from the primary visual cortex, adult cats were anesthetized with ketamine (12–15 mg/kg, i.m.) and xylazine (1 mg/kg, i.m.) and then mounted in a stereotaxic frame. Methods 26 3.1.3 Spatiotemporal structure of the slow-wave oscillation by simultaneous intraand extracellular recording in vivo using a horizontal multi-electrode-array The electrophysiological data we present here, were recorded using a combination of anesthetic and analgesic drugs combining the long-lasting urethane with ketamine-xylazine to maintain the level of anesthesia and analgesia and to induce slow oscillations. The animals were kept anesthetized during the preparation, surgery and in vivo electrophysiological recordings. Experimental methods All animal experiments were carried out with accordance to the Freiburg University’s and German national guidelines as well as with the Spanish regulatory laws (BOE 256; 25-10-1990) which comply with the EU guidelines on protection of vertebrates used for experimentation (Strasbourg 3/18/1986). The rats were housed in groups of three to four and maintained under standard laboratory conditions, i.e. 12 hour lightdark cycle; room temperature; ad libitum access to food pellets and tap water. Animal preparation for in vivo recordings The acute experiments were conducted on adult male Sprague-Dawley rats (400 – 600 g body weight). Animals were initially anesthetized with a 20% urethane solution (0.6 ml per 100g body weight, i.p.). Urethane is a long-acting (8-10h) anesthetic drug used for long procedures in rodents, which implies minimal cardiopulmonary depression and, therefore, no artificial respiration is required. However, it is carcinogenic and is only allowed to be used for acute (non-survival) procedures. Furthermore, in order to reach a balanced state of anesthesia and analgesia, supplemental doses of ketamine-xylazine hydrochloride (10% Ketamine®, 1% Rompun®) were used (20 mg per kg and 2 mg per kg body weight, respectively, i.p.) to maintain a surgical level of anesthesia during preparation and subsequent recordings. The depth of anesthesia was controlled constantly during surgery and recordings and confirmed by the absence of corneal reflex, vibrissal movements and responses to pain stimuli (no hind limb pinch withdrawal reflex). To further eliminate painful stimuli, all incised and pressure points were infiltered s.c. with lidocaine hydrochloride (Xylocaine®) before surgery initiation. After shaving the head and both anterior extremities and the left posterior extremity, the rat was placed on a water circulating heating pad and covered with a towel to reduce heat loss, such that along the whole experiment the body temperature was maintained within the range of 37ºC to 39ºC and monitored via a rectal thermometer. The animal was fixed in a common stereotaxic holder for rodents. For these surgeries, the rat’s head is fixed using a tooth bar, nose clamp and ear bar. The head are brought into stereotaxic plane by moving the tooth bar assembly and by centering the ear bars. With the aid of a homemade three-lead ECG which was connected to the shaved extremities the heart rate was controlled all over the experiment. Because under ketamine anesthesia the eyes of the animal remain open, these were saved for drying using a fatty ointment (Bepanthen®). In order to compensate the fluid loss and to avoid dehydration due to surgery and physiological need during the long term experiment, the rat was injected with saline 0.9% s.c. regularly (roughly 2 ml every 2 hours). All rats continued to breathe without artificial respiration, and their body were suspended by a clamp at the tail to minimize artefacts during the electrophysiological recordings due to respiration movements which are transmitted to the brain and, hence, to stabilize the recordings. In some cases, when the recordings showed persistent heartbeat or breathing artefacts, resulting in compromised intracellular Methods 27 recording stability, the cisterna magna was punctured in order to drain cerebrospinal fluid (CSF) in order to relieve intracranial pressure. To disinfect the surgical area, Betadine® was applied with a cotton pad on the shaved part of the head. For the visual control of all further fine procedures a surgical microscope (Zeiss OPMI I) was used. The skull of the rat was cut with a single incision beginning nostral close to the midline until the end of the head bone. Fat and muscular tissue was removed from the periosteum using blunt surgical tools. On the counterpart of the recording side, a hole was drilled carefully posterior to lambda above the cerebellar area. A clockmaker screw was fixed in this hole in order to serve as a fixation point for the acryl cement which is applied later on the head bone. For the extracellular recordings a small bone window (about 4x4 mm) was drilled carefully 2 – 3 mm posterior to Bregma, and about 5 mm lateral to midline over the left somatosensory cortex medial to the barrel field (Fig. 3.1A and B). Without removing the bone window, a funnel of dental acryl cement was built around it and filled with HEPES buffered ACSF (artificial cerebrospinal fluid to prevent pH shifts) or saline 0.9% to prevent desiccation of the brain tissue. For intracellular recordings a second narrow and longish opening was made as close as possible to the craniotomy site for extracellular recordings. A dental acryl cement funnel was built around this second craniotomy (Fig. 3.1A). After removing the bone, the Dura was resected with eye scissors over the recording areas and HEPES buffered ACSF was applied to keep the brain tissue moist. The micromanipulators with the electrode holders were fixed/mounted on the oscillation-free table in front of each other such that they formed a right angle. Multi-electrode-array for extracellular recordings For the multi-electrode array mainly seven glass-coated, single platinum–tungsten fiber microelectrodes were used (Thomas Recording GmbH, Giessen, Germany) with an impedance of app. 0.5 MΩ and ground tip. The outer shank diameter of each electrode fiber was 80 μm and 20 μm for the diameter of the metal core. Each electrode fiber was strengthened with a steel tube and were inserted into a grid composed of 3x3 cut syringe tubes of 400 μm diameter each (Fig. 3.1B and C). Three electrodes were positioned in the upper, one in the center and further three electrodes in the bottom row. The distance between two adjacent electrodes was 400 μm and the grid dimensions consisted of 1.2x1.2mm. Electrophysiological recordings Extracellular recordings The multi-electrode array (Fig. 3.1D, E, and F) was placed parallel onto the brain surface and special care was taken to arrange the tips of the electrodes within the same horizontal plane to ensure recording from the same cortical layer. After removing the Dura, the array was slowly lowered perpendicularly to the pial surface about 0.5 to 1mm into the brain tissue. To avoid recordings from subcortical structures, electrodes were never lowered more than 1.55 mm into the tissue. The movement of the multi-electrode array was stopped when clear spike signals on all electrode channels showed a good signal-to-noise ratio. The multielectrode-array was then maintained in the same position for the whole experiment. The exposed cortex (Fig. 3.1F) was covered with a low-melting-point paraffin wax to provide stabilization and to reduce brain Methods 28 pulsations or, in few cases, just maintained moisture with ACSF. The extracellular activity was recorded using a custom made split-box (Multi Channel Systems, Reutlingen, Germany) including a band-pass filter for local field potentials (<500 Hz for LFP) and spikes (500 Hz to 5 kHz). The spike activity and the local field potentials were amplified 8000 times and 5000 times, respectively and sampled at 25 kHz together with the intracellular data using a Multi Channel System (Multi Channel Systems, Reutlingen, Germany) data acquisition system. After digital filtering, spikes were detected on extracellular signal using a simple threshold criterion (MatLab®, Mathworks Inc., Natick, USA) described below. No attempt was made to achieve spike sorting as network activity could be estimated from the multi-unit activity. Intracellular recordings Intracellular recordings were performed with glass micropipettes pulled from borosilicate glass (Hilgenberg, Malsfeld, Germany) on a horizontal Flaming/Brown puller (P97; Sutter Instruments, Novato, USA). The pipettes were filled with a solution containing 1 M potassium acetate and 4% Neurobiotin® (Vector Laboratories, Burlingame, CA, USA) for histological cell identification. The electrode resistances ranged from 60 – 120 MΩ. The intracellular electrode was positioned medially in close vicinity (~1mm) to the extracellular multi-electrode assembly. For this, the two micromanipulators were placed in front of each other in a right angle and advanced 1.5 – 2.5 mm into the brain tissue. Recordings and injections of currents were made using a high-impedance bridge amplifier (SEC-05L, npi electronic, Germany) and lowpass filtered at 5 kHz. A reference electrode was fixed within the neck tissue. The ECG was pre-amplified and connected to the split-box. All signals were viewed on an oscilloscope and in the Spike2 software environment in order to control the stability of the recordings and the signal-to-noise ratio. A C D B Methods 29 Figure 3.1: Positioning of craniotomy and recording sites. A. Rat skull diagram where the red rectangle indicates the approximate position of the craniotomy site for intracellular recording and the blue one corresponds to the extracellular recording site. B. Schematic disposition of the intracellular electrode on the left side and the multi-electrode-array on the right above the somatosensory area of the left hemisphere. C. Recording electrodes layout. Layout of intraand extracellular electrodes for the experiments. D. Top-View of the 7-electrode array. A 3x3 grid, thus consisting of 9 electrodes in total, with 7 functional ones. Three in the top row, one in the center, and three in the bottom row. The inter-electrode distance for this array was ~400 µm, covering a total cortical area of 1.44 mm2. On the tips black colored remains of Neurobiotin® are visible. E. Photograph of the before mentioned electrode grid; left intracellular electrode holder, right multi-electrode-array-holder. F. Extracellular electrode tips of the multi-electrode-array over the craniotomy site. The cortex surface with blood-vessels is visible. During each recording session the spontaneous activity of the intracellular signal together with multi-unitactivity and local field potentials were recorded simultaneously. The conditions for starting a recording session and for data analysis were: multi-electrode-array is stable within the cortex and there is good spontaneous activity on all electrode channels, all intracellular recorded cells show a stable membrane potential (Vm) during more than 1 h and more negative than ≤-55mV; stable electrophysiological properties without the use of “retaining” i.e. hyperpolarizing current and the ability to generate repetitive APs in response to depolarizing current pulses, additionally input resistance >20MOhm was determined (offline:). For the bridge compensation within the cell asymmetric pulses of 0.1nA amplitude and 2ms duration were used. In order to record subthreshold activity hyperpolarizing current was injected into the intracellularly recorded neuron and the negative current was increased until the neuron stopped to spike. Further asymmetric hyperpolarizing and depolarizing current pulses of 0.2nA amplitude and 200ms duration were included in the protocol of a recording session. Histological preparation and reconstruction Depolarizing current pulses (1nA, 200ms, 1Hz) were passed through the electrode for 5 minutes after each recording session. At the end of experiments, animals were injected with a Ketamine/Xylazine overdose and some rats were perfused intracardially with 50 ml 0.9% saline followed by 400 ml of 4% PFA in 0.1M phosphate buffer (PBS, +4ºC, pH 7.4). After removal, the brains were postfixed in the same fixative overnight and then transferred to 0.1 M PBS for at least 24 hours. The brains were sliced with a vibrotome in 100 μm thick frontal sections. The brain sections were incubated in an avidin-biotin-peroxidase complex solution (ABC Elite Kit, Vector Labs) and processed for further standard intracellular peroxidase staining. After peroxidase staining and mounting on microscope slides, the neuron is reconstructed (Fig. 3.2). E F Methods 30 Figure 3.2: Reconstruction of a pyramidal cell filled with Neurobiotin and posterior DAB staining. The intracellularly recorded pyramidal neuron after finishing the recording session. It is the same neuron as the one of which a 16 s trace of membrane potential fluctuation is depicted in Fig. 4.7. The neuron localized in layer V was filled with Neurobiotin at the end of the recording using depolarizing current steps of 1nA during at least 5 minutes. After transcardial perfusion and removal of the brain, the tissue was histologically prepared with DAB staining and reconstructed using a standard light microscopy (LM) and Neurolucida System (MicroBrightField, Inc.). The neurons morphology is traced: the soma with typical pyramidal shape, basal axon and abundant apical dendrites are clearly distinguishable. Here only one plane of the several traced ones is depicted. Results 31 4 Results 4.1 Up and Down states identification using moving averages Up and Down states were identified in intracellular recordings obtained from the cerebral cortex of both in vitro and in vivo preparations from different areas of the cortex (visual, prefrontal and somatosensory). In the first part of the results we describe the properties of MAUDS analyzing the recordings with the MATLAB® scripts in an offline fashion. In the second part of the results we demonstrate how this method can also be used online, thus being useful to exploit the signals that it generates to trigger other events or to obtain immediate statistics of time distribution of Up versus Down states under different conditions. 4.1.1 Properties of MAUDS analyzing the Up and Down states The characteristic shape of neuronal membrane potential during slow oscillations shows two clearly differentiated states of membrane potential: a depolarized membrane (Up states) and a hyperpolarized one (Down states), with relatively fast transitions between them. As said before, in short recordings, Up and Down states are often identified by thresholding the membrane potential. However, this method frequently fails in long recordings due to membrane potential drifting, presence of spindles, and other types of interferences like electronic noise or movement artefacts while in vivo (heartbeat pulsation, respiratory movements, etc). Even when the aim of the experimentalists should be to eliminate all these artefacts, we will exploit them here in order to test the robustness of the described method against others commonly used. Two problems have to be solved for a good characterization of the states: (1) determining the periods where depolarized (Up state) or hyperpolarized (Down state) membrane potential take place, and (2) identifying the precise points in time where these states actually start and end. As explained in the methods section, MAUDS tackles these problems with an initial broad identification of the Down states by over-crossing two moving averages, and a later refinement of the initiation and termination points by a discrete processing of the membrane potential evolution in the transition interval. In general, we have observed that MAUDS performs well for any value of the long-term EMA in a wide range. On the other hand, the characterization is slightly more sensitive to the fast EMA. An optimum window size would smooth efficiently the high frequency changes of the membrane potential (isolated spikes and artefacts), being also quick enough to detect fast excursions of the signal to highly hyperpolarized regions. We studied periods of 900 seconds of intracellular fluctuations in recordings from neurons in the visual cortex of the anesthetized cat, from neurons in the somatosensorial cortex in the anesthetized rat, and from neurons recorded in oscillating ferret cortical slices obtained Results 32 from prefrontal or visual cortices from the ferret (n = 20). The traces in (Fig. 4.1A, and 4.1B) were recorded from two different animals and show the standard state transition behavior. These states are efficiently separated for a wide range of fast and slow EMAs. Under these recording conditions, the histograms show two different distributions of membrane potentials (Fig. 4.1C and D). Therefore, a simple thresholding is expected to reliably separate Up and Down states. (Overshadowing blue boxes show the precise limits of the Up states found by MAUDS, in this and the following figures.) Figure 4.1: Offline identification of standard Up and Down states. A. Intracellular recording in vivo from a neuron in cat primary visual cortex. Time marks in the horizontal axes of the traces indicate 1 second interval (relative labels not shown for clarity). A fast EMA is represented as a green line and a slow EMA in red line. The points of crossing between both of them have been used to calculate the beginning and end of Up states, highlighted with a blue box. Same in B. B. Intracellular recording in vitro from a supragranular neuron in a prefrontal cortex slice from the ferret. C. Histogram of the membrane potential values corresponding to the trace in A. It shows two clearly differentiated states separated by a transitional valley (see Gaussian fit in green superimposed to the histograms, with parameters -76.6 and -67.0 for the mean, 0.8 and 5.3 for the standard deviation). D. Histogram of the membrane potential values corresponding to the trace in B (fitting curves with parameters -64.6 and -57.0 for the mean, 0.5 and 7.6 for the standard deviation). Non-standard Up and Down states arise when the recording scenario departs from these ideal conditions. The periodicity and homogeneity of the standard Up and Down states disappears, yielding either irregular fluctuations (induced for example by noise or respiratory if in vivo), or high frequencies that blur the transitions (especially in the Down states initiation). While MAUDS can still deal with these situations (traces and superimposed EMAs in Fig. 4.2, A and B), the resulting histogram rapidly loses the bimodal shape (Fig. Results 33 4.2C and D), making it harder to decide where the right threshold should be located. Since the duration of Up and Down states presents a large variability, it is also difficult to filter false transitions according to this feature. The histograms performed over longer recording sessions simply showed a smoothed shape, but failed to better define the two-peaks picture. Another undesired artefact is signal drifting, caused by changes in the junction potential. In principle this effect can be prevented (chloriding silver electrodes, using an agar bridge, etc.) and compensated by commercial amplifiers, but it is usual to obtain long sequences of data where slow shifts (e.g. Fig, 4.2A) or fast excursions of the membrane potentials can be observed. These variations in the apparent membrane potential do not necessarily reflect any change in the current flowing through the membrane but an offset of the membrane potential value. Therefore, the bistable fluctuation of the membrane potential during rhythmic activity remains, allowing it to be studied in spite of the unstable wave it is resting on (Fig. 4.2). Results 34 Figure 4.2. Offline Up and Down states identification in drifted recordings. A. In vivo intracellular recording from a neuron in the primary visual cortex from the cat. A drift in the membrane potential is illustrated. B. Intracellular recording in vitro from a neuron in the prefrontal cortex of the ferret. The slow EMA follows the average membrane potential, providing a value of reference that discriminates the Up and Down levels. See the high frequencies detailed in the inset. Time marks in the horizontal axes of the traces indicate 1 second interval. C and D. Histograms corresponding the A and B traces respectively. Note that in the drifted recordings the bimodality of the Vm values is not as clear as in stable recordings like in Fig. 3.1. In addition to drifted recordings, the proposed method correctly separates Up and Down states where special events take place, such as the absence of spiking activity in a hyperpolarized membrane with subthreshold oscillations (Fig. 4.3, A and B traces), the presence of isolated synaptic potentials (or even spikes) along well-defined Down states (Fig. 4.3C shows a synaptic potential between the first and second Up states), frustrated Down state initiations that might generate misclassifications (Fig. 4.3D), or recordings during respiratory or other movement artifacts (Fig. 4.4A), where the underlying slow oscillation is still present (detailed in Fig. 4.4B). Figure 4.3. Offline detection of Up and Down states by MAUDS in special situations. A and B. Correctly Results 35 identifying Up states where no action potentials occur in highly hyperpolarized neurons recorded in vitro in prefrontal cortex from the ferret. Note that in B there is correct detection of Down states in spite of the repetitive occurrence of short lasting sharp events. C. Filtering isolated synaptic events occurring in the middle of a Down state. D. Sorting suspicious Down states intermingled into long-lasting Up states (third Up state). C and D correspond to intracellular recordings obtained in vivo from cat’s primary visual cortex. In all panels time marks in the horizontal axes of the traces indicate 1 second interval. The histograms of membrane potential show that some bimodal distribution remains (Fig. 4.4D) over stable intervals, but it vanishes when applied to a few seconds interval (Fig. 4.4C shows the histogram for the trace on Fig. 4.4A). Figure 4.4. Offline identification of Up and Down states in intracellular recordings with artifacts. A. Intracellular recording from primary visual cortex of the cat in vivo. There is a respiratory movement artifact that generates rhythmic drifts of the membrane potential. B. Detail of a portion of the membrane potential shown in A (second 15, 16, 17). Time marks in the horizontal axes of the traces indicate 1 second interval. C and D. The distributions of membrane potentials in panels A and B, respectively. In order to compare the performance of MAUDS with that of the histogram method, 5 recordings containing standard slow oscillation were selected (for an overall time of 145 s) and the corresponding transitions were obtained based on the histogram (best manual fitting) and with MAUDS, where a broad estimation of the oscillation frequency parameterized the Results 42 MUA LFP time (s) Results 43 Figure 4.7: Intracellular, extracellular and LFP raw data. Upper trace: 16 s of raw data of intracellular and extracellular data recorded from seven electrodes in somatosensory cortex from rat. Depicted as it comes out of a recording session, before any analysis is applied. The first row corresponds to the intracellular membrane potential fluctuations of a neuron situated in the left somatosensorial neocortex of the rat. The MUA recorded with each of the 7 extracellular electrodes situated in close vicinity to the intracellular electrode is shown below. The membrane potential shows regular state transitions fluctuating between hyperpolarized (Down state) and depolarized (Up state) Vm values with action potentials occurring during the Up state. The membrane potential fluctuations during the Up state show a higher variability than during the Down state. The Up and Down states of the intracellular data correlate on a coarse time scale with the silent and active states of the MUA. Middle trace: Same time window (16 s) as in the upper trace (MUA), raw data of intracellular recorded data and LFP recorded with the same electrode and lowpass filtered signals. Bottom trace: A. This trace shows the first 10 s of intracellular raw data. The Up and Down state transitions are visually easily detected, with the Up states characterized by the occurrence of action potentials, whereas during the Vm remains hyperpolarized, -62mV. B. and C. Extracellular multi-unit-activity (MUA). In C the signal-to-noise ratio is slightly better compared to C. The occurrence of an Up state in the intracellular recording approximately coincides with an increase in activity in the extracellular recordings. This usually tended to occur when the ketamine-xylazine anesthetic effect had almost worn off and the Up and Down states became indistinct. Once the rat was re-injected, normal state transitions re-appeared within 6-10 minutes. Figure 4.8: Mean membrane potential and STD. During Up and Down states, two parameters can vary, the Vm and its variability. For the above plot the mean Vm potential and the standard deviation (STD) for a 50 ms running window were calculated. The sharp peak with the rather low STDs is formed by the Down states, whereas the smaller, broader peak at higher STD values, represents the Up states. The outlined regions in the pseudocolor plot underneath mark the Up and Down State regions. (Adapted from Volgushev et al. 2006) For the detection of the two states, both of the above mentioned methods work well. In this present case, the latter method was implemented, excluding an analysis of the variability of the membrane potential. Thus, after the detection of the two peaks in the membrane potential distribution, the interval between them was divided into four equal segments. Starting from left to right, the line separating the first from the second segment was used as a threshold for the detection of the Down states, whereas the line separating the third from Results 44 the fourth segment was used as a threshold for the detection of the Up states. Figure 4.9: Up and Down Detection using histogram based method. A. Traces of 3.5 s of intracellular raw data with threshold levels used for the state detection. The upper blue dashed line is the threshold for the detection of Up states while the lower one is the threshold for the Down states detection. B. Plotting the Vm distribution allowed for the detection of two peaks. The distance between them was determined and 25% of this value added to the VM value of the Down peak, then subtracted from the Up peak. These values were then used as thresholds, as seen in the raw data segment in A. C. Expanded view of the segment marked with the bar in A showing how the distance between the state transitions and the first (STD_Up) or the last detected spike (STD_Down) were determined for the entire data segment. Fig. 4.9A shows a short time interval of intracellular raw data with the corresponding threshold levels for the detection of the state transitions. Occasionally, peaks would cross the upper threshold level and could be wrongly identified as Up states. To avoid this type of problem, we defined Up states as having a duration of at least 200 ms. An additional analysis done at this point was to determine two different parameters, the average delay and variability of (1) the first spike with respect to the onset of the Up state, and (2) the last spike with respect to the offset of the Up state. Once these delays were found, we also determined their standard deviation, as seen in Table 1. The results for eight intracellularly recorded neurons are shown. On average, the time interval for the Down transitions was slightly higher compared to the Up transition. Hence, we can conclude the onset of spiking in the Up state represents more faithfully the state transitions times compared to the offset of spiking. This result contradicts the findings reported by Volgushev et al. (2006). They found that the Down state transitions begin more synchronously compared to the Up states, due to the activation of inhibitory interneurons towards the end of the Up state. 4.2.2 Detection of extracellular spikes At this point, the transition times were obtained from the intracellular data, which defined where an Up or Down state was occurring. These times could now be used as triggers to detect spikes within the extracellular data. A 400 ms stretch of extracellular data was used to search for spikes (200 ms before and 200 ms after the intracellular transition). For the Results 45 extracellular spike detection, the raw data was first low-pass filtered at 1 kHz and subsequently rectified. We then determined the median of this rectified data, plotted the first two seconds worth of filtered raw data and superimposed four possible threshold levels. These threshold levels were set to “4· median”, “6· median, “8· median” and “10· median”. The median instead of the mean was taken because it gave a more robust estimate and was less sensitive to spikes. In order to make this analysis as automated as possible, we chose the threshold level by going through these plots one by one for each extracellular channel. Fig 4.10 shows two examples of such plots. Figure 4.10: Extracellular spike extraction. A. The black trace represents the raw data while the green trace corresponds to the low-pass filtered data. By plotting various threshold levels as multiples of the median, the most appropriate threshold for the analysis could be determined. The colored vertical lines located on top of the traces are the spikes detected using the corresponding median. For this particular trace, the green threshold, thus 6·median would have still worked satisfactory for the detection of most units. But as depicted in B., this threshold level detects very few spikes because of the “grassy” signal. While using 4·median, spike extraction results feasible, even in cases where, like in B, the signal to noise ratio is low and thus MUA is more difficult to distinguish. Results 46 In this study “4· median” was used as threshold for extracting extracellular spikes to detect as many units of the multi-unit activity as possible, without detecting any noisy fluctuations possibly found within the Down state phases of the extracellular data. A higher set threshold would have meant that only a few or even no spikes would have been detected in any raw data with a low signal to noise ratio. In this case the best fitting was the threshold level 4· median, which was allowed to detect spikes in cases where the signal to noise ratio was good and also when it was not as good. 4.2.3 Estimation of the neuronal firing rates Depending on the number of state transitions, either Up-to-Down or Down-to-Up, found within the intracellular recording, a corresponding number of spike trains were extracted from the extracellular recordings. These spike trains were then used to calculate single-trial rate estimates by applying the so-called kernel approach. This is a way to estimate the neuronal firing rates and involves the convolution of the spike trains using specific kernel functions. A detailed description of this method has been described in Nawrot et al. (1999). Each spike train extracted can be described by the following rate function: 𝜆(𝑡)≔∑𝐾(𝑡−𝑡𝑖) 𝑛 𝑖=𝑡 ; ti represents spike times K(t) is the kernel function used and in this case a symmetric, triangular kernel described by the following parameters was applied: 𝐾(𝑡,𝜎)=1 6𝜎(√6𝜎−|𝑡|) σ is the width of the kernel and can also be seen as the smoothing parameter because it specifies the temporal resolution of the resulting rate estimate. The success of the rate estimation method depends critically on this particular parameter (Nawrot et al., 1999). A specially written MATLAB® function was used to derive this optimal kernel width for each spike train individually. Then the median of these calculated widths was used as the kernel width of choice and the single-trial rate estimates could be determined using above mentioned equation. The Fig. 4.11A shows 15 individual superimposed spike trains and in the plot below the corresponding 15 single-trial rate profiles. Clearly, for these Down-to-Up transitions, the rates tend to almost uniformly increase after the transition occurs within the intracellular data, which in these plots occurs at 0 ms. Results 47 Figure 4.11: Single trial-rate estimation. A. An example of 15 superimposed spike trains. The time window is 400 ms, centered on the Down-to-Up transitions occurring within the intracellular data. In B. the individual convoluted trials are seen as indicated by the blue curves, whereas the thicker represents the mean of these trials. Nevertheless, it is important to point out that not every extracellular spike train showed an increase in activity during the Up state. Instead, sometimes within the 400 ms time window no spikes would occur at all, or the Up state would have no detectable spikes. These incidents were removed prior to any further analysis by performing a nonparametric test of the null hypothesis (Mann-Whitney U test) by comparing the inter-spike intervals of the 200 ms time interval before the state transition to the 200 ms time interval after the transition. Depending on whether we were interested in the Down-to-Up or Up-to-Down transitions, two of the four possible scenarios were removed. For the next step of the analysis, the convoluted trials were used to find the minimum and maximum of each curve and then half of this distance was calculated. Then we searched for this rate value starting from the maximum and moving leftward. The first value found was taken, even if further searching leads to additional values. The resulting answer was in units of milliseconds which was the time required by this particular extracellular spike train to reach a firing rate defined by the previously mentioned threshold level. A histogram was then plotted using these times placed in bins of 10 ms size. Figure 4.12 shows data of 480 s length in which a total of 565 transitions from Down-to-Up were detected, the spike trains convoluted and the threshold time determined. The peak of this histogram lies very close to zero and constitutes the intracellular state transition time, which means that this particular extracellular electrode crosses the threshold rate at the same time the state transition is crossed. Results 48 To get a better picture of what these histograms and rate functions look like for all extracellularly recorded channels the results were represented in one single plot and arranged each to correspond to its position within the 7-electrode array (Fig. 4.13). Each extracellular electrode records the activity from a multitude of neurons located either close to the electrode tip, indicated by spike waveforms with large deflections, or further away, as indicated by smaller waveform deflections. A sorting procedure via template matching for example would distinguish these waveforms and indicate approximately from how many neurons activity was recorded. No such spike sorting was performed for this analysis, so that each electrode records the activity from a population of cells, hence delivering the so-called multi-unit-activity (MUA) mentioned before. Figure 4.12: Threshold rate histogram. The threshold rates of 565 individually convoluted spike trains are depicted. The threshold was defined as the maximum minus the minimum of the spike rate estimation curve and then divided by two. The obtained times were placed in bins of 10ms size and represented in histograms as shown here. The red vertical line represents the state transition within the intracellular recording. Within each of the plots of Fig. 4.13, the peak of the histogram, representing the time at which the rate crossed a certain threshold value (max.-min./2), has the tendency to be situated close to 0 ms coinciding with the time of the intracellularly determined state transition. This means that the population of neurons recorded by each of the 7 electrodes, increase their activity simultaneously centered at the state transition, in this case the Downto-Up transition. In order to offer a better visual representation of this data, a pseudo-color plot was implemented. On the abscissa we plotted the transitions and on the ordinate, the electrode number or channel. Each electrode at each transition has a particular threshold crossing time, which is color-coded here with respect to the state transition within the intracellular electrode, as indicated by the color bar. The Fig. 4.14A shows the pseudo-color plot for a Down-to-Up transition. Looking at each electrode independently, a considerable variability in the responses is observed, ranging all the way from –200 ms to 200 ms, as indicated by Results 49 the different colors. Any transition left blank, or white, corresponded to trials removed via the Mann-Whitney U test. Comparing the threshold crossing times between electrodes, in this representation of the data, the variability is such that there is no unique pattern in the activity spreading across the electrodes. Figure 4.13: Spike train alignments to the Down-to-Up transitions. The single trial rate estimations for 565 Down-to-Up transitions are depicted in light gray curves. The threshold crossing of each of these rate estimations are represented by the histograms (bin size 10ms). The average of the 565 individual rate estimation profiles (mean) is depicted by the blue curve. These seven plots (Ch1-7 according to seven recording channels) correspond to the recordings of each of the seven extracellular microelectrodes as located in the 7-electrode array. The arrangement thus is equivalent to the position of the electrodes in this particular array. In all recording channels, the histogram peak is located around 0 ms, indicating that all electrodes tend to cross the threshold simultaneous to the state transition occurring in the intracellular recoding (red vertical line). Hence, the recorded MUA from a total of seven electrodes positioned within a cortical area of size 400x400 µm increases at the same time coinciding with the state transitions detected in the intracellular recorded neuron. For a further analysis of this data and determine if there is a pattern in the spreading activity, the average (mean) threshold crossing time and its corresponding standard deviation was calculated (Fig. 4.14B) observing that electrode 3, in this example, has the smallest average value, meaning that, in comparison to the other electrodes, its MUA increases the earliest. Based on the hypothesis that the discharge caused in this electrode is due to a propagating wave front, an approximation regarding its direction can be made: The propagating wave front has its origin at electrode 3, travels onward to electrodes 4 and 7, then passing electrode 2 and 1. Results 50 Figure 4.14: Down-to-Up state transition times of MUA. A. Pseudo-colored plot depicts the threshold crossing times of all seven electrodes in the array, where each color represents a specific time (ranging from -200 to 200ms) being 0 ms the state transition as determined by the intracellularly recorded neuron. All values are thus compared to this state transition. In this representation of data, within a single electrode, the threshold crossing times show a high variability not allowing to elucidate any pattern. Nevertheless, additional analysis depicted in B, where the mean threshold crossing times for each electrode and the standard deviation (StD) were determined, show that electrode 3 tends to cross threshold first followed by electrodes 4, and 7, passing to electrode 2 and then electrodes 1 and 6, being electrode 5 the last to cross state transition threshold. Finally, the activity reaches electrodes 6 and 5. This rather unusual direction of propagation can be pointed out by averaging not only the individual threshold crossing time values but also their corresponding color (Fig. 4.15). Figure 4.15: Spreading activity in the Down-to-Up transition. Wave propagation analysis for the Down-to-Up transitions. Each square represents the average color of the threshold crossing times and its location, the position of the electrodes in the array. Upon visual inspection, the direction of activity propagation starts in the lower electrode row and moves diagonally, ending in the upper right corner of the array as indicated by the arrow. Results 51 In this Fig. 4.15, each colored square represents the averaged threshold crossing time, and their arrangement shows the position of each of the 7 electrodes in the array. Both a specific origin as well as a direction of propagation can now be determined. Another way of better representing this threshold data was to, instead of plotting the pseudocolor plot, simply make a scatter plot of the threshold values. The result obtained for all 7 electrodes was the same as the observed in the pseudo-color plot (Fig. 4.16). The variability seen in Fig. 4.14 is observed here, too, but no additional information regarding the data can be extracted from this representation. Figure 4.16: Dot display of Down-to-Up state transition times of MUA. The dot display depicts the same information as the pseudo-colored plot except that the threshold crossing times are not in different colors but in simple dots showing the scatter with the variability in the transition times. In order to determine whether there is any correlation and dependence, meaning a statistical relationship between the activities recorded by the electrodes, a cross correlation was performed for all electrodes (Fig. 4.17). The scatter of the MUA recorded by each electrode (lower left diagonal in Fig. 4.17) was plotted against their corresponding sample correlation coefficients (Pearson coefficients, upper right diagonal in Fig. 4.17). Each square in the lower left diagonal thus corresponds to its mirror-image in the upper right, for example the correlation coefficient for electrode 1 cross-correlated with electrode 3 is equal to 0.27. The term correlation is defined as ”…the departure of two variables from independence.” If the variables, i.e. the threshold crossing times, are independent then the correlation coefficient Results 58 Figure 4.23: A Pseudo-colored plot of the shifted threshold crossing times. Each color represents a different time according to the color code indicated by the right color bar. As already seen in the histograms, electrodes 1, 2, 3 and 4 reach threshold in close proximity to the transition. In B. where the mean threshold crossing times for each electrode and the standard deviation (StD) were determined, more precise values can be determined. Here the first four electrodes reach threshold ~35 before the transition while the last three reach threshold on average 16 ms before the transition. In comparison to the values before the shifting, where threshold was reached at the same time the state transition occurred, this plot reveals that not all extracellular electrodes act synchronously. Some do increase their activity independently from the others, thus not in phase with the state transitions. The scatter plots of the threshold crossing times (Fig. 4.25) show that the alignment has decreased the amount of scatter that occurs in each electrode as seen by the almost straight line especially electrode 7. Figure 4.24: Wave propagation analysis. After the alignment, the wave propagation analysis shows that the general direction of the wave front did not change considerably compared to the result prior to the alignment. The average color (time when threshold of state transition was crossed) increased by ~10 units as a result of the aligned spike trains. Interesting in this Fig. 4.25 is that for some electrodes, in this case 5 and 6, they seem to pick up activity from two different populations of cells, ones that reach the threshold level about 50 ms before the state transition is detected in the intracellular recording and ones that reach threshold in unison with the transition. Finally, neither before nor after this shifting procedure, does the cross-correlation reveal any significant correlation between any of the pairs of electrodes, see Figure 3.24. The mean correlation coefficient in this case was 0.31 ± 0.19, which was slightly higher than before the shifting but this increase was trivial. As mentioned before, the pseudo-colored plots that depicted the threshold crossing times for each extracellular electrode for each state transition, were all plotted Results 59 relative to the intracellular recording, meaning relative to 0 ms. Figure 4.25: Scatter plot (left) showing the threshold crossing times after the alignment procedure and crosscorrelation (right). In the scatter plot after the alignment procedure the amount of scatter decreased compared to Fig. 4.15. Electrodes 5 and 6 seem to record activity from two different populations of cells, ones that reach threshold at ~50 ms before the state transition, the other reach threshold simultaneous to the state transition. In the crosscorrelogram the lower left depicts the scatter plots of each electrode pair and the upper right their corresponding correlation coefficient. Electrode pair with the highest correlation: electrode 2 and 3, r=0.74. Mean correlation coefficient is 0.31±0.19, slightly higher than before shifting, i.e. no significant correlation between any of the pairs of electrodes in this seven electrode array. Results 60 4.2.4 Up-to-Down transition In the previous section a detailed description was given of the step-by-step analysis of the data, by focusing on the Down-to-Up transitions. In this section, a less descriptive analysis will explain the results obtained for the Up-to-Down transitions, which involved an identical analysis. In comparison to the Down-to-Up transition, where the time between the transition and the first spike usually is no more than 190 ms, this distance is quite a lot longer in the case of the Up-to-Down transition. Here we measure values of 250 ms, which was due to the much greater variability in the number of spikes occurring towards the end of an Up state, especially due to the adaptation that is characteristic for this state. This is probably, why in Fig. 4.26A, we see a rather broad distribution of the histogram representing the threshold crossing times within the time interval prior to the state transition. Looking back on the Downto-Up transition plots of Fig. 4.11, where a distinct peak was centered around the transition, here, the peak is spread out over a larger time period with an abrupt decrease as it crosses the Upto-Down transition point. The pseudo-colored plot (Fig. 4.26B), where the threshold crossing times are represented by different colors, shows a very monotone color distribution mostly in the dark blue to light blue range. The mean plus/minus the standard deviation plot reveals this to be approximately –107 ± 60.16 ms., meaning that on average , all electrodes fall to the pre-defined threshold rate 107 ms prior to the actual observed Down-to-Up transition within the intracellular recording. But again, as observed previously, the standard deviation is quite large for each electrode, reconfirming the fact that the end of a Down state is not as clear cut as the beginning of an Up state. Fig. 4.26C shows the same data as a scatter plot. The crosscorrelation in Fig. 4.26D, shows no significant correlation between any pairs of electrodes. On average the correlation coefficient was at 0.24 ± 0.14. The shifting algorithm was then applied again in order to reduce the response latency variability. Thus, for each electrode we constructed a cumulative spike train using the individual spike train, we performed a rate estimation using an optimally determined kernel width. The half maximum from this curve was then found and the shift values were subtracted. The histogram in Fig. 4.27A shows the effect this shifting had on the threshold crossing times, such that the spread had been drastically reduced exposing a marked peak. This peak was not centered at 0 ms, i.e. the time of state transition, but rather in close proximity to the extracellular offset, which is the time at which half the maximum is reached. Though its position was still some distance away from the state transition time point, it was not as far as it was prior to the shifting. Again, Fig. 4.27B depicted that the first four electrodes tend to reach threshold earlier compared the last three electrodes. The same pattern was observed in the Down-to-Up transition analysis as well, meaning that electrodes 1, 2, 3 and 4 consistently reached the threshold rate tens of milliseconds prior to the Up state transition and also fell to the threshold rate tens of milliseconds prior to the Down state transition. On average these four electrodes reached threshold 45.8 ± 29.17 ms before the state transition, whereas the last three reach threshold 26.7 ± 22.3 ms before the state transition, thus much later. The alignment algorithm uncovered again the existence of two groups of electrodes, each group Results 61 recording multi-unit activity at two different time intervals before the actual occurrence of the Down state transition. The mean cross-correlation coefficients calculated from the values in Fig. 4.27D were at 0.48 ± 0.16, which is about twice as high as before the shifting, but still there is no significant correlation between any of the pairs of electrodes. In the Down-to-Up analysis we were able to observe a propagating wave front passing through the cortical tissue, starting out at a specific point of origin and moving in a specific direction. Will this also be seen for the Up-to-Down transitions? The answer is yes, but it is not as distinct, which is possibly due to the asynchronous nature of the Down state onset (Fig. 4.28). Results 62 Figure 4.28: Wave propagation analysis before – A and after - B alignment for Up-to-Down transitions. In both cases the direction of the wave front is difficult to decipher, possible caused by the asynchronous nature of the onset of the Down state. In B according to the color code the most likely direction is the one indicated by the arrow. Conclusions 63 Figure 4.26: Up-to-Down transition analysis. A As previously explained, each plot depicts the rate estimates for each state transition, here Up to Down drawn as gray curves. The histograms shows the threshold crossing times with respect to the intracellularly detected transition (red vertical line). The blue curve line is the mean of the convoluted single trial rate estimates. Comparing this to the Down to Up analysis before, the histogram in this case does not have a sharp peak, but a rather broad distribution spread all along the Up state time interval (-200-0 ms). The arrangement of the seven plots illustrates the position of the 7 electrodes in the extracellular array. B The pseudo-colored plot “color-codes” the threshold crossing times depicting the variability in the spike firing at the end of an Up state, the electrodes tend to decrease their firing rate 90-125 ms prior to the actual state transition 64 Figure 4.27: Up-to-Down transition analysis. A As previously explained, each plot depicts the cumulative rate estimation curve (blue line) and the threshold crossing times placed in bins of 10 ms size (histogram), for each electrode. The blue vertical line is positioned at half the maximum of the rate estimation curve. The rate decreases clearly as this transition is crossed. The peak of the histogram, as seen before in the Down-to-Up transition, has a tendency not to be located exactly at the intracellularly determined state transition time, but rather between 20-80 ms prior to this transition, indicating that the Up state ends before the intracellular state transition occurs. This same trend is observed in the pseudo-colored plot in B. Electrodes 1 through 4 (the bluish color) reach threshold 60-80 ms before the intracellular state transition, whereas electrodes 5,6 and 7 reach this threshold later, i.e. 40-60 ms before state transition. The mean threshold crossing time is depicted in the figure to the right. Again, the scatter plots in C depict the fine time structure of these threshold times, but no distinct pattern is observed. Lastly, the cross correlation analysis performed between all pairs of electrodes in D reveals a definite increase in the average correlation coefficient value of 0,48±0.17 compared to 0.24±0.14. Discussion 65 5 Discussion Slow waves are generated by the cortical network and they recruit the thalamo-cortical loop, engaging many brain areas during both slow wave sleep and anesthesia (Steriade et al., 1993d; McCormick et al., 2003; Sakata and Harris, 2009; Ruiz-Mejias et al., 2011; Stroh et al., 2013). Slow waves can be considered the default activity of the cortical network (Sanchez-Vives & Mattia, 2014) and by exploring in detail the generation and propagation properties of the slow oscillations, we can extract information about how the cortical network functions under control conditions or in models of disease. The process of extracting information from the physiology requires sophisticated analytical tools. This Thesis consisted in a large part in the development of such analytical tools: one to detect slow oscillations in intracellular recordings and the other one to analyze an array of multiple recordings and measure correlation and propagation properties of the activity. In order to test the methods I made use of data collected by collaborators and data obtained from my own in vivo experiments. 5.1 Robust offand online identification of intracellularly recorded Up and Down cortical states Identifying the transitions between Up and Down cortical states is sometimes difficult and has to rely on the subjective opinion of the researcher. For example, it is not clear when a short depolarization should be wide enough to be considered an Up state or when the absence of spikes is a necessary condition to determine the presence of a Down state. Understanding the cellular and network mechanisms that generate the two-state behavior generated by the cortical network demands a robust and reliable method for Up and Down states identification. Here we have demonstrated that the traditional histogram-based approach originally described by Metherate and Ashe (1993) and extensively used afterwards (e.g. Sanchez-Vives et al., 2000; Petersen et al., 2003; Anderson et al., 2000; Benucci et al, 2004; Crochet et al., 2004; Fuentealba & Steriade, 2005; Kasanetz et al., 2002; Lewis & O’Donnell, 2000; Mahon et al., 2003; Peters et al., 2004; Timofeev et al., 2001; Tseng et al., 2001) while being an efficient graphical tool for manual threshold determination under ideal conditions, lacks the adaptive computational properties to deal with fuzzy transitions, occurring during recordings that are not stable, or drifting, that develops quite often over long recordings. Trend-following techniques of financial trading applications combined with problemspecific knowledge yields a method that robustly separates Up and Down states, in both ideal and fuzzy situations. This thesis formalizes such a method and analyses its performance in different situations characteristic of ill-defined biphasic behavior: (1) irregular shape of Up and Down states –variations in amplitude, frequency– (Fig. 4.3) (2) imprecise Down state initiation, (3) signal drifting (caused by changes in the liquid junction potential at the Discussion 66 electrode tip), or (4) artifacts due to movements during in vivo recordings, such as respiratory movements or heartbeat (Fig. 2). The experiments carried out for Up and Down state identification show that histogrambased methods will perform well in ideal situations (as widely reported in the literature), but will fail if the signal differs from this harmonic, well-defined and non-trended behavior. On the other hand, MAUDS efficiently separates Up and Down states in ideal (closely fitting the best histogram-based characterization) as well as in irregular oscillation. The cases studied in this work are common in most intracellular recordings, and can be analyzed with an adaptive method of the sort of MAUDS. Well-defined Up and Down states have been widely studied in the past, but how this bistable behavior departs from ideal conditions has not been reported in the literature, perhaps because of the lack of objective methods to characterize irregular situations. Such a method will allow formal quantification of these excursions, and must be based on an extended definition of the Up and Down states that meets conflicting experimenters’ criteria. An algorithmic approach similar to the one presented here would definitely be a good starting point in this direction. In order to integrate the online and offline versions, the model has been defined and tested with EMAs that compute only previous values. This is at the cost of a delay in the turning points obtained, which affects the overall performance. An offline version based on EMAs that average past and future intervals of time for each value would improve the results shown here. In spite of this delay, the predictive character of the online version has been used experimentally to trigger stimuli and to manipulate cell membrane voltage at specific times along the oscillation. This is of great interest for experimentalists studying the responses to sensory stimulation during Up or Down states. Exponential weighting has proved to perform well, since it reacts faster, minimizing the lag between the predictive moving average and the actual data. The method is also expected to perform well in this type of interactive experiments, since the presence of sensory stimuli, current injection, or other manipulations interspersed with the oscillation will not interfere with the turning points. Only the presence of short Down states might be problematic, since the artifacts might cut them. The general approach exposed here would be easily fitted to the conditions of particular experimental settings. The method formalized in this paper has been coded as a Spike2 script, an assembly program, and also embedded in a MATLAB® toolbox. All these programs are available online as an open-source code. The MATLAB® implementation exploits fast matrix operations and the powerful graphical capabilities of this programming language, and can analyze electrophysiological raw data formatted as ASCII or MATLAB® binary files. The code has been optimized and computes more than a million membrane potential samples per second on a PIV 2.8GHz with 0.5GB memory (this computer processes a file containing 10 minutes of intracellular membrane potential sampled at 25 kHz in some 13 seconds). On the other hand, the Spike 2 implementations are designed for online data processing, allowing real- Discussion 67 time characterization and visualization (script version), and triggering of stimuli (sequencer version). Further work has to be done in order to improve two different aspects of MAUDS: (1) the adaptive capabilities of the proposed method, by automatically setting the window size of the fast EMA, that can be done based on local membrane potential variability, or exploring ranges of values where the identification remains stable; and (2) a complete validation of MAUDS over an extensive set of intracellular data recorded in different cortical areas. While a good general performance is expected, even with minor changes in the parameter set, the forum set up in the MAUDS website is expected to feedback about this question, as more experimenters report on the application of MAUDS to recorded datasets. Discussion 74 smooth. The result is that there will be not so much tissue damage during electrode penetration. Due to their smooth shape and their small dimensions, the used microelectrodes cause only minimal tissue damage. In fact, tissue damage is so small that electrode tracks could not be verified with standard histological techniques. With this 7-electrode array, due to the alignment of the tips, it was only possible to position it in one specific layer of the somatosensory cortex, thus parallel to the layering of the cortex. Discussion 75 6 Conclusions 1. In the somatosensory cortex of anesthetized rats and the visual cortex of anesthetized cats the emergent slow oscillations were analyzed by means of intracellular and/or multiple extracellular recordings. 2. A new algorithm for detection of slow waves, MAUDS (Moving Averages for Up and Down Separation), a simple but robust method to detect cortical waves is described. MAUDS can be applied in real time during the recording and also for offline processing of large amounts of recorded data on conventional computers. 3. We tested and demonstrated that MAUDS efficiently separates Up and Down states in ideal as well as in irregular oscillations for further analysis of cortical dynamics. 4. The stereotypical behavior of spontaneous transitions between the detected Up and Down states in the somatosensory cortex of anesthetized rats is examined. 5. Waves of cortical activity under ketamine/xylazine anesthesia show considerable variability with respect to their spatio-temporal pattern. 6. However, the results indicate that activity propagation in most animals showed a preferred direction travelling in wave fronts across the cortex. 7. This suggests, that during slow wave sleep, activity waves may travel in a stereotypic manner over the cortical tissues thereby sequentially activating neighboring cortical columns. References 76 7 References Abeles M, Bergman H, Margalit E, Vaadia E (1993) Spatiotemporal firing patterns in the frontal cortex of behaving monkeys. J Neurophysiol 70:1629–1638. Achermann P, Borbely AA (1997) Low-frequency (< 1 Hz) oscillations in the human sleep electroencephalogram. Neuroscience 81: 213-222. Amzica F, Steriade M (1995) Shortand long-range neuronal synchronization of the slow (< 1 Hz) cortical oscillation. J Neurophysiol 73: 20-38. Amzica F, Steriade M (1997) The K-complex: its slow (<1-Hz) rhythmicity and relation to delta waves. Neurology 49: 952-959. Anderson J, Lampl I, Reichova I, Carandini M, Ferster D (2000) Stimulus dependence of two-state fluctuations of membrane potential in cat visual cortex. Nat Neurosci 3: 617-621. Arieli A, Sterkin A, Grinvald A, Aertsen A (1996) Dynamics of ongoing activity: Explanation of the large variability in evoked cortical responses. Science 273 (5283): 18681871. Ascoli GA, Alonso-Nanclares L, Anderson SA, Barrionuevo G, BenavidesPiccione R, Burkhalter A, …& Yuste R (2008) Petilla terminology: nomenclature of features of GABAergic interneurons of the cerebral cortex. Nat Rev Neurosci 9:557–68. Azouz R, Gray CM (1999) Cellular mechanisms contributing to response variability of cortical neurons in vivo. J Neurosci 19: 2209-2223. Bal T, von Krosigk M, McCormick DA (1995) Synaptic and membrane mechanisms underlying synchronized oscillations in the ferret lateral geniculate nucleus in vitro. J Physiol 483:641-663 Barth DS, MacDonald KD (1996) Thalamic modulation of high-frequency oscillating potentials in auditory cortex. Nature 383:78-81. Bazhenov M, Timofeev I, Steriade M, Sejnowski TJ (2002) Model of thalamocortical slow-wave sleep oscillations and transitions to activated states. J Neurosci 22: 8691–8704. Braak H, Braak E (1984) Neuronal types in the neocortex-dependent lateral territory of the human thalamus. A Golgi-pigment study. Anat Embryol (Berl) 169(1):61-72. Blethyn KL, Hughes SW, Tóth TI, Cope DW, Crunelli V (2006) Neuronal basis of the slow (1 Hz) oscillation in neurons of the nucleus reticularis thalami in vitro. J Neurosci 26: 2474–2486. Benucci A, Verschure PF, Konig P (2004) Two-state membrane potential fluctuations driven by weak pairwise correlations. Neural Comput 16: 2351-2378. Berger H (1929) On the electroencephalogramm of man. Archiv.Psychiatrische Nervenkrankheiten 87:527-520. Berlin R (1858) Beiträge zur Struktur der Grosshirnwindungen. Erlangen. Brodmann K (1908) Beiträge zur histologischen Lokalisation der Grosshirnrinde, die Cortexgliederung des Menschen. J Pychol Neurol 231 Brodmann K (1912) Neue Ergebnisse über die vergleichende histologische References 77 Lokalisation der Grosshirnrinde mit besonderer Berücksichtigung des Stirnhirns. Anat Anz Suppl 41:157-216. Brodmann K (1914) Physiologie des Gehirns. In Neue Deutsche Chirurgie. Vol IX, ed. P.v. Brun, 85-462. Stuttgart. Buzsáki G, Draguhn A (2004) Neuronal oscillations in cortical networks. Science 304: 1926-1929 Chagnac-Amitai Y, Connors BW (1989) Horizontal spread of synchronized activity in neocortex and its control by GABA-mediated inhibition. J Neurophysiol 61: 747758 Chauvette S, Volgushev M, Timofeev I (2010) Origin of active states in local neocortical networks during slow sleep oscillation. Cereb Cortex 20: 2660– 2674, 2010. Compte A, Sanchez-Vives MV, McCormick DA, Wang XJ (2003) Cellular and network mechanisms of slow oscillatory activity (<1Hz) and wave propagations in a cortical network model. J Neurophysiol 89:2707-2725. Contreras D, Steriade M. (1997) State-dependent fluctuations of low-frequency rhythms in corticothalamic networks. Neuroscience 76:25-38. Contreras D, Steriade M. (1995) Cellular basis of EEG slow rhythms: a study of dynamic corticothalamic relationships. J Neurosci 15: 604–622. Cowan RL, Wilson CJ (1994) Spontaneous firing patterns and axonal projections of single corticostriatal neurons in the rat medial agranular cortex. J Neurophysiol 71: 17-32. Crochet S, Chauvette S, Boucetta S, Timofeev I (2005) Modulation of synaptic transmission in neocortex by network activities. Eur J Neurosci 21: 1030-1044. Crochet S, Fuentealba P, Timofeev I, Steriade M (2004) Selective amplification of neocortical neuronal output by fast prepotentials in vivo. Cereb Cortex 14: 1110-1121. Curro-Dossi R, Nuñez A, Steriade M (1992) Electrophysiology of a slow (0.54Hz) intrinsic oscillation of cat thalamocortical neurons in vivo. J Physiol 447:215-34. Danneman, P.J. (1995) Preoperative, Intra-operative, and Post-operative Care of Rabbits and Rats with Emphasis on Anesthesia and Analgesia. Oral Presentation and Proceedings of the 1995 Michigan Veterinary Conference, pp 107-114 Diesmann M, Gewaltig MO, and Aertsen A (1999) Conditions for Stable Propagation of Synchronous Spiking in Cortical Neural Networks. Nature 402:529-533. Ellinger AG (1971) The art of investment. London: Bowes and Bowes. Ferezou I, Bolea S, Petersen CC. (2006) Visualizing the cortical representation of whisker touch: voltage-sensitive dye imaging in freely moving mice. Neuron 50: 617–629. Fontanini A, Spano PF, Bower JM (2003) Ketamine-xylazine-induced slow (~1.5 Hz) oscillations in the rat piriform (olfactory) cortex are functionally correlated with respiration. J Neurosci 23: 7993–8001. Fucke T, Suchanek D, Nawrot MP, Seamari Y, Heck DH, Aertsen A, Boucsein C (2011) Stereotypical spatiotemporal activity patterns during slow-wave activity in the neocortex, J Neurophysiol 106: 3035-3044. Fuentealba P, Steriade M (2005) Thalamic oscillations modulate membrane properties of cat thalamic reticular neurons. Thal Rel Syst 3: 53-62. References 78 Gennari F (1782) De peculiari structura cerebri nonnulisque eius morbis. Parma. Golgi C (1873) Sulla struttura della sostanza grigia del cervello. Gazz Med Lombarda 33:244-246. Golgi C (1883) Recherches sur l’histologie des centres nerveux. Arch Italiennes de Biol 3:285-317. Haider B, Duque A, Hasenstaub AR, McCormick DA (2006) Neocortical network activity in vivo is generated through a dynamic balance of excitation and inhibition. J Neurosci 26: 4535-4545. Hara K, Harris RA (2002) The anesthetic mechanism of urethane: the effects on neurotransmitter-gated ion channels. Anesth Analg 94: 313-8 Holcman D, Tsodyks M (2006) The emergence of up and down states in cortical networks. PLoS Comput Biol 2: e23. Hubel DH, Wiesel TN (1959) Receptive fields of single neurons in the cats striate cortex. J Physiol 148(3):574-591. Kandel ER, Schwartz JH, Jessell TM (2000) Principles of Neural Science 4th ed. McGraw-Hill, New York. ISBN 0-8385-7701-6 Kasanetz F, Riquelme LA, Murer MG (2002) Disruption of the two-state membrane potential of striatal neurones during cortical desynchronisation in anesthetised rats. J Physiol 543: 577-589. Kisvarday ZF, Martin KAC, Freund TF, Magloczky ZS, Whitteridge D and Somogyi P (1986) Synaptic targets of HRP-filled layer III pyramid cells in the striate cortex. Exp Brain Res 44:541-552. König P, Engel AK, Singer W (1996) Integrator or coincidence detector? The role of the cortical neuron revisited. Trends in Neurosciences 19:130–137. Krosigk von M., Bal T., McCormick DA (1993) Cellular mechanisms of a synchronized oscillation in the thalamus. Science 261 (5119): 361-364. Lampl I, Reichova I, Ferster D (1999) Synchronous membrane potential fluctuations in neurons of the cat visual cortex. Neuron 22: 361-374. Larkman AU (1991) Dendritic morphology of pyramidal neurones of the visual cortex of the rat: III. Spine distributions. J Comparative Neurology, 306 (2): 332-343. Leresche N, Lightowler S, Soltesz I, Jassik-Gerschenfeld D, Crunelli V (1991) J Physiol 441:155-174. Lewis BL, O'Donnell P (2000) Ventral tegmental area afferents to the prefrontal cortex maintain membrane potential 'up' states in pyramidal neurons via D(1) dopamine receptors. Cereb Cortex 10: 1168-1175. MacDonald JF, Bartlett MC, Mody I, Pahapill P, Reynolds JN, Salter MW, Schneiderman JH, Pennefather PS. (1991) Actions of Ketamine, phencyclidine and MK801 on NMDA receptor currents in cultured mouse hippocampal neurones. J Physiol (London) 432:483-508. Mahon S, Deniau JM, Charpier S (2003) Various synaptic activities and firing patterns in cortico-striatal and striatal neurons in vivo. J Physiol Paris 97: 557-566. Mahon S, Deniau JM, Charpier S (2001) Relationship between EEG potentials and intracellular activity of striatal and cortico-striatal neurons: An in vivo study under References 79 different anesthetics. Cereb Cortex 11: 360-373. Martin KAC & Whitteridge D (1984) Form, function and intracortical projections of spiny neurones in the striate visual cotex of the cat. J Physiol 353:463-504. Marshall L, Helgadóttir H, Mölle M, & Born J (2006) Boosting slow oscillations during sleep potentiates memory. Nature 444: 610-613 Massimini M, Huber R, Ferrarelli F, Hill S, Tononi G (2004) The sleep slow oscillation as a traveling wave. J Neurosci 24: 6862-6870. Massimini M, Amzica F. (2001) Extracellular calcium fluctuations and intracellular potentials in the cortex during the slow sleep oscillation. J Neurophysiol 85: 1346 –1350. Mattia M. & Sanchez-Vives MV (2012) Exploring the spectrum of dynamical regimes and timescales in spontaneous cortical activity. Cogn Neurodyn 6(3): 239-250. MacDonald JF, Bartlett MC, Mody I, Pahapill P, Reynolds JN, Salter MW, Schneiderman JH, Pennefather PS. (1991) Actions of ketamine, phencyclidine and MK801 on NMDA receptor currents in cultured mouse hippocampal neurones. J Physiol 432: 483–508. McCormick DA, Pape HC (1990) Properties of a hyperpolarization-activated cation current and its role in rhythmic oscillation in thalamic relay neurones. J Physiol 431:291-318. McCormick DA, Shu Y, Hasenstaub A, Sanchez-Vives M, Badoual M, Bal T (2003) Persistent cortical activity: mechanisms of generation and effects on neuronal excitability. Cereb Cortex 13: 1219-1231. Metherate R, Ashe JH (1993) Ionic flux contributions to neocortical slow waves and nucleus basalis mediated activation - whole-cell recordings in-vivo. J Neurosci 13: 53125323. Mukovski M, Chauvette S, Timofeev I, Volgushev M (2007) Detection of active and silent states in neocortical neurons from the field potential signal during slow-wave sleep. Cereb Cortex 17: 400-414. Nawrot MP, Aertsen A, Rotter S. (2003) Elimination of response latency variability in neuronal spike trains. Biol Cybern 88:321-334. Nicholls J, Martin AR, Fuchs PA, Brown DA, Diamond M, Weisblat DA (2001) From Neuron to Brain. ISBN: 978-0-87893-609-0 Nicoll RA, Malenka RC, Kauer JA (1990) Functional comparison of neurotransmitter receptor subtypes in mammalian central nervous system. Phys Rev 70: 513565. Nowak LG, Bullier J (1997) in Cerebral Cortex: Extrastriate Cortex in Primates Vol.12 (eds. Rockland K, Kaas JH, Peters A) 205-241 (Plenum, New York). Nowak LG., Azouz R, Sanchez-Vives MV, Gray CM, McCormick DA (2003) Electrophysiological classes of cat primary visual cortical neurons in vivo as revealed by quantitative analyses. J Neurophysiol 89:1541–1566, 10.1152/jn.00580.2002 Peters Y, Barnhardt NE, O'Donnell P (2004) Prefrontal cortical up states are synchronized with ventral tegmental area activity. Synapse 52: 143-152. Petersen C, Hahn T, Mehta M, Grinvald A, Sakmann B (2003) Interaction of sensory responses with spontaneous depolarization in layer 2/3 barrel cortex. Proc Natl Acad References 80 Sci U S A 100: 13638-13643. Ramón y Cajal S (1899) Estudio sobre la corteza cerebral humana. Rev Trimest Microscopia 4:1-63. Rechtschaffen A, Kales A (1968) A manual of standardized terminology, techniques and scoring system for sleep stages of human subjects. Washington, DC: National Institutes of Health. Reig R, Zerlaut Y, Vergara R, Destexhe A, Sanchez-Vives MV (2015). Gain modulation of synaptic inputs by network state in auditory cortex in vivo. J Neurosc 35: 2689-2702. Reig R & Sanchez-Vives, MV (2007) Synaptic transmission and plasticity in an active cortical network. PLoS One 2:e670-e670. Riedner BA, Vyazovskiy VV, Huber R, Massimini M, Esser S, Murphy M, Tononi G (2007) Sleep homeostasis and cortical synchronization: III. A high-density EEG study of sleep slow waves in humans. Sleep 30:1643-1657. Rubino D, Robbins KA, Hatsopoulos NG (2006) Propagating waves mediate information transfer in the motor cortex. Nat Neurosci 9:1549-1557. Ruiz-Mejias M, Ciria-Suarez L, Mattia M, Sanchez-Vives M. V (2011) Slow and fast rhythms generated in the cerebral cortex of the anesthetized mouse. J Neurophysiol 106: 2910-2921 Sachdev RN, Ebner FF, Wilson CJ (2004) Effect of subthreshold up and down states on the whisker-evoked response in somatosensory cortex. J Neurophysiol 92: 35113521. Sakata S, Harris KD (2009) Laminar structure of spontaneous and sensory-evoked population activity in auditory cortex. Neuron 64:404-418. Sanchez-Vives MV, McCormick DA (2000) Cellular and network mechanisms of rhythmic recurrent activity in neocortex. Nat Neurosci 3: 1027-1034. Scheibel ME, Scheibel AB (1958) Structural substrates for integrative patterns in the brain stm reticular core. Little Brown, Boston 33-55. Seamari Y, Narvaez JA, Vico FJ, Lobo D, Sanchez-Vives MV (2007) Robust offand online separation of intracellularly recorded Up and Down cortical states. PLoS ONE 2(9): e888 Sharma AV, Wolansky T, Dickson CT (2010) A comparison of sleeplike slow oscillations in the hippocampus under ketamine and urethane anesthesia. J Neurophysiol 104: 932–939. Shu Y, Hasenstaub A, Badoual M, Bal T, McCormick DA. (2003) Barrages of synaptic activity control the gain and sensitivity of cortical neurons. (J Neurosci) 23:10388– 10401. Simon NR, Manshanden I, Lopes da Silva FH (2000) A MEG study of sleep. Brain Res 860: 64-76. Soemmering ST (1788). Vom Hirn und Rückenmark. Mainz. Steriade M (1996) Awakening the brain. Nature 383:24-25. Steriade M (1997) Slow sleep oscillation, rhythmic K-complexes, and their paroxysmal developments. J Sleep Res 7:30-35. References 81 Steriade M, Dossi RC, Nunez A (1991) Network modulation of a slow intrinsic oscillation of cat thalamocortical neurons implicated in sleep delta waves: Cortically induced synchronization and brainstem cholinergic suppression. J Neurosci 11: 3200-3217. Steriade M, Amzica F, Contreras D (1996) Synchronization of fast (30-40 Hz) spontaneous cortical rhythms during brain activation. J Neurosci 16: 392-417. Steriade M, McCormick DA, Sejnowski TJ (1993) Thalamocortical oscillations in the sleeping and aroused brain. Science 262:679-685. Steriade M, Nunez A, Amzica F (1993a) A novel slow (< 1 Hz) oscillation of neocortical neurons in vivo: depolarizing and hyperpolarizing components. J Neurosci 13: 3252-3265. Steriade M, Nunez A, Amzica F (1993b) Intracellular analysis of relations between the slow (< 1 Hz) neocortical oscillation and other sleep rhythms of the electroencephalogram. J Neurosci 13: 3266-3283. Steriade M (2000) Corticothalamic resonance, states of vigilance and mentation. Neurosci 101(2): 243-276. Steriade M, Timofeev I, Grenier F (2001) Natural waking and sleep states: a view from inside neorcortical neurons. J Neurophysiol 85:1969-1985. Stern EA, Kincaid AE, Wilson CJ (1997) Spontaneous subthreshold membrane potential fluctuations and action potential variability of rat corticostriatal and striatal neurons in vivo. J Neurophysiol 77: 1697-1715. Stickgold R, Walker MP (2005) Memory consolidation and reconsolidation: what is the role of sleep? Trends Neurosc 28:408-415 Stroh A, Adelsberger H, Groh A, Rühlmann C, Fischer S, Schierloh A, ... & Konnerth A (2013) Making waves: initiation and propagation of corticothalamic Ca 2+ waves in vivo. Neuron 77: 1136-1150. Takagaki K, Zhang C, Wu JY, Lippert MT (2008) Crossmodal propagation of sensory-evoked and spontaneous activity in the rat neocortex. Neurosci Lett 431: 191–196. Timofeev I, Contreras D, Steriade M (1996) Synaptic responsiveness of cortical and thalamic neurones during various phases of slow sleep oscillation in cat. Journal of Physiology-London 494: 265-278. Timofeev I, Grenier F, Bazhenov M, Sejnowski TJ, Steriade M (2000) Origin of slow cortical oscillations in deafferented cortical slabs. Cereb Cortex 10: 1185-1199. Timofeev I, Grenier F, Steriade M (2001) Disfacilitation and active inhibition in the neocortex during the natural sleep-wake cycle: an intracellular study. Proc Natl Acad Sci U S A 98: 1924-1929. Tseng KY, Kasanetz F, Kargieman L, Riquelme LA, Murer MG (2001) Cortical slow oscillatory activity is reflected in the membrane potential and spike trains of striatal neurons in rats with chronic nigrostriatal lesions. J Neurosci 21: 6430-6439. Tsodyks M, Kenet T, Grinvald A, Arieli A (1999) Linking spontaneous activity of single cortical neurons and the underlying functional architecture. Science 286 (5446): 19431946. Vicq d’Azyr F (1786) Traité d’anatomie et de physiologie. Paris. References 82 Villablanca J (1974) Role of the thalamus in sep control: Sleep-wakefullness studies in chronic diencephalic and athalamic cats. In Petre-Quadens O, Schlag JD, eds. Basic sleep mechanisms. New York: Academic Press, p. 51-78 Volgushev M, Chauvette S, Mukovski M, Timofeev I (2006) Precise long-range synchronization of activity and silence in neocortical neurons during slow-wave oscillations [corrected]. J Neurosci 26: 5665-5672. Waters J, Helmchen F (2006) Background synaptic activity is sparse in neocortex. J Neurosci 26: 8267–8277, 2006. Wilson C, Kawaguchi Y (1996) The origins of two-state spontaneous membrane potential fluctuations of neostriatal spiny neurons. J Neurosci 16: 2397-2410. Xu W, Huang X, Takagaki K, Wu JY (2007) Compression and reflection of visually evoked cortical waves. Neuron 55: 119–129. Appendix 83 8 Appendix 8.1 Protocol for in vivo experiments - Switch on the heating pad, prepare surgery place and tools which were all previously sterilized. - Prepare fresh Urethane 20% (2 mg Urethane in 8ml NaCl 0.9%). Urethane is highly carcinogenic, therefore handle with care and wear the impermeable nitrile gloves. - Pick up the rat from the animal facilities. - Weight the rat in order to determine the injection amount of Urethane. - Inject the rat with Urethane 20% i.p (0.5 ml/100 g body weight) helping yourself with the slipper to fix the rat, cover the rat cage, dim the lights, wait at least ½ hour till the rat is anesthetized. - During that standby time: preparation of Ketamine/Xylazine mixture, Lidocaine, potassium acetate 1M, filter it. Get prepared the razor. - Check status of anesthesia: Rat is moving when trying to touch it? Whiskering? Blinking? Rat’s hindlimb withdrawal reflex is still present? - If yes: Reinject with 10% initial Urethane dose and wait circa further 15 minutes, check again the status. - If no: Reinject with 0.1 ml Ket/Xyl. - Shave the head fur for the surgery. Shave also the left hindlimb and both forelimbs to assure contact between ECG electrodes and rat skin. Place the rat on the heating pad to avoid hypothermia. - Place the earbars correctly and fix the rat into the stereotaxic apparatus. Check if you got the right position: when you insert the earbar into the ear, you may be able to observe a blink reflex of the eye of the same side. You may also hear cracking the Membrana tympani. The head should be in a straight position and the ears should form a line. You must be able to move the head of the rat in the vertical direction, but when you stop moving the head should stay in the same position. There should be no movement in the horizontal direction at all. - Get stuck the incisors of the rat into the incisors bar of the stereotaxic device and fixate the nose holder attaching closely, but take care not to injure the rat. - Lubricate the thermometer with a fatty ointment (Vaseline ) and insert it carefully into the rectum. Note down the temperature which should be around 37ºC without exceeding 39ºC. - Connect the ECG electrodes to the limbs and view it on the screen (there will be noise until you place the reference electrode in the neck). - Cover the rat with a towel in order to prevent hypothermia. - Apply eye ointment to protect the cornea (Bepanthen ) against drying and apply Betadine on the shaved area of the head with a generously soaked pad. - Inject Lidocaine s.c. where you will make the incision of the skin. Disperse it evenly juddering the skin softly with your finger. - Place the scalpel onto the skull, frontal, close to the beginning of the midline and applying a certain pressure separate the skin with a single incision until the end of head bone. - Lay open the bone by separating the skull with the hooks. Clean away fatty tissue and musculature. Scratch off carefully the periosteum using the most appropriate tool for it (with the aid of the binocular Zeiss OPMI 1). Clean the bone every once a while with a cotton swab, saline soaked if needed. Appendix 90 PLoS ONE | www.plosone.org 1Septembe r 2007 | Issue 9 | e888  Robust Offand Online Separation of Intracellularly Recorded Up and Down Cortical States  Yamina Seamari 1 , Jose´ A. Narva´ ez 1 , Francisco J. Vico 2 *, Daniel Lobo 2 , Maria V. Sanchez-Vives 3  1 Departamento Fisiolog´ıa General, Facultad de Medicina, Universidad de Ma´laga, Ma´laga, Spain, 2 Departamento Lenguajes y Ciencias de la Computacio´ n, Escuela Te´ cnica Superior de Ingenier´ıa Informa´tica, Universidad de Ma´laga, Ma´laga, Spain, 3 Instituto de Neurociencias de Alicante, Universidad Miguel Herna´ndez-Consejo Superior de Investigaciones Cient´ıficas, Alicante, San Juan de Alicante, Spain   Background. The neuronal cortical network generates slow ( , 1 Hz) spontaneous rhythmic activity that emerges from the recurrent connectivity. This activity occurs during slow wave sleep or anesthesia and also in cortical slices, consisting of alternating up (active, depolarized) and down (silent, hyperpolarized) states. The search for the underlying mechanisms and the possibility of analyzing network dynamics in vitro has been subject of numerous studies. This exposes the need for a detailed quantitative analysis of the membrane fluctuating behavior and computerized tools to automatically characterize the occurrence of up and down states. Methodology/Principal Findings. Intracellular recordings from different areas of the cerebral cortex were obtained from both in vitro and in vivo preparations during slow oscillations. A method that separates up and down states recorded intracellularly is defined and analyzed here. The method exploits the crossover of moving averages, such that transitions between up and down membrane regimes can be anticipated based on recent and past voltage dynamics. We demonstrate experimentally the utility and performance of this method both offline and online, the online use allowing to trigger stimulation or other events in the desired period of the rhythm. This technique is compared with a histogram-based approach that separates the states by establishing one or two discriminating membrane potential levels. The robustness of the method presented here is tested on data that departs from highly regular alternating up and down states. Conclusions/ Significance. We define a simple method to detect cortical states that can be applied in real time for offline processing of large amounts of recorded data on conventional computers. Also, the online detection of up and down states will facilitate the study of cortical dynamics. An open-source MATLABH toolbox, and Spike 2H-compatible version are made freely available.  Citation: Seamari Y, Narva´ez JA, Vico FJ, Lobo D, Sanchez-Vives MV (2007) Robust Offand Online Separation of Intracellularly Recorded Up and Down Cortical States. PLoS ONE 2(9): e888. doi:10.1371/journal.pone.0000888   INTRODUCTION The slow (,1 Hz) oscillation, as described in cortical neurons of naturally sleeping [1,2] and anesthetized [1,3–5] cats, as well as in the sleep EEG and magnetoencephalograms of humans [6–8] comprises a periodic fluctuation between a hyperpolarized membrane potential or down state (characterized by the absence of network activity), and a depolarized membrane potential, or up state (where action potentials use to occur). The slow oscillation is cortically generated [9] and takes place as a stable synchronous network event as demonstrated by multiple intraand extracellular recordings in the intact brain [10–12]. Its generation by the cortical network is backed by the fact that it is also generated in deafferented cortical slabs [13] and in cortical slices maintained in vitro [14]. A large number of studies have been published in recent years dealing with the cellular and network mechanisms underlying this slow rhythm and other related aspects, such as the effect of up and down states on synaptic transmission and excitability [15–21]. In order to understand the cellular and network properties that modulate slow membrane potential fluctuations, it is often required to detect, separate and quantify the up and down states for further detailed data analysis. To achieve this processing of intracellularly recorded membrane potential fluctuations some methods deal with the data in a manual fashion, while others implement basic automated procedures. Metherate and Ashe (1993) [22] first carried out the quantification of the two-state behavior based on the membrane potential distribution. That graphical tool operates on the characteristic bimodal distribution of the membrane potential, best fitted to a dual Gaussian function, and has been extensively used since then [14,19,23–33]. A peak at the hyperpolarized membrane potential values identifies the down state, separated from the depolarized up state by a well-defined central valley, indicative of fast transitions between the two states. Recently, a moving average of the membrane potential and its standard deviation (SD) has been presented [12] to separate the two states. In this case the down state presents a sharp peak at hyperpolarized potentials with low SD values, while the up state shows a broader hill at more depolarized potentials and higher SD values. A different approach based on the spectral difference of the LFP (local field potential) signal has been recently proposed to distinguish between up and down states [34]. This method also relies on the bimodal distribution of the membrane potential. The basic assumption underlying the approaches based on the bimodal distribution of the membrane potential is that the proportion of the area of the histogram under each of the peaks represents the proportion of time spent in each state, and consequently the mode of each peak is the preferred membrane    Academic Editor: Olaf Sporns, Indiana University, United States of America  Received May 16, 2007; Accepted July 24, 2007; Published September 12, 2007  Copyright: © 2007 Seamari et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.  Funding: This work has been funded in part by Programa de Perfeccionamiento de Doctores of the Junta de Andaluc´ıa and grants for short stays of Universidad de Ma´laga to YS. MVSV was funded by Ministerio de Educacio´ n y Ciencia (Spain). The sponsors played no role in the study.  Competing Interests: The authors have declared that no competing interests exist.  * To whom correspondence should be addressed. E-mail: [email protected]a.es PLoS ONE | www.plosone.org 2Septembe r 2007 | Issue 9 | e888 Separating Up and Down States     potential in each state. While this is true for very stable recordings, data is typically affected by fluctuating electrical and physiological conditions. According to this property, these approaches proceed by performing certain measurements on the biphasic histogram. A basic operation is to determine the threshold potential that delimits both states. This is obtained by computing the modes of the distributions (or, alternatively, visually identifying the peaks) and finding either the potential associated with the lowest bar between them, or the midpoint between the peaks if a broad valley separates them [35]. More reliable transitions can be performed by setting two thresholds, e.g., at one fourth and three fourths of the distance between the peaks [23]. The areas separated by these delimiting values are a good estimation of the time spent in each mode. Despite the simplicity and popularity of the histogram-based methods, there are some disadvantages related to its use:  1. The intracellular membrane potential recordings must be stable over the time window used to compute the histogram. However, this ideal scenario is frequently complicated by membrane potential drift, changes in the electrode seal, movement artifacts (e.g. respiratory movements, heartbeat) or other factors, particularly when large time spans are to be considered. These changes will tend to blur the standard bimodal distribution of up and down states, making it hard to separate the two states based simply on threshold. 2. Although the threshold can be automatically determined, there is a certain tendency to establish the settings manually according to the expert assessment, even when dealing with very stable recordings and well-differentiated bimodal behavior. A reliable computerized method for peak identification in the histogram of membrane potentials from recordings that are not obtained in ideal conditions could be hard to find.  An increasing amount of ‘‘non-standard’’ electrophysiological data (from anesthetized animals and slice recordings) and in addition long duration recordings demand automated and reliable methods for up and down states identification and characterization. We present an automatic and easy-to-use method that is able to identify and to reliably separate the two states of membrane potential, characteristic of slow wave sleep and under certain anesthesia: MAUDS (for Moving Averages for Up and Down Separation). Furthermore, the method has been engineered to be used online, in such a way that the up and down states can be visualized in real-time superimposed to the original signal, and the experiment design can include triggering events. It also provides immediate information on the statistics of the up versus down periods to evaluate the behavior of the network.  METHODS Experimental Methods Slices preparation The methods for preparing cortical slices were similar to those described previously [14]. Briefly, cortical slices were prepared from 2to 6-month-old ferrets of either sex that were deeply anesthetized with sodium pentobarbital (40 mg/ kg) and decapitated. Four hundred-micrometer-thick coronal slices of the visual cortex were cut on a vibratome. A modification of the technique developed by [36] was used to increase tissue viability. After preparation, slices were placed in an interface-style recording chamber and bathed in ACSF containing (in mM): NaCl, 124; KCl, 2.5; MgSO4, 2; NaHPO4, 1.25; CaCl2, 2; NaHCO3, 26; and dextrose, 10, and was aerated with 95% O2, 5% CO2 to a final pH of 7.4. Bath temperature was maintained at 34–35uC. Intracellular recordings were initiated after 2 hr of recovery. In order to induce spontaneous rhythmic activity, the solution was switched to ACSF containing (in mM): NaCl, 124; KCl, 3.5; MgSO4, 1; NaHPO4, 1.25; CaCl2, 1–1.2; NaHCO3, 26; and dextrose, 10. Animal preparation for in vivo recording Intracellular recordings in vivo from the primary visual cortex of cats were obtained following the methodology that we have previously described [37]. In short, adult cats were anesthetized with ketamine (12–15 mg/kg, i.m.) and xylazine (1 mg/kg, i.m.) and then mounted in a stereotaxic frame. A craniotomy (3–4 mm wide) was made overlying the representation of the area centralis of area 17. To minimize pulsation arising from the heartbeat and respiration a cisternal drainage and a bilateral pneumothorax were performed, and the animal was suspended by the rib cage to the stereotaxic frame. During recording, anesthesia was maintained with i.m. injections of both ketamine (7 mg/kg) and xylazine (0.5 mg/kg) every 20–30 min. The heart rate, expiratory CO 2 concentration, rectal temperature, and blood O 2 concentration were monitored throughout the experiment and maintained at 140–180 bpm, 3–4%, 37–38uC, and .95%, respectively. The EEG and the absence of reaction to noxious stimuli were regularly checked to insure an adequate depth of anesthesia. After the recording session, the animal was given a lethal injection of sodium pentobarbital. Animals were cared for and used in accordance with the Spanish regulatory laws (BOE 256; 25-10-1990) which comply with the EU guidelines on protection of vertebrates used for experimentation (Strasbourg 3/18/1986). Rat barrel cortex Adult Wistar rats (250–300 g) were used for recordings in S1 cortex. Anesthesia was induced by intraperitoneal injection of ketamine (100 mg/kg) and xylazine (8–10 mg/kg). The animals were not paralyzed. Maintenance dose of ketamine was 75 mg/kg/h. Anesthesia levels were monitored by the recording of low-frequency electroencephalogram (EEG) and the absence of reflexes. Rectal temperature was maintained at 37uC. Once in the stereotaxic apparatus, a craniotomy (2 6 2 mm) was made at coordinates AP –1 to 23 mm from bregma, L 4.5–6.5 mm. After opening the dura, extracellular recordings were obtained with a tungsten electrode (FHC, Bowdoinham, ME, USA). Extracellular recordings were used to adjust whisker stimulation (not shown) and to monitor the occurrence of slow oscillations. Intracellular recordings were obtained within 1 mm from the extracellular recording electrode. Whisker stimulation. A puff of air given through a 1 mm tube placed in front of the whiskers (10–15 mm) was used for stimulation. The air puff (10 ms) was controlled by a stimulator and delivered by a Picopump (WPI, Sarasota, FL). Its pressure was adjusted such that it would evoke a response that was of 50–100 m V in the extracellular recordings and between 5 and 10 mV in the intracellular recordings. Recordings and stimulation Sharp intracellular recording electrodes were formed on a Sutter Instruments (Novato, CA) P-97 micropipette puller from medium-walled glass and beveled to final resistances of 50–100 MV. Micropipettes were filled with 2 M potassium acetate. Recordings were digitized, acquired and analyzed using a data acquisition system (Power 1401; Cambridge Electronic Design, Cambridge, UK) and its software (Spike 2). Two different implementations of MAUDS where integrated in Spike 2: (1) using its built-in script language, and (2) as an assembler program that can be run on the sequencer included in the system. The functioning of these implementations has been tested and is further discussed in the results section. These programs, as well as MATLAB (The MathWorks, Inc.) implementations, are distributed as open source, and can be fetched from a web site (http://www.geb. uma.es/mauds), where a tutorial, examples, and a forum for MAUDS users are also available. PLoS ONE | www.plosone.org 3Septembe r 2007 | Issue 9 | e888 Separating Up and Down States   f 5   Analytical Methods The strategy we propose for characterizing up and down states in electrophysiological data is based on a method widely used in financial data analysis: crossover of moving averages. Methods for financial time series forecasting often involve the linear transformation (averaging) of past data in order to track trends and predict trend reversals [38]. Transitions between up and down membrane regimes can be anticipated in a similar way: current and previous dynamics can predict a forthcoming change to a depolarized or hyperpolarized membrane. In the field of signal processing such systems are referred to as real-time smoothers, and its implementation is equivalent to a low-pass filtering with two cut-off frequencies. We consider a time series of intracellular membrane potential samples. xi represents a sample in mV of membrane potential values. This signal is smoothed by computing for each sample a value that averages the membrane potential through a given time window. In forecasting systems, the standard form of a moving average over the last n values is given at time t by the following expression: something like the last two weeks of the signal (say a commodity’s price), while the long-term EMA averages the last three months. Crossings of the short-term EMA from values above the long-term curve to values below it indicate a possible change from the current trend to increase (a positive slope characteristic of buying periods) to a new decreasing period (negative slope, or selling cycle), while changes from below to above the long-term EMA indicates a change from the decreasing trend to an increasing one (negative to positive slope). The dynamics of the electrophysiological signal that we intend to characterize depends on several factors: cortical region, level of anesthesia, depolarizing or hyperpolarizing currents, etc. While the expected frequency is about 1 Hz, in practice (including in vitro and in vivo recordings) this variable ranges between 0.2 and 1 Hz. This variability makes it necessary to adjust the method to the dynamics of each particular signal. A broad estimation of the frequency of the recorded signal suffices to compute suitable values for the window sizes of both EMAs. Expressed in seconds, the size of the windows for the slow average (W s ) and the fast average (W f ) are given by the following equations:   1 m t ~ n t X  i~t{nz1  x i ð 1 Þ  W s ~2(4{p) ð 3 Þ  A family of implementations can be obtained when the terms in the summation are scaled according to some weighting function. One of such functions weights each value with a constant that decreases exponentially with the distance to the current value. The main property of this exponential weighting is that it gives a greater importance to recent values, while integrating over a wide temporal window. The price is a higher computational cost. This shortcoming must be taken into account when filtering physiological data recorded for a large period of time at a high sample rate. In such cases, the window size could extend along more than one hundred thousand values (2–3 s depending on the acquisition frequency). However, the implementation of exponential weighting with a first-order difference equation solves this computational problem. Equation (2) computes the exponential moving average of the last n values. It proceeds by combining the contribution from the previously averaged value, and the current value of the signal.   m t ~am t{1 z(1{a)x t ð 2 Þ  W f ~6W s ð 4 Þ  where p is the estimated period (the inverse of the frequency) of the wave to be characterized. Here, equation (3) is defined such that the period of the wave is expected to fall below four seconds (or frequencies higher than 0.25 Hz). In a standard situation (frequency around 1 Hz) the slow EMA will be six times faster than the original signal. The crossing points of the two EMAs are good approximations of the transitions between up and down states (i.e. of both, up and down initiation). However, some extra processing around these points can determine more precisely the onsets and offsets. The results clearly improve by analyzing the slope of the signal with a simple momentum operation. The momentum is another indicator widely used in the financial world to measure market’s sentiment. It is defined as the difference between the current value of the signal and a previous value, with respect to the time difference between them. It operates, therefore, as an estimate of the slope. More precisely, equation (5) shows this relation.  where a~ excluded).  n nz1  , and then 1{a~  1 nz1  (note that a M [0,1), i.e. 1 is   m t ~  V t {V t{k k ð Þ The recursion reduces the complexity of the original loop to an order of magnitude (two products and one addition). This expression allows the smoothing of large data vectors in real time on a conventional computer. Higher values of n will expand the range of past values that influence the current value, strengthening the smoothing effect of the average. Parameter n is adjusted according to the dynamics of the signal. For example, in trading applications, trend tracking indicators use wide and narrow averaging windows for highly volatile and non-volatile prices, respectively. Periods where a signal keeps its tendency to increase or decrease (trending periods) can be tracked with fitted exponential moving averages (EMAs), while changes in this trending behavior (trend reversal) is detected by crossing over two EMAs with different window sizes. In the financial world these two curves that follow the signal are generally termed short-term (or fast) and long-term (or slow) averages. For example, a short-term EMA integrates where k is the time difference, and f is the sampling frequency. For example, if the membrane potential recorded at time t is –70 mV, and the value that was sampled 125,000 steps before was –60 mV, a frequency of 25 kHz would give a momentum of –20 mV/s, which means that around time t the membrane tends to hyperpolarize at a rate of some –20 mV every second. This estimation of the slope is an indicator of the shape of the curve where the transition takes place. When the tendency to become hyperpolarized slows down at the end of an up state, we enter the flat hyperpolarized region of the down state. In terms of potential’s slope, this is like moving from low (negative) values to a zero slope. The reverse is true for entering the up state: the slope increases as the membrane depolarizes. Transitions are therefore computed as the precise moments around the crossing points where the momentum raises over a certain threshold. This limit value is negative when transition is made from up to down, and positive for down to up transitions. PLoS ONE | www.plosone.org 4Septembe r 2007 | Issue 9 | e888 Separating Up and Down States     Finally, those excursions of the membrane potential (identified by the method as up or down states) with duration shorter than 40ms were filtered out, as in [12,34]. The combination of these two methods (EMAs overcrossing, and a fine analysis of membrane potential around the crossing points) reliably characterizes data in ideal and noisy conditions, even in situations where the histogram-based approach might fail. In the rest of the paper the proposed method will be referred as MAUDS and its performance will be tested against the traditional method in differently shaped intracellular bistate data. Blue boxes have been used in the figures to highlight the detected up states.  RESULTS Up and Down states were identified in intracellular recordings obtained from the cerebral cortex of both in vitro and in vivo preparations from different areas of the cortex (visual, prefrontal and somatosensory). In the first part of the results we describe the properties of MAUDS analyzing the recordings with the MATLAB scripts in an offline fashion. In the second part of the results we demonstrate how this method can also be used online, thus allowing to exploit the signals that it generates in order to trigger other events or to obtain immediate statistics of time distribution of up versus down states under different conditions. The detection of up and down states occurring in the network can also be carried out by applying MAUDS to the local field potential (LFP) (Fig. S1), detection that shows a high correlation with the one from intracellular recordings obtained simultaneously and in close vicinity to the LFP. The characteristic shape of neuronal membrane potential during slow oscillations shows two clearly differentiated states of membrane potential: a depolarized membrane (up states) and a hyperpolarized one (down states), with relatively fast transitions between them. As said before, in short recordings, up and down states are often identified by thresholding the membrane potential. However, this method frequently fails in long recordings due to membrane potential drifting, presence of spindles, and other types of interferences like electronic noise or movement artifacts while in   Figure 1. Offline separation of standard up and down states. A. Intracellular recording in vivo from a neuron in cat primary visual cortex. Time marks in the horizontal axes of the traces indicate 1 second interval (relative labels not shown for clarity). A fast EMA is represented as a green line and a slow EMA in red line. The points of crossing between both of them have been used to calculate the beginning and end of up states, highlighted with a blue box. Same in B. B. Intracellular recording in vitro from a supragranular neuron in a prefrontal cortex slice from the ferret. C. Histogram of the membrane potential values corresponding to the trace in A. It shows two clearly differentiated states separated by a transitional valley (see Gaussian fit in green superimposed to the histograms, with parameters 2 76.6 and 2 67.0 for the mean, 0.8 and 5.3 for the standard deviation). D. Histogram of the membrane potential values corresponding to the trace in B (fitting curves with parameters 2 64.6 and 2 57.0 for the mean, 0.5 and 7.6 for the standard deviation). doi:10.1371/journal.pone.0000888.g001 PLoS ONE | www.plosone.org 5Septembe r 2007 | Issue 9 | e888 Separating Up and Down States     vivo (heartbeat pulsation, respiratory movements, etc). Even when the aim of the experimentalists should be to eliminate all these artifacts, we will exploit them here in order to test the robustness of the described method against other commonly used ones. Two problems have to be solved for a good characterization of the states: (1) determining the periods where depolarized (up) or hyperpolarized (down) membrane potential take place, and (2) identifying the precise points in time where these states actually start and end. As explained in the previous section, MAUDS tackles these problems with an initial broad identification of the down states by overcrossing two moving averages, and a later refinement of the initiation and termination points by a discrete processing of the membrane potential evolution in the transition interval. In general, we have observed that MAUDS performs well for any value of the long-term EMA in a wide range. On the other hand, the characterization is slightly more sensitive to the fast EMA. An optimum window size would smooth efficiently the high frequency changes of the membrane potential (isolated spikes and artifacts), being also quick enough to detect fast excursions of the signal to highly hyperpolarized regions.    Figure 2. Offline up and down states separation in drifted recordings. A. In vivo intracellular recording from a neuron in the primary visual cortex from the cat. A drift in the membrane potential is illustrated. B. Intracellular recording in vitro from a neuron in the prefrontal cortex of the ferret. The slow EMA follows the average membrane potential, providing a value of reference that discriminates the up and down levels. See the high frequencies detailed in the inset. Time marks in the horizontal axes of the traces indicate 1 second interval. C and D. Histograms corresponding the A and B traces respectively. Note that in the drifted recordings the bimodality of the Vm values is not as clear as in stable recordings like in Fig. 1. doi:10.1371/journal.pone.0000888.g002 PLoS ONE | www.plosone.org 6Septembe r 2007 | Issue 9 | e888 Separating Up and Down States     We studied periods of $ 900 seconds of intracellular fluctuations in recordings from neurons in the visual cortex of the anesthetized cat, from neurons in the somatosensorial cortex in the anesthetized rat, and from neurons recorded in oscillating ferret cortical slices obtained from prefrontal or visual cortices from the ferret (n = 20). The traces in (Fig. 1A, 1B) were recorded from two different animals and show the standard up-down behavior. These states are efficiently separated for a wide range of fast and slow EMAs. Under these recording conditions, the histograms show two different distributions of membrane potentials (Fig. 1C and D). Therefore, a simple thresholding is expected to reliably separate up and down states. (Overshadowing blue boxes show the precise limits of the up states found by MAUDS, in this and the following figures.) Non-standard up and down states arise when the recording scenario departs from these ideal conditions. The periodicity and homogeneity of the standard up and down states disappears, yielding either irregular fluctuations (induced for example by noise or respiration if in vivo), or high frequencies that blur the transitions    Figure 3. Offline detection of up and down states by MAUDS in special situations. A and B. Correctly identifying up states where no action potentials occur in highly hyperpolarized neurons recorded in vitro in prefrontal cortex from the ferret. Note that in B there is correct detection of down states in spite of the repetitive occurrence of short lasting sharp events. C. Filtering isolated synaptic events occurring in the middle of a down state. D. Sorting suspicious down states intermingled into long-lasting up states (third up state). C and D correspond to intracellular recordings obtained in vivo from cat’s primary visual cortex. In all panels time marks in the horizontal axes of the traces indicate 1 second interval. doi:10.1371/journal.pone.0000888.g003 PLoS ONE | www.plosone.org 7Septembe r 2007 | Issue 9 | e888 Separating Up and Down States     (especially in the down states initiation). While MAUDS can still deal with these situations (traces and superimposed EMAs in Fig. 2, A and B), the resulting histogram rapidly looses the bimodal shape (Fig. 2C and D), making it harder to decide where the right threshold should be located. Since the duration of up and down states presents a large variability, it is also difficult to filter false transitions according to this feature. The histograms performed over longer recording sessions simply showed a smoothed shape, but failed to better define the two-peaks picture. Another undesired artifact is signal drifting, caused by changes in the junction potential. In principle this effect can be prevented (chloriding silver electrodes, using an agar bridge, etc.) and compensated by commercial amplifiers, but it is usual to obtain long sequences of data where slow shifts (e.g. Fig, 2A) or fast excursions of the membrane potentials can be observed. These variations in the apparent membrane potential do not necessarily reflect any change in the current flowing through the membrane but an offset of the membrane potential value. Therefore, the bistable fluctuation of the membrane potential during rhythmic activity remains, allowing it to be studied in spite of the unstable wave it is resting on (Fig. 2). In addition to drifted recordings, the proposed method correctly separates up and down states where special events take place, such as the absence of spiking activity in a hyperpolarized membrane with subthreshold oscillations (Fig. 3, A and B traces), the presence of isolated synaptic potentials (or even spikes) along well-defined down states (Fig. 3C shows a synaptic potential between the first and second up states), frustrated down state initiations that might generate misclassifications (Fig. 3D), or recordings during respiratory or other movement artifacts (Fig. 4A), where the underlying slow oscillation is still present (detailed in Fig. 4B). The histograms of membrane potential show that some bimodal distribution remains (Fig. 4D) over stable intervals, but it vanishes when applied to a few seconds interval (Fig. 4C shows the histogram for the trace on Fig. 4A). In order to compare the performance of MAUDS with that of the histogram method, 5 recordings containing standard slow oscillation were selected (for an overall time of 145 s) and the corresponding transitions were obtained based on the histogram (best manual fitting) and with MAUDS, where a broad estimation of the oscillation frequency parameterized the slow and fast EMAs. With regard to effectivity, both methods correctly identified all the    Figure 4. Offline identification of up and down states in intracellular recordings with artifacts. A. Intracellular recording from primary visual cortex of the cat in vivo. There is a respiratory movement artifact that generates rhythmic drifts of the membrane potential. B. Detail of a portion of the membrane potential shown in A (second 15, 16, 17). Time marks in the horizontal axes of the traces indicate 1 second interval. C and D. The distributions of membrane potentials in panels A and B, respectively. doi:10.1371/journal.pone.0000888.g004 PLoS ONE | www.plosone.org 8Septembe r 2007 | Issue 9 | e888 Separating Up and Down States     up and down states present in the recordings. On the other hand, the precision of MAUDS was compared to the histogram-based characterization according to the Coincidence Index (CoIn) described in [34]. The mean degree of overlap computed between the two series of up and down states was 91.760.8%, with a 97.761.6% CoIn for the up states, and a 85.762.8% for the down states. This value shows that MAUDS has a high precision in determining the transitions with respect to the traditional histogram approach. Although the histogram method performs similarly in characterizing standard oscillations, the previous examples show that a fixed threshold will not characterize well the underlying slow oscillation in non-standard recordings. Determining the threshold for standard up and down states can easily be done in a manual way, but a criterion to deal with non-standard behavior (as in the previous examples) has not been proposed yet in the literature. For this reason, MAUDS performance can not be compared to a histogram-based characterization of non-standard slow oscillations. In order to use MAUDS for the online analysis of intracellular recordings (Movie S1), the script was integrated in the Spike 2 (Cambridge Electronic Design, Ltd.) data acquisition software. As described in the Methods section, two different implementations have been coded and tested for online characterization. While the characterization of the electrophysiological signal is equivalent in both versions, the computational resources and times used differ significantly. The script version has the advantage of being coded in a high-level programming language, which is easy to understand and update by potential users. In contrast, the assembly version results extremely cryptic and is not suited for further modification by users. On the other hand, the script runs on the computer’s processor, which means that it shares the resources with the recording process (that has a higher priority) resulting in characterization times that do not allow real-time triggering (around 1 s on a Pentium IV processor). Furthermore, the assembly language runs on the sequencer (see Methods for details), and has the advantage of a processing time that is completely independent of the computational resources, the system’s load, and the recording process itself. The sequencer processes 20 instructions per millisecond, allowing a real-time interaction with the experiment: stimuli can be triggered 1 ms after the transition has been detected. The assembly version was used to perform online characterization and pulse triggering. The detection of the transitions between up and down states was set to generate a 1-bit digital signal, differentiating the current up or down state present in the voltage recordings. This signal was recorded and used externally to trigger events by connecting it to other equipment. Online analysis of up and down states was performed in more than 40 intracellular recordings during slow oscillations occurring in the cortex of anesthetized animals in vivo (visual, somatosensory) and in vitro (visual, prefrontal). The results of the online analysis are illustrated in Figs. 5 and 6. Figure 5 represents the detection of up states during three different intracellular recording in vivo: supraand subthreshold up states of different durations and amplitudes are equally detected during the recording. Identification of up and down states during recording from a fast spiking neuron (Fig. 5A) in primary visual cortex, during a drifted recording from a regular spiking cell (Fig. 5B) or subthreshold up states recorded from rat barrel cortex (Fig. 5C) are illustrated. Online analyzed drifted recordings (Fig. 5B) were still well identified. In Fig. 5B a small depolarization remained undetected. However this depolarization could hardly be defined as up states even by visual inspection and manual classification.  Figure 5. Online detection during intracellular recordings in vivo. A. Up states recorded in a fast spiking neuron in the primary visual cortex of the cat. B. Online detection of up and down states in an intracellular recording in cat primary visual cortex during subthreshold and suprathreshold up states in a drifted recording (note that due to the drift the suprathreshold up states seem to be more hyperpolarized than the subthreshold ones). In A and B spikes have been truncated. C. Online detection of up states recorded in the barrel cortex of a rat. In all these cases the animals were anesthetized with ketamine and xylazine (see Methods). In all panels time marks in the horizontal axes of the traces indicate 1 second interval. doi:10.1371/journal.pone.0000888.g005  In vitro recordings were also analyzed online (Fig. 6A,B; Movie S1), and subthreshold up states are displayed, along with the population activity reflected in the multiunit recording in close vicinity of the intracellularly recorded cell. In a different neuron (Fig. 6B), the signal generated by the detection of the initiation of the up states was fed into the intracellular amplifier (Axoclamp 2B, Molecular Devices Co.) in order to generate a step of hyperpolarizing current. By regulating the delay of occurrence of the current injection, the input resistance of the neuron could be measured at different times with respect to the initiation of the up states. This signal could have been used equally for the triggering of other events of stimulation or analysis. Online detection of up states was also used to average up states and thus determine the shape of the up state rising time, as it was done for slow oscillations recorded in the barrel cortex of the ketamine-anesthetized rat (Fig. 6 C, D). A puff of air delivered to the whiskers induced a consistent sensory response that was recorded intracellularly in the barrel cortex (Fig. 6F). The signal generated by the online detection of the up states’ initiation was also used to trigger the sensory responses at particular intervals after the initiation of the up states, thus allowing systematic average of different trials (Fig. 6G).  DISCUSSION Identifying the transitions between up and down cortical states is sometimes difficult and has to rely on the subjective opinion of the researcher. For example, it is not obvious when a short depolarization should be wide enough to be considered an up state or when the absence of spikes is a necessary condition to determine PLoS ONE | www.plosone.org 9Septembe r 2007 | Issue 9 | e888 Separating Up and Down States     the presence of a down state. Understanding the cellular and network mechanisms that generate the two-state behavior generated by the cortical network therefore demands a robust and reliable method for up and down states identification. Here we have demonstrated that the traditional histogram-based approach originally described by Metherate and Ashe (1993) [22] and extensively used afterwards (e.g. [14,19,23–26,28–33]), while being an efficient graphical tool for manual threshold determination under ideal conditions, lacks the adaptive computational properties to deal with fuzzy transitions, occurring during recordings that are not stable, or drifting, that develops quite often over long recordings. Trend-following techniques of financial trading applications combined with problem-specific knowledge yields a method that robustly separates up and down states, in both ideal and fuzzy situations. This work formalizes such a method and analyses its    Figure 6. Online detection of up states and their use as triggers. A. Online detection of up states during in vitro intracellular recordings in primary visual cortical slices from the ferret. Bottom trace: extracellular multiunit recording representing the population firing in the vicinity from the intracellular recorded neuron. B. Online detection of up states in a recording from ferret oscillatory slices, primary visual cortex. In this case the beginning of the up state has been used to trigger a hyperpolarizing pulse ( 2 0.2 nA) at different times with respect to the occurrence of the up state in order to estimate changes in the input resistance. C. Slow oscillations in the barrel cortex of the ketamine anesthetized rat. Unfiltered local field potential (top) and intracellular suprathreshold recording (bottom). D. Averaged up states (n = 20) using the detection of initiation of up state as a point of reference with online MAUDS analysis, LFP (top) and intracellular recording (bottom). E. Subthreshold oscillations. F. Averaged intracellular responses to a puff of air to the whiskers (n = 20). The sensory response is highlighted with a yellow box. Same in G. G. Averaged up states while giving the whisker stimulation at regular intervals after the initiation of the up state (5 in each case), four intervals are represented. doi:10.1371/journal.pone.0000888.g006 3036 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS J Neurophysiol • VOL 106 • DECEMBER 2011 • www.jn.org   STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS 3039  Histograms of up-state and down-state durations (Fig. 2B, left and right) revealed a weakly bimodal distribution, with local minima at around 200 ms and 100 ms in the upand down-state distributions, respectively. For our analysis of the stereotypical nature of transitions, we could only use state transitions that allowed the reconstruction of wave fronts and, therefore, discarded short-lasting states, where state onsets and offsets were often difficult to assign. In addition, latencies between the intraand the extracellular transition could reach up to 150 ms (Fig. 3B). As a minimum duration, we thus chose the local minimum in the up-state length distribution (200 ms). After the exclusion of state transitions followed by short states, 73.5 ± 4.5% for DU transitions and 76.9 ± 4.1% for UD transitions were used for further analysis. The length of cut-out windows for extracellular data was then set to 400 ms and divided symmetrically around the intracellular state transition, gathering an approximately sigmoidal shape of the extracellular spike-rate profiles within the cut-out window (see Fig. 7 in Léger et al. 2005). Temporal shifts between electrodes in the array. To detect direction and speed of traveling-activity wave fronts, we measured the time differences of wave-front arrival at the different electrodes within the extracellular recording array. In contrast to the detection of state transitions in intracellular recordings, where voltage thresholds allow for an unambiguous definition of the transition time, APs recorded with extracellular electrodes do not necessarily mark state transitions because the first AP can occur with considerable jitter after the membrane                Fig. 3. Extracellular multiunit activity (MUA) data and implementation of realignment algorithm. A: example of an extracellular recording, centered on the intracellular state transition (dashed line). The gray trace indicates raw data; the black trace shows data after processing (see MATERIALS AND METHODS). B: calculated shifts for a single experiment, showing mean and SD for each extracellular electrode (indicated by dot and bar, respectively) and individual shifts for each transition (gray dots). C: 50 filtered extracellular traces (as black trace in A), randomly chosen from 1 electrode (during the same experiment), centered around intracellular state transition onset (white line) before (top) and after (bottom) realignment algorithm was applied. D: example of 3 s of intracellular raw data (top) and the 7 simultaneously recorded extracellular raw traces (bottom 7). Dashed lines indicate intracellular DU transition onset, and the black highlighted MUA signal shows 400-ms windows after realignment shifts were applied (see MATERIALS AND METHODS). 3036 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS J Neurophysiol • VOL 106 • DECEMBER 2011 • www.jn.org   3040 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS  potential has reached the up-state. This problem can be reduced by averaging over a local population of neurons because most cells take part in slow oscillations in a concerted manner (Volgushev et al. 2006; Kerr et al. 2005). Extracellular electrodes with an impedance close to 1 MD pick up signals from neurons in a volume of roughly 100-¡..m diameter around the electrode tip (Stark and Abeles 2007), which contains between 20 and 30 neurons in the neocortex, assuming a cell density of 90,000 cells per mm3 (Gabbott and Stewart 1987). To get a reasonable estimate of the transition time of the local population, we used a combination of two procedures: in a first step, we applied an RMS procedure (see MATERIALS AND METHODS) to the extracellular signals from each electrode (Fig. 3A). This method is advantageous for an unbiased estimation of the activity of a larger population of neurons recorded by a single electrode because high-amplitude APs from cells that are located close to the electrode tip are truncated. This is especially important for the second step in our analysis, the extraction of transition times by applying a realignment algorithm (see MATERIALS AND METHODS), because the measurement of the optimal time shift could otherwise easily be dominated by a few high-amplitude AP units. The realignment algorithm was used because it allows for reliable response detection in noisy single-trial data (see Nawrot et al. 2003). Because with this algorithm the error in shifts based on less steep noisy flanks is bigger, we extracted the histograms of AP occurrences (Fig. 2C, left and right). These histograms should allow us to estimate the sharpness of state transitions in extracellular recordings under the assumption that the firing pattern extracted from the intracellular recording is representative for the cells generating the signals captured by the extracellular electrodes. From the appearance of the histograms, we should expect sharper DU transitions than UD transitions (Léger et al. 2005). This potentially renders the shifts of UD transitions less reliable compared with those of DU transitions. The realignment algorithm itself was used to align single cut-out windows from a given electrode such that the observed signals became maximally similar (Fig. 3C). For each transition, the latencies of all electrodes (Fig. 3B) relative to the intracellular recording (Fig. 3D) were then used for estimating the parameters of a single activity wave front moving across the electrode array. Traveling wave fronts of DU transitions. To assess how stereotypical the state transitions were, we applied circular statistics to the distribution of directions pointing toward the extrapolated origins of circular waves fit to the transition latencies of the extracellular electrodes (Fig. 4A). The stereotypical nature was quantified by calculating the mean vector (Eq. 5) of the directions for all state transitions in an experiment. The direction of the mean vector indicates the preferred direction; its length (the mean vector strength) is a measure for the relative frequency of its occurrence. The mean vector strength ranges from 0 to 1, corresponding to no and maximally stereotypical behavior, respectively. Three examples of direction distributions of DU transitions are shown in Fig. 4B (top). The average mean vector strength over all experiments was 0.45 ± 0.25 (range 0.08 to 0.74). These values correspond to an average circular variance (Eq. 6) of 59° (range 77.7 to 41.3°), meaning that transitions had a strong bias toward the preferred direction of propagation. To assess the statistical significance of the observed vector strengths, we compared them to the expected values of 1,000 uniformly distributed, random-angle distributions with the same number of transitions each. We considered a mean vector strength as highly significant if it exceeded the simulated mean vector strength by four standard deviations from the control  Fig. 4. Circular wave-front analysis of state transitions. A: schematic illustration showing circular wave origin (x0, y0) and expanding wave fronts propagating across the multielectrode array. Positions and identities of electrodes are indicated by black dots, labeled accordingly. The interelectrode distance was 400 ¡..m for the first set and 431 and 305 ¡..m for the second set of experiments (see MATERIALS AND METHODS). M, medial; L, lateral; C, caudal; R, rostral. B: examples of directional distributions (quiver plots, top) and resulting rank plots (bottom). Mean directions in quiver plots are indicated by thick vectors; mean vector length and 4X SD resulting from 1,000 uniform angular distributions are shown as inner and outer circles, respectively. In the rank plots, thick black lines depict experimental angular distribution. Gray lines show 200 uniform angular distributions, and thin black line is the equidistant distribution. Before generating rank plots, the mean angle was subtracted. Numbers in the upper left-hand corners of the rank plots indicate the experiment number, asterisk indicates significance. C and D: distributions of wave-front velocities of DU and UD transitions, respectively. Gray traces show distributions from single experiments, and the average across experiments is shown in black. Velocities larger than 100 ¡..m/ms are pooled into a single bin at the far right of the respective histogram. 3036 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS J Neurophysiol • VOL 106 • DECEMBER 2011 • www.jn.org   STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS 3041  surrogate data (inner and outer black circles in Fig. 4B, top, respectively). This was the case in 10 out of 11 experiments. For a better visualization of deviations of experimentally observed angular distributions from uniformly random distributions, we plotted angles from single transitions against their relative rank within the distribution of angles (Fig. 4B, bottom). To allow for a better comparison over different experiments, we aligned the mean angles along the positive x-axis (angle 0°). This way, experimental data can be easily compared with simulated uniform distributions (gray traces in Fig. 4B, bottom). This visualization, similar to the reported mean vector lengths, demonstrates that most experiments showed a clear preference for one direction of the wave of activity spreading over the cortical tissue. Using a sliding-window (width: 10 transitions) approach, we examined the temporal evolution of the mean direction. For all experiments, fluctuations around the mean direction stayed well within the circular variance over the recording period (data not shown). One main concern during our analysis was that, during the experiments, electrodes might not have been aligned in one single plane but could have picked up MUA signals from different layers. It has been described in previous studies that up-states might be initiated in deep layers first (Sanchez-Vives and McCormick 2000; Chauvette et al. 2010; Sakata and Harris 2009; Csercsa et al. 2010). Indeed, additional experiments, where the electrodes of the 3 X 4 electrode array were positioned vertically in three different cortical layers (Supplemental Fig. S1A; supplemental material for this article is available online at the Journal of Neurophysiology website), in some cases showed temporal lead in deep layers (Supplemental Fig. S1B). To test whether one electrode introduces such a systematic error to our wave-front parameter estimation, we performed the same analysis again with one electrode left out in turn. For most experiments, no qualitative changes of our results were observed (Supplemental Fig. S2A). For two experiments, however, we found electrodes that, when left out, reduced the significance of our results. We marked these experiments in Fig. 5A by asterisks in parentheses. By comparing the second trigonometric moment (m2; Eq. 5) to the first moment (m1) we determined whether the angular distributions were monomodal (m1 > m2) or bimodal (m2 > m1). One would expect a bimodal distribution when waves of activity were reflected at a border between areas (Xu et al. 2007) and, hence,             Fig. 5. Analysis of angular distributions of wave-front origins. A: angular rank plots of DU transitions of single experiments, sorted by decreasing DU mean vector strength (Eq. 5). Format as in Fig. 4B. B: angular rank plots of UD transitions of single experiments, ordered as in A. Format as in A. C: distributions of angular differences between DU and UD transitions (thick black lines), sorted by decreasing DU mean vector strength. Gray horizontal lines indicate angular difference distribution mean and SD of 1,000 artificial uniformly distributed DU and UD angular distributions with the same number of state transitions each. Dashed vertical lines depict the angle between mean DU and UD vectors. The numbers located in the upper left-hand corners in A to C indicate the number of the individual experiment. Significance is indicated by asterisks in A and B, and the number in the lower right corner indicates the number of transitions used for the respective plot.            3036 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS J Neurophysiol • VOL 106 • DECEMBER 2011 • www.jn.org   3042 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS  would pass our electrode array consecutively in opposite directions. For DU transitions, the average m2 vector strength was 0.30 ± 0.14 (range 0.15 to 0.55). The corresponding m1-to-m2 ratio was 1.51 ± 0.64 (>1 in 10 of 11 experiments; the remaining 1 experiment was not significant compared with a uniform random distribution). These findings clearly show that DU transition directions were unimodally distributed. We next measured the mean median propagation velocity of DU transition wave fronts from the circular wave-front fits, as 25.8 ± 7.6 ¡..m/ms (range: 15.1 to 37.8 ¡..m/ms). Despite this high variability in median velocities, velocity histograms looked similar for all experiments (Fig. 4C, gray traces), resulting in a smooth mean velocity distribution across all experiments (Fig. 4C, black trace). This distribution shows a distinct peak at 19 ¡..m/ms. A permutation test (see MATERIALS AND METHODS) revealed that, in 4 of 11 experiments, the experimental AV distribution deviated significantly (P < 0.05) from a randomized AV distribution in one or more angular bins. However, we could not find a clear correlation between the peaks of the AV distribution and the preferred direction of wave-front origins. Traveling wave fronts of UD transitions. Previous imaging studies suggested that the activity at the end of up-states does not simply die out without a spatiotemporal structure but that, instead, the UD transition travels as a circular wave front similar to that of the DU transition (Xu et al. 2007). To test this in our experimental data, we applied the same analysis as above to UD transitions. We observed that the distribution of directions toward the origin of the wave front for single experiments (plotted in Fig. 5B as rank plots) looks more diffuse than that observed for DU transitions (Fig. 5A). The average mean vector strength was 0.30 ± 0.13 (range 0.13 to 0.46), meaning an average circular variance of 68° (range 76° to 60°, respectively). However, with the use of the same test against uniform random angular distributions as for DU transitions, only 7 of 11 experiments showed significantly stereotypical transitions, based on mean vector strength. Again, no dependence of mean direction on experimental time was observed (see above). Also, leaving out one electrode in turn from our analysis (see above) did not change our results. As for DU transitions, we used the second trigonometric momentum to test bimodality vs. monomodality of the direction distribution. The average vector strength for m2 was 0.24 ± 0.1 (range 0.08 to 0.36). The ratio between m1 and m2 was 1.49 ± 0.92 (range 0.4 to 3.4), again showing a clearly unimodal distribution. The distribution of velocities (Fig. 4D) looked similar to that observed for DU transitions, with an average median velocity of 24.8 ± 5.2 ¡..m/ms (range 18.4 to 33.7 ¡..m/ms). Again, the average of velocity distributions across experiments showed a distinct peak, now at 16 ¡..m/ms. Experimental AV distributions deviated significantly (P < 0.05) from randomized AV distributions in 7 of 11 experiments. Again, the relation between AV distribution peaks and preferred direction of wavefront origins remained unclear. We next asked the question whether DU and UD transitions at the beginning and end, respectively, of the same up-state shared the same properties regarding direction toward wave origin and propagation velocity. Velocities of DU and respective UD wave fronts did not correlate (all P values >0.05, Spearman’s rank test). We tested the dependence of UD wave-front direction on DU wave-front direction by computing the distribution of their angular differences, Llcp (Fig. 5C). In those experiments, where both DU and UD vector strength were particularly large, a clear peak around Llcp 0 emerged, showing that a large fraction of UD waves traveled in the same direction as the preceding DU wave front.   DISCUSSIO N In the present study, we examined the stereotypical behavior of spontaneous transitions between upand down-states in the somatosensory cortex of anesthetized rats. We used extracellularly recorded MUA triggered on intracellular state transitions to determine the temporal shifts of wave-front arrivals between different electrodes. This is, to our knowledge, the first study where a large number of such spontaneous DU and UD transitions was used from the same animal to systematically analyze the wave-front propagation during slow-wave activity on a microscopic scale (Massimini et al. 2004; Volgushev et al. 2006). In the vast majority of experiments, we observed a clear, highly significant unimodal distribution of wavefront traveling directions. Results from previous studies regarding stereotypical behavior of state transitions on a cellular level are contradictory: Luczak et al. (2007) reported highly stereotypical activation of single units upon state transitions, independent of wavefront direction. Another study, using optical imaging methods to observe a smaller population of cells, did not find any stereotypical firing behavior of single cells (Kerr et al. 2005). However, the latter experiments covered a much smaller spatial scale, thereby potentially stressing local fluctuations. The results presented here indicate that activity propagation in most animals showed a clear preferred direction, a behavior that may originate from the repeated early activation of an excitatory pathway often originating from a single location in the cortex (Vyazovskiy et al. 2009). In other words, there seems to be a cortical “hot spot”, where up-states are initiated and subsequently travel as clearly defined wave fronts across the cortex. In how far activity at this location is triggered by cortical cells, or by thalamic input, cannot be judged from our data. The same holds true for the underlying physiological mechanism: spontaneous synaptic release, followed by activation of persistent sodium currents (Timofeev et al. 2000; Bazhenov et al. 2002; Chauvette et al. 2010), could cause the observed stereotypical wave generation if one assumes that certain cells have a particularly low threshold to release synaptic vesicles. Similarly, up-states could arise from autonomously oscillating pacemaker cells (Kang et al. 2008) forming the hot spot. It will be interesting to see in future experiments whether in different sleep cycles these hot spots appear at different locations or whether they are preferentially located at a single position in the cortex of the respective individual. Moreover, as we found neither the same directional preference nor a similar origin of the traveling waves across animals, the corresponding difference between presumed hot spots across animals needs to be explained. Methodological constraints. The basic assumption for this study is the circular shape of the traveling wave fronts. This view is supported by voltage-sensitive dye studies (Xu et al. 2007; for a comprehensive review, see Wu et al. 2008). Even for different wave-front shapes, such as spiral waves (Huang et al. 2004), the circular shape is a reasonable approximation on 3036 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS J Neurophysiol • VOL 106 • DECEMBER 2011 • www.jn.org   STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS 3043  the small spatial scale covered by our electrode array (�800 ¡..m). Distortions of the circular shape could arise from different sources: 1) small areas within the cortex might be activated slightly earlier or later compared with the gross traveling wave front, thereby introducing an “effective” temporal jitter; and 2) the realignment algorithm used in our study might introduce a temporal shift error, when signals superimposed by noise are presented. However, wave-front fitting (Eq. 3) performed well on jittered surrogate latencies, retrieving the direction reliably for normally distributed temporal jitters up to a standard deviation of �20 ms, which is clearly more than we expect to be possibly introduced by the noise sensitivity of the realignment algorithm (Nawrot et al. 2003). In a certain fraction (�5% on average) of all transitions, we observed an unrealistically high velocity (>100 ¡..m/ms), which might either be attributable to effective temporal jitter (e.g., the cortex activating quasisynchronously) or be introduced by a combination of temporal shift errors. Removal of these transitions did not change the results presented here. One additional concern during experiments was that the intracellular electrode itself, or tissue damage incurred by it, might be the source of state transitions. However, as in most experiments, the preferred direction did not point toward the intracellular electrode (and nor to any of the extracellular electrodes), we are confident that the observed propagating waves originated in the neuronal network itself and not at a location of an electrode or tissue injured by it. It would, however, be interesting to see whether wave propagation changes in a chronic recording with implanted electrodes. The use of an intracellular electrode might not be feasible in other experimental preparations, particularly if the number of extracellular electrodes is increased. We therefore repeated our analysis of temporal shifts of activity within windows centered around state transitions in one extracellular electrode. This modified approach yielded the same results (data not shown), showing that our analysis is feasible also with multielectrode arrays without intracellular measurement. An additional parameter that allows validation of our results with respect to previous findings from other groups is the wave-propagation velocity. Experimental observations revealed velocities over a range of 2–30 ¡..m/ms (Reig et al. 2010; Ferezou et al. 2006); our findings are in the upper half of this range. Propagation velocities predicted by computational models are somewhat lower (3– 8 ¡..m/ms; Compte et al. 2003) but markedly increased when inhibition in the model was blocked (20 –50 ¡..m/ms; Compte et al. 2003). The contributions of excitatory and inhibitory neurons could not be identified in our study, as we did not sort single units from the extracellularly recorded MUA. Waves have been reported to transcend functional borders within the cortex (Takagaki et al. 2008). However, a recent study (Xu et al. 2007) showed a more complex behavior at area borders between primary and secondary visual cortices, including compression and reflection of waves. Reflection at a nearby area border would, in our experiments, have resulted in a bimodal direction distribution, which we never observed. However, because of methodological constraints, we excluded DU transitions following very short down-states and thus might have systematically ignored reflections at area borders close to our electrode array. In any case, it remains to be demonstrated in how far our results are transferable to other brain areas as, for instance, the visual cortex described in Xu et al. (2007), and whether reflected waves could be detected if we place our electrode array over the border between two areas. A serious limitation with respect to such analysis is, however, the low number and density of electrodes that have been available for the reconstruction of the traveling waves. Obviously, it is impossible to differentiate between circular waves and more complex patterns, which might impose the same latency distributions, with only seven electrodes. Functional implications. The occurrence of spontaneous slow oscillations has been demonstrated in a large variety of preparations, ranging from organotypical (Johnson and Buonomano 2007) and acute slice preparations (Sanchez-Vives and McCormick 2000; Reig et al. 2010) over deafferented cortical slabs (Timofeev et al. 2000) to experiments in the intact cortex (Steriade et al. 1993a; 1993b; 1993c; Contreras and Steriade 1995; Léger et al. 2005; Kerr et al. 2005; Waters and Helmchen 2006; Saleem et al. 2010). Additionally, in vivo experiments have been performed under a variety of conditions, particularly with respect to anesthesia. Here, the usage of ketamine/xylazine was shown to generate oscillating behavior similar to slow-wave sleep observed in sleeping animals (Sharma et al. 2010; Fontanini et al. 2003). The function of slow oscillations and associated traveling waves has thus far remained elusive. It has been proposed that these effects play a key role in memory consolidation (Wilson and McNaughton 1994; Sejnowski and Destexhe 2000; Hoffman et al. 2007; Landsness et al. 2009), with specific activity patterns being replayed during up-states (Luczak et al. 2007; but see also Kerr et al. 2005) and a stronger activation in cortical regions that have been extensively used during wake periods (e.g., Huber et al. 2008). This view might be consistent with our finding that cortical subregions were activated in the same spatiotemporal order over many consecutive state transitions, thereby potentially introducing a high number of pattern repetitions. It is, however, difficult to judge in how far the patterns characterized in our study are stereotypical down to the level of synapses. For a validation of this issue, experiments with paired recordings in the intact animal would be the ultimate test, an experimental technique that is not available to date. Another, more tractable issue concerns the question in how far our results may be biased by the anesthetic we used. Future experiments in unanesthetized, sleeping animals could show, whether traveling waves during slow-wave sleep exhibit the same stereotypical behavior as observed here under ketamine/xylazine anesthesia. We expect a similar behavior under these two conditions, as a certain degree of stereotypical behavior has been shown in humans (Massimini et al. 2004). However, an interesting extension to the experiments we performed for this study would be 1) to track changes in wave-propagation parameters over several sleep cycles within the same animal and 2) to compare these results to those from animals having spent time in an enriched environment, as this might enforce consolidation during sleep of newly learned patterns, particularly in motor and sensory areas.   GRANTS  This project received funding from the German Federal Ministry of Education and Research (BMBF grants 01GQ0413 to BCCN Berlin and 01GQ0420 to BCCN Freiburg), from the European Union (EU Grant 15879, FACETS), and from the German Research Council (DFG-SFB 780).   DISCLOSURES  No conflicts of interest, financial or otherwise, are declared by the authors. 3036 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS J Neurophysiol • VOL 106 • DECEMBER 2011 • www.jn.org   3044 STEREOTYPICAL SPATIOTEMPORAL STATE TRANSITIONS  REFERENCES  Batschelet E. Circular Statistics in Biology (Mathematics in Biology). London, UK: Academic Press, 1981. Bazhenov M, Timofeev I, Steriade M, Sejnowski TJ. Model of thalamocortical slow-wave sleep oscillations and transitions to activated states. J Neurosci 22: 8691– 8704, 2002. Blethyn KL, Hughes SW, Tóth TI, Cope DW, Crunelli V. Neuronal basis of the slow (<1 Hz) oscillation in neurons of the nucleus reticularis thalami in vitro. J Neurosci 26: 2474 –2486, 2006. Chauvette S, Volgushev M, Timofeev I. Origin of active states in local neocortical networks during slow sleep oscillation. Cereb Cortex 20: 2660 – 2674, 2010. Compte A, Sanchez-Vives MV, McCormick DA, Wang XJ. Cellular and network mechanisms of slow oscillatory activity (<1 Hz) and wave propagations in a cortical network model. J Neurophysiol 89: 2707–2725, 2003. Contreras D, Steriade M. Cellular basis of EEG slow rhythms: a study of dynamic corticothalamic relationships. J Neurosci 15: 604 – 622, 1995. Crochet S, Chauvette S, Boucetta S, Timofeev I. Modulation of synaptic transmission in neocortex by network activities. Eur J Neurosci 21: 1030 – 1044, 2005. Crunelli V, Hughes SW. The slow (<1 Hz) rhythm of non-REM sleep: a dialogue between three cardinal oscillators. Nat Neurosci 13: 9 –17, 2010. Csercsa R, Dombovári B, Fabó D, Wittner L, Eross L, Entz L, Sólyom A, Rásonyi G, Szucs A, Kelemen A, Jakus R, Juhos V, Grand L, Magony A, Halász P, Freund TF, Maglóczky Z, Cash SS, Papp L, Karmos G, Halgren E, Ulbert I. Laminar analysis of slow wave activity in humans. Brain 133: 2814 –2829, 2010. Ermentrout GB, Kleinfeld D. Traveling electrical waves in cortex: Insights from phase dynamics and speculation on a computational role. Neuron 29: 33– 44, 2001. Ferezou I, Bolea S, Petersen CC. Visualizing the cortical representation of whisker touch: voltage-sensitive dye imaging in freely moving mice. Neuron 50: 617– 629, 2006. Fontanini A, Spano PF, Bower JM. Ketamine-xylazine-induced slow (<1.5 Hz) oscillations in the rat piriform (olfactory) cortex are functionally correlated with respiration. J Neurosci 23: 7993– 8001, 2003. Gabbott PL, Stewart MG. Distribution of neurons and glia in the visual cortex (area 17) of the adult albino rat: a quantitative description. Neuroscience 21: 833– 845, 1987. Hoffman KL, Battaglia FP, Harris K, MacLean JN, Marshall L, Mehta MR. The upshot of up states in the neocortex: from slow oscillations to memory formation. J Neurosci 27: 11838 –11841, 2007. Huber R, Määttä S, Esser SK, Sarasso S, Ferrarelli F, Watson A, Ferreri F, Peterson MJ, Tononi G. Measures of cortical plasticity after transcranial paired associative stimulation predict changes in electroencephalogram slow-wave activity during subsequent sleep. J Neurosci 28: 7911–7918, 2008. Huang X, Troy WC, Yang Q, Ma H, Laing CR, Schiff SJ, Wu JY. Spiral waves in disinhibited mammalian neocortex. J Neurosci 24: 9897–9902, 2004. Hughes SW, Cope DW, Blethyn KL, Crunelli V. Cellular mechanism of the slow (<1 Hz) oscillation in thalamocortical neurons in vitro. Neuron 33: 947–958, 2002. Johnson HA, Buonomano DV. Development and plasticity of spontaneous activity and up states in cortical organotypical slices. J Neurosci 27: 5915–5925, 2007. Kang S, Kitano K, Fukai T. Structure of spontaneous UP and DOWN transitions self-organizing in a cortical network model. PLoS Comput Biol 4: e1000022, 2008. Katz LC, Shatz CJ. Synaptic activity and the construction of cortical circuits. Science 274: 1133–1138, 1996. Kerr JN, Greenberg D, Helmchen F. Imaging input and output of neocortical networks in vivo. Proc Natl Acad Sci USA 102: 14063–14068, 2005. Landsness EC, Crupi D, Hulse BK, Peterson MJ, Huber R, Ansari H, Coen M, Cirelli C, Benca RM, Ghilardi MF, Tononi G. Sleep-dependent improvement in visuomotor learning: a causal role for slow waves. Sleep 32: 1273–1284, 2009. Léger JF, Stern EA, Aertsen A, Heck D. Synaptic integration in rat frontal cortex shaped by network activity. J Neurophysiol 93: 281–293, 2005. Luczak A, Barthó P, Marguet SL, Buzsáki G, Harris KD. Sequential structure of neocortical spontaneous activity in vivo. Proc Natl Acad Sci USA 104: 347–352, 2007. Massimini M, Amzica F. Extracellular calcium fluctuations and intracellular potentials in the cortex during the slow sleep oscillation. J Neurophysiol 85: 1346 –1350, 2001. Massimini M, Huber R, Ferrarelli F, Hill S, Tononi G. The sleep slow oscillation as a traveling wave. J Neurosci 24: 6862– 6870, 2004. Momose-Sato Y, Sato K, Kinoshita M. Spontaneous depolarization waves of multiple origins in the embryonic rat CNS. Eur J Neurosci 25: 929 –944, 2007. Nawrot MP, Aertsen A, Rotter S. Elimination of response latency variability in neuronal spike trains. Biol Cybern 88: 321–334, 2003. Petersen CC, Grinvald A, Sakmann B. Spatiotemporal dynamics of sensory responses in layer 2/3 of rat barrel cortex measured in vivo by voltagesensitive dye imaging combined with whole-cell voltage recordings and neuron reconstructions. J Neurosci 23: 1298 –1309, 2003. Press WH, Teukolsky SA, Vetterling WT, Flannary BP. Numerical Recipes in C: the Art of Scientific Computing, 2nd ed. New York: Cambridge University, 1992. Reig R, Mattia M, Compte A, Belmonte C, Sanchez-Vives MV. Temperature modulation of slow and fast cortical rhythms. J Neurophysiol 103: 1253–1261, 2010. Riedner BA, Vyazovskiy VV, Huber R, Massimini M, Esser S, Murphy M, Tononi G. Sleep homeostasis and cortical synchronization: III. A highdensity EEG study of sleep slow waves in humans. Sleep 30: 1643–1657, 2007. Rubino D, Robbins KA, Hatsopoulos NG. Propagating waves mediate information transfer in the motor cortex. Nat Neurosci 9: 1549 –1557, 2006. Sakata S, Harris KD. Laminar structure of spontaneous and sensory-evoked population activity in auditory cortex. Neuron 64: 404 – 418, 2009. Saleem AB, Chadderton P, Apergis-Schoute J, Harris KD, Schultz SR. Methods for predicting cortical UP and DOWN states from the phase of deep layer local field potentials. J Comput Neurosci 29: 49 – 62, 2010. Sanchez-Vives MV, McCormick DA. Cellular and network mechanisms of rhythmic recurrent activity in neocortex. Nat Neurosci 3: 1027–1034, 2000. Sejnowski TJ, Destexhe A. Why do we sleep? Brain Res 886: 208 –223, 2000. Sharma AV, Wolansky T, Dickson CT. A comparison of sleeplike slow oscillations in the hippocampus under ketamine and urethane anesthesia. J Neurophysiol 104: 932–939, 2010. Stark E, Abeles M. Predicting movement from multiunit activity. J Neurosci 27: 8387– 8394, 2007. Steriade M, Contreras D, Curro Dossi R, Nunez A. The slow (<1 Hz) oscillation in reticular thalamic and thalamocortical neurons: scenario of sleep rhythm generation in interacting thalamic and neocortical networks. J Neurosci 13: 3284 –3299, 1993a. Steriade M, Nunez A, Amzica F. A novel slow (<1 Hz) oscillation of neocortical neurons in vivo: depolarizing and hyperpolarizing components. J Neurosci 13: 3252–3265, 1993b. Steriade M, Nunez A, Amzica F. Intracellular analysis of relations between the slow (<1 Hz) neocortical oscillation and other sleep rhythms of the electroencephalogram. J Neurosci 13: 3266 –3283, 1993c. Takagaki K, Zhang C, Wu JY, Lippert MT. Crossmodal propagation of sensory-evoked and spontaneous activity in the rat neocortex. Neurosci Lett 431: 191–196, 2008. Timofeev I, Grenier F, Bazhenov M, Sejnowski T, Steriade M. Origin of slow cortical oscillations in deafferented cortical slabs. Cereb Cortex 10: 1185–1199, 2000. Volgushev M, Chauvette S, Mukovski M, Timofeev I. Precise long-range synchronization of activity and silence in neocortical neurons during slowwave sleep. J Neurosci 26: 5665–5672, 2006. Vyazovskiy VV, Faraguna U, Cirelli C, Tononi G. Triggering slow waves during NREM sleep in the rat by intracortical electrical stimulation: Effects of sleep/wake history and background activity. J Neurophysiol 101: 1921– 1931, 2009. Waters J, Helmchen F. Background synaptic activity is sparse in neocortex. J Neurosci 26: 8267– 8277, 2006. Wilson MA, McNaughton BL. Reactivation of hippocampal ensemble memories during sleep. Science 265: 676 – 679, 1994. Wong RO. Retinal waves and visual system development. Annu Rev Neurosci 22: 29 – 47, 1999. Wu JY, Huang X, Zhang C. Propagating waves of activity in the neocortex: What they are, what they do. Neuroscientist 14: 487–502, 2008. Xu W, Huang X, Takagaki K, Wu JY. Compression and reflection of visually evoked cortical waves. Neuron 55: 119 –129, 2007.