ltbio.features.Features#

Overview#

Classes#

Features

Class that stores extracted features of a Timeseries.

HRVFeatures

Helper class that provides a standard way to create an ABC using

TimeFeatures

Class with implementation of extraction of of several time features.

Contents#

class ltbio.features.Features.Features(original_timeseries: ltbio.biosignals.Timeseries = None)#

Class that stores extracted features of a Timeseries.

property original_timeseries: ltbio.biosignals.Timeseries#
to_dict()#
class ltbio.features.Features.HRVFeatures#

Bases: abc.ABC

digraph inheritance7f990b78c6 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ABC" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Helper class that provides a standard way to create an ABC using"]; "HRVFeatures" [URL="#ltbio.features.Features.HRVFeatures",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ABC" -> "HRVFeatures" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

Helper class that provides a standard way to create an ABC using inheritance.

static hr(segment: numpy.ndarray) float#
static r_indices(segment: numpy.ndarray) float#
class ltbio.features.Features.TimeFeatures#

Bases: abc.ABC

digraph inheritancebcc18bd26a { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ABC" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Helper class that provides a standard way to create an ABC using"]; "TimeFeatures" [URL="#ltbio.features.Features.TimeFeatures",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class with implementation of extraction of of several time features."]; "ABC" -> "TimeFeatures" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

Class with implementation of extraction of of several time features.

static deviation(segment: numpy.ndarray) float#
static mean(segment: numpy.ndarray) float#
static variance(segment: numpy.ndarray) float#