Table Of Contents

Next topic

pyrem.time_series module

This Page

Welcome to pyrem’s documentation!

Module contents

Pyrem is a python package to help feature extraction from physiological time series such as electroencephalograms(EEGs) and such.

It provides:

  1. Data structures for time series (pyrem.time_series) based on numpy arrays. This extends functionality of numpy arrays by:

    1. Providing extra attributes such as sampling frequency and metadata
    2. Allow new functionality such as time-string indexing (e.g. signal["28m":"2h22.4s"])
  2. A data structure for annotations (pyrem.time_series.Annotation) based on numpy recarrays. This allows to describe time series of discrete states linked to a confidence/probability of observation of each states.

  3. A data structure for collection of time series (pyrem.polygram). It features:

    1. Support for heterogeneous sampling rates between time series.
    2. An iterator through arbitrary epochs (temporal slices)
    3. Slicing using time strings and seamless merging between polygrams
  4. Implementations of algorithms often used in analysis of EEGs (see pyrem.univariate). They are essentially faster and curated reimplementation of the function available in PyEEG.

  5. Utilities to load, save and visualize the data (still in development).

  6. Wrappers around samplerate and pywt libraries, to efficiently resample, and compute discrete wavelet decomposition on signals.

Indices and tables