ltbio.biosignals.modalities.MultimodalBiosignal#

Overview#

Classes#

MultimodalBiosignal

A Biosignal is a set of channels (Timeseries), each of which with samples measuring a biological variable.

Contents#

class ltbio.biosignals.modalities.MultimodalBiosignal.MultimodalBiosignal(**biosignals)#

Bases: ltbio.biosignals.modalities.Biosignal.Biosignal

digraph inheritancef2717c40b5 { 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"]; "Biosignal" [URL="../Biosignal/index.html#ltbio.biosignals.modalities.Biosignal.Biosignal",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="A Biosignal is a set of channels (Timeseries), each of which with samples measuring a biological variable."]; "ABC" -> "Biosignal" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MultimodalBiosignal" [URL="#ltbio.biosignals.modalities.MultimodalBiosignal.MultimodalBiosignal",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"]; "Biosignal" -> "MultimodalBiosignal" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

A Biosignal is a set of channels (Timeseries), each of which with samples measuring a biological variable. It may be associated with a source, a patient, and a body location. It can also have a name. It has an initial and final datetime. Its length is its number of channels. It can be resampled, filtered, and concatenated to other Biosignals. Amplitude and spectrum plots can be displayed and saved.

property acquisition_location: Set[ltbio.clinical.BodyLocation.BodyLocation]#

Returns the associated acquisition location, or None if none was provided.

property source: Set[ltbio.biosignals.sources.BiosignalSource.BiosignalSource]#

Returns the BiosignalSource from where the data was read, or None if was not specified.

property type#

Returns the biosignal modality class. E.g.: ECG, EMG, EDA, …

plot_summary(show: bool = True, save_to: str = None)#

Plots a summary of relevant aspects of common analysis of the Biosignal.