API reference#
Automatic sleep staging & events detection#
Automatic sleep staging of polysomnography data. |
|
Automatic artifact rejection. |
|
Rapid eye movements (REMs) detection. |
|
Output class for REMs detection. |
|
Spindles detection. |
|
Output class for spindles detection. |
|
Slow-waves detection. |
|
Output class for slow-waves detection. |
|
Determine correctness of detected events against ground-truth events. |
Hypnogram & sleep statistics#
Standard class for representing and analyzing a sleep hypnogram. |
|
Evaluate agreement between two hypnograms or two collections of hypnograms. |
|
Evaluate agreement between sleep statistics reported by two different scorers. |
|
Simulate a hypnogram based on transition probabilities. |
Spectral analyses#
Calculate the Welch bandpower for each channel and, if specified, for each sleep stage. |
|
Compute the average power of the EEG in specified frequency band(s) given a pre-computed PSD. |
|
Compute bandpowers in N-dimensional PSD. |
|
Separate the aperiodic (= fractal, or 1/f) and oscillatory component of the power spectra of EEG data using the IRASA method. |
|
Moving transformation of one or two time-series. |
|
Plot a full-night multi-taper spectrogram, optionally with the hypnogram on top. |
|
Calculate a sliding window of a 1D or 2D EEG signal. |
|
Compute the pointwise power via STFT and interpolation. |
|
Topoplot. |
Heart rate analysis#
Calculate heart rate and heart rate variability (HRV) features from an ECG. |
Utilities#
Download (i.e., |