NEWS.md
periods()
function returns a dataframe of sleep periods from a hypnogram, continuous or splitted by stages.transitions()
function now use a format
parameter to return a vector, a dataframe or a plot of counted transitions.segmentation()
function to split signals into consecutive overlapping (or not) chunks.ckappa()
to compute Cohen’s Kappa, a coefficient of agreement for nominal scales.choi2018()
function, a Keras implementation of the deep learning architecture described by Choi & Al in “Real-time apnea-hypopnea event detection during sleep by convolutional neural network”.read_events_profusion()
bug in scored events reading fixed.plot_hypnogram()
can take colors to use as a parameter.read_events_ndb()
function to read .ndb
files from Resmed Noxturnal software.plot_event()
function to plot a scored event over a signal.read_stages_compumedics
function to read_events_compumedics
.read_events_profusion
function to read annotations from NSRR.xml2
package to dependencies.tst90
function.hypnogram
function can now take hypnodensity to convert to hypnogram and plot it if asked with the plot
parameter.transitions
function to compute matrices of stages transitions.epochs
function can take a single vector containing a single signal. resample
default to the max of the sample rates.epochs
function. Pads epochs with previous and next epochs of the record.bands_power
renamed to bands_psd
.bands_psd
does not normalize by band size anymore.bands_psd
, broadband argument renamed to normalize. Can be set up to FALSE.write_mdf
& write_channel
use platform endian by default to write binary files.read_stages_compumedics()
and write_hypnogram_compumedics()
functions.examples example_ecg_200hz
and example_hypnogram_30s
.smooth_hypnogram()
and smooth_liang2012()