Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

overview.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ********
  2. Overview
  3. ********
  4. What is Elephant?
  5. =====================
  6. As a result of the complexity inherent in modern recording technologies that yield massively parallel data streams and in advanced analysis methods to explore such rich data sets, the need for more reproducible research in the neurosciences can no longer be ignored. Reproducibility rests on building workflows that may allow users to transparently trace their analysis steps from data acquisition to final publication. A key component of such a workflow is a set of defined analysis methods to perform the data processing.
  7. Elephant (Electrophysiology Analysis Toolkit) is an emerging open-source, community centered library for the analysis of electrophysiological data in the Python programming language. The focus of Elephant is on generic analysis functions for spike train data and time series recordings from electrodes, such as the local field potentials (LFP) or intracellular voltages. In addition to providing a common platform for analysis codes from different laboratories, the Elephant project aims to provide a consistent and homogeneous analysis framework that is built on a modular foundation. Elephant is the direct successor to Neurotools [#f1]_ and maintains ties to complementary projects such as OpenElectrophy [#f2]_ and spykeviewer [#f3]_.
  8. * Analysis functions use consistent data formats and conventions as input arguments and outputs. Electrophysiological data will generally be represented by data models defined by the Neo_ [#f4]_ project.
  9. * Library functions are based on a set of core functions for commonly used operations, such as sliding windows, converting data to alternate representations, or the generation of surrogates for hypothesis testing.
  10. * Accepted analysis functions must be equipped with a range of unit tests to ensure a high standard of code quality.
  11. Elephant library structure
  12. ==========================
  13. Elephant is a standard python package and is structured into a number of submodules. The following is a sketch of the layout of the Elephant library (0.3.0 release).
  14. .. figure:: images/elephant_structure.png
  15. :width: 400 px
  16. :align: center
  17. :figwidth: 80 %
  18. Modules of the Elephant library. Modules containing analysis functions are colored in blue shades, core functionality in green shades.
  19. Conceptually, modules of the Elephant library can be divided into those related to a specific category of analysis methods, and supporting modules that provide a layer of various core utility functions. All available modules are available directly on the the top level of the Elephant package in the ``elephant`` subdirectory to avoid unnecessary hierarchical clutter. Unit tests for all functions are located in the ``elephant/test`` subdirectory and are named according the module name. This documentation is located in the top level ``doc`` subdirectory.
  20. In the following we provide a brief overview of the modules available in Elephant.
  21. Analysis modules
  22. ----------------
  23. ``statistics``
  24. ^^^^^^^^^^^^^^
  25. Statistical measures of spike trains (e.g., Fano factor) and functions to estimate firing rates.
  26. ``signal_processing``
  27. ^^^^^^^^^^^^^^^^^^^^^
  28. Basic processing procedures for analog signals (e.g., performing a z-score of a signal, or filtering a signal).
  29. ``spectral``
  30. ^^^^^^^^^^^^
  31. Identification of spectral properties in analog signals (e.g., the power spectrum)
  32. ``kernels``
  33. ^^^^^^^^^^^^^^
  34. A class that provides representations for commonly used kernel functions.
  35. ``spike_train_dissimilarity_measures``
  36. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37. Spike train metrics (e.g., the Victor-Purpura measure) to measure the (dis-)similarity between spike trains.
  38. ``sta``
  39. ^^^^^^^
  40. Calculate the spike-triggered average and spike-field-coherence of an analog signal.
  41. ``spike_train_correlation``
  42. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  43. Functions to quantify correlations between sets of spike trains.
  44. ``unitary_event_analysis``
  45. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  46. Determine periods where neurons synchronize their activity beyond chance level.
  47. ``cubic``
  48. ^^^^^^^^^
  49. Implements the method Cumulant Based Inference of higher-order Correlation (CuBIC) to detect the presence of higher-order correlations in massively parallel data based on its complexity distribution.
  50. ``asset``
  51. ^^^^^^^^^
  52. Implementation of the Analysis of Sequences of Synchronous EvenTs (ASSET) to detect, in particular, syn-fire chain like activity.
  53. ``csd``
  54. ^^^^^^^
  55. Inverse and standard methods to estimate of current source density (CSD) of laminar LFP recordings.
  56. Supporting modules
  57. ------------------
  58. ``conversion``
  59. ^^^^^^^^^^^^^^
  60. This module allows to convert standard data representations (e.g., a spike train stored as Neo ``SpikeTrain`` object) into other representations useful to perform calculations on the data. An example is the representation of a spike train as a sequence of 0-1 values (*binned spike train*).
  61. ``spike_train_generation``
  62. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  63. This module provides functions to generate spike trains according to prescribed stochastic models (e.g., a Poisson spike train).
  64. ``spike_train_surrogates``
  65. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  66. This module provides functionality to generate surrogate spike trains from given spike train data. This is particularly useful in the context of determining the significance of analysis results via Monte-Carlo methods.
  67. ``neo_tools``
  68. ^^^^^^^^^^^^^
  69. Provides useful convenience functions to work efficiently with Neo objects.
  70. ``pandas_bridge``
  71. ^^^^^^^^^^^^^^^^^
  72. Bridge from Elephant to the pandas library.
  73. References
  74. ==========
  75. .. [#f1] http://neuralensemble.org/NeuroTools/
  76. .. [#f2] http://neuralensemble.org/OpenElectrophy/
  77. .. [#f3] http://spykeutils.readthedocs.org/en/0.4.1/
  78. .. [#f4] Garcia et al. (2014) Front.~Neuroinform. 8:10
  79. .. _`Neo`: http://neuralensemble.org/neo/