| bands_psd | Compute power spectral density of bands listed in the bands argument. |
| chambon2018 | Deep Learning Architecture for Temporal Sleep Stage Classification model implementation in Keras. |
| check_events | Check events dataframe format compliance. |
| detect_rpeaks | Detect R peaks in a raw ECG signal. |
| epochs | Split signals into epochs according to an events dataframe or an epoch duration. |
| get_sleep_periods | Get a dataframe of sleep periods from a hypnogram, continuous or by stages. |
| hypnogram | Filter and reorder an events dataframe or a hypnodensity to keep only sleep stages related-events. |
| normalize_cycles | Normalize sleep cycles scored on Noxturnal software from start and stop flags to unique events. |
| plot_hypnodensity | Plot a hypnodensity graph. |
| plot_hypnogram | Plot a hypnogram from an events dataframe. |
| psm | Power spectral density using adaptive sine multitaper. |
| pwelch | Power spectral density using Welch's method. |
| read_events_compumedics | Read a stages export from Compumedics software in .txt format. |
| read_events_noxturnal | Read a Noxturnal events file (Unicode CSV format) |
| read_events_profusion | Read a annotation file from Compumedics Profusion software in XML format. |
| read_events_sleepedfx | Read a SleepEDFX events file EDF+ |
| read_mdf | Read a Morpheo Data Format (MDF) directory to a list. |
| schwabedal2018 | Automated Classification of Sleep Stages in Mice with Deep Learning model implementation in Keras. |
| score_mice | Score mice sleep from European Data Format (EDF) files. |
| score_psg | Score 30 seconds epochs from European Data Format (EDF) files. |
| smooth_hypnogram | Smooth hypnogram epoch, simulating human scorers behaviour. |
| smooth_liang2012 | Smooth hypnogram according to the 11 rules described by Liang & Al. |
| spectrogram | Plot the spectrogram of signal. |
| stages_stats | Get stages events related stats in a named vector. |
| train_batches | Trains a model from files batches. |
| transitions | Compute a matrix of stages transitions counts. |
| tst90 | Compute TST90, the percentage of time during sleep with an oxygen saturation below 90. |
| write_batches_mice | Write batches from mice records |
| write_batches_psg | Generates files batches from PSG data. |
| write_channel | Write a timeserie to disk using Morpheo Data Format (MDF) guidelines. |
| write_hypnogram_compumedics | Write a XML file containing scored stages for Compumedics software. |
| write_mdf | Write a European Data Format (EDF) record file to disk using Morpheo Data Format (MDF) guidelines |