ltbio.biosignals.timeseries.Unit#
Overview#
Classes#
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Common multipliers used when describing orders of magnitude. |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
Contents#
- class ltbio.biosignals.timeseries.Unit.BeatsPerMinute(multiplier=Multiplier._)#
Bases:
digraph inheritance63637fedf0 { 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"]; "BeatsPerMinute" [URL="#ltbio.biosignals.timeseries.Unit.BeatsPerMinute",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"]; "Unit" -> "BeatsPerMinute" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'bpm'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.Decibels(multiplier=Multiplier._)#
Bases:
digraph inheritancee35f250e90 { 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"]; "Decibels" [URL="#ltbio.biosignals.timeseries.Unit.Decibels",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"]; "Unit" -> "Decibels" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'dB'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.DegreeCelsius(multiplier=Multiplier._)#
Bases:
digraph inheritanceb9d9441f91 { 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"]; "DegreeCelsius" [URL="#ltbio.biosignals.timeseries.Unit.DegreeCelsius",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"]; "Unit" -> "DegreeCelsius" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'ºC'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.G(multiplier=Multiplier._)#
Bases:
digraph inheritance0c21d6265c { 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"]; "G" [URL="#ltbio.biosignals.timeseries.Unit.G",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"]; "Unit" -> "G" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'G'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.Grams(multiplier=Multiplier._)#
Bases:
digraph inheritancef3a56f731b { 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"]; "Grams" [URL="#ltbio.biosignals.timeseries.Unit.Grams",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"]; "Unit" -> "Grams" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'g'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.Multiplier#
Bases:
digraph inheritanceac640a63ce { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Enum" [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="Generic enumeration."]; "Multiplier" [URL="#ltbio.biosignals.timeseries.Unit.Multiplier",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="Common multipliers used when describing orders of magnitude."]; "Enum" -> "Multiplier" [arrowsize=0.5,style="setlinewidth(0.5)"]; }enum.EnumCommon multipliers used when describing orders of magnitude.
- G = 1000000000.0#
- M = 1000000.0#
- k = 1000.0#
- m = 0.001#
- n = 1e-09#
- u = 1e-06#
- class ltbio.biosignals.timeseries.Unit.Second(multiplier=Multiplier._)#
Bases:
digraph inheritance25238744fe { 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"]; "Second" [URL="#ltbio.biosignals.timeseries.Unit.Second",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"]; "Unit" -> "Second" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 's'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.Siemens(multiplier=Multiplier.u)#
Bases:
digraph inheritance53484534fd { 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"]; "Siemens" [URL="#ltbio.biosignals.timeseries.Unit.Siemens",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"]; "Unit" -> "Siemens" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'S'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.Unit(multiplier: Multiplier)#
Bases:
digraph inheritance4509365dc2 { 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"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; }abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- property multiplier: Multiplier#
- property prefix: str#
- property short: str#
- SHORT: str#
- abstract convert_to(unit: type) Callable[[numpy.array], numpy.array]#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.Unitless#
Bases:
digraph inheritance0a4781d4bb { 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"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Unitless" [URL="#ltbio.biosignals.timeseries.Unit.Unitless",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"]; "Unit" -> "Unitless" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'n.d.'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.
- class ltbio.biosignals.timeseries.Unit.Volt(multiplier=Multiplier.m)#
Bases:
digraph inheritance834a179135 { 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"]; "Unit" [URL="#ltbio.biosignals.timeseries.Unit.Unit",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" -> "Unit" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Volt" [URL="#ltbio.biosignals.timeseries.Unit.Volt",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"]; "Unit" -> "Volt" [arrowsize=0.5,style="setlinewidth(0.5)"]; }UnitHelper class that provides a standard way to create an ABC using inheritance.
- SHORT = 'V'#
- convert_to(unit)#
Subclasses should return a function that receives an array of samples in the ‘self’ unit and return a converted array in the unit specified.