title: Robust off- and online separation of intracellularly recorded up and down cortical states.
abstract: 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.
  
  
  RESULTS
  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
  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 MATLAB toolbox, and Spike 2-compatible version are made freely available.
authors.affiliation: Departamento Fisiología General, Facultad de Medicina, Universidad de Málaga, Málaga, Spain.
authors.forename: Yamina
authors.initials: Y
authors.lastname: Seamari
authors.forename: José A
authors.initials: JA
authors.lastname: Narváez
authors.forename: Francisco J
authors.initials: FJ
authors.lastname: Vico
authors.forename: Daniel
authors.initials: D
authors.lastname: Lobo
authors.forename: Maria V
authors.initials: MV
authors.lastname: Sanchez-Vives
mesh_terms: D000818:Animals; D002415:Cats; D002540:Cerebral Cortex / Q000502:physiology*; D051381:Rats; D017208:Rats, Wistar