hsltools.IBI¶
Module Contents¶
Functions¶
|
Returns the Root Mean Square of the Successive Differences (RMSSD) of the IBI signal. |
|
Returns an array containing the very low frequency, low frequency, and high frequency |
|
Returns the ratio of low frequency passbands to high frequency passbands of the IBI signal |
|
Returns all of the IBI features of the IBI signal in the form of a labeled data frame (rmssd, ibi_lf/hf). |
-
hsltools.IBI.rmssd(signal)¶ Returns the Root Mean Square of the Successive Differences (RMSSD) of the IBI signal.
- Parameters
signal (array-like) – Array containing numbers whose RMSSD is desired.
- Returns
Returns the RMSSD of the signal.
- Return type
ndarray
-
hsltools.IBI.ibi_passbands(signal)¶ Returns an array containing the very low frequency, low frequency, and high frequency passbands of the IBI signal (see eda.eda_passbands).
- Parameters
signal (array-like) – Array containing numbers whose frequency passbands are desired.
- Returns
Returns array containing frequency passbands [vlf_integral, lf_integral, hf_integral]
vlf_integral - very low frequency, 0.0033-0.04 Hz lf_integral - low frequency, 0.04-0.15 Hz hf_integral - high frequency, 0.15-0.4 Hz
- Return type
array-like
-
hsltools.IBI.ibi_lfhf(signal)¶ Returns the ratio of low frequency passbands to high frequency passbands of the IBI signal (see IBI_passbands).
- Parameters
signal (array-like) – Array containing numbers whose ratio between low and high frequency passbands is desired.
- Returns
Returns the ratio of low frequency passbands to high frequency passbands of the signal.
- Return type
float
-
hsltools.IBI.ibi_all_features(signal)¶ Returns all of the IBI features of the IBI signal in the form of a labeled data frame (rmssd, ibi_lf/hf).
- Parameters
signal (array-like) – Array containing numbers whose IBI features are desired.
- Returns
Returns a data frame of all the EDA features with the column headings [ibi_rmssd, ibi_lf/hf]
ibi_rmssd - see rmssd ibi_lf/hf - see ibi_lfhf
- Return type
DataFrame