systole.reports.nonlinear_table#
- systole.reports.nonlinear_table(rr: Optional[Union[List, ndarray]] = None, nonlinear_df: Optional[DataFrame] = None, input_type='rr_ms', backend: str = 'tabulate', width: Optional[int] = 600, height: Optional[int] = 300) Union[Column, str] [source]#
Format nonlinear domain results for nice rendering.
- Parameters
- rr
R-R interval time-series, peaks or peaks index vectors. The default expected vector is R-R intervals in milliseconds. Other data format can be provided by specifying the “input_type” (can be “rr_s”, “peaks” or “peaks_idx”).
- nonlinear_df
The time domain results obtained from:py:func:systole.hrv.nonlinear_domain.
- input_type
The type of input provided. Can be “peaks”, “peaks_idx”, “rr_ms” or “rr_s”. Defaults to “rr_ms”.
- bakend
Which backend to use. Can be “bokeh” or “tabulate”. Defaults to “tabulate”.
- width, height
The table width and height (only for “bokeh” backend).
- Returns
- table
The formatted nonlinear domain table, either as a string or as a Bokeh Columns.