pydynpeak.vis

pydynpeak.vis.plot_detection_graph(dataframelh, dataframeipi, detected_peaks, **params)
pydynpeak.vis.plot_lh(dataframe, index=None, header=None, **props)

Displays the series in dataframe at index.

Parameters
  • dataframe (pandas.DataFrame) – Pandas DataFrame that contains data to visualize.

  • index (int, optional) – None or a value between 1 and the number of the series in dataframe (inclusive). If None all series in dataframe are displayed; otherwise displays the series at index.

  • header (str, optional) – text to display as header for the graph. If not set, defaults to name of the selected series.

Returns

graph that displays the series in dataframe at index or all series if index is None.

Return type

FigureWidget

pydynpeak.vis.view_all(dataframe)

Displays all rows in dataframe.

Parameters

dataframe (pandas.DataFrame) – Pandas DataFrame that contains data to visualize.

Returns

table that displays all rows in dataframe.

Return type

FigureWidget

pydynpeak.vis.view_head(dataframe, n=10)

Displays first n rows of the dataframe.

Parameters
  • dataframe (pandas.DataFrame) – Pandas DataFrame that contains data to visualize.

  • n (int, default 10) – number of rows to be shown.

Returns

table that displays first n rows of dataframe.

Return type

FigureWidget

pydynpeak.vis.view_sampling_times(dataframe)

Displays index values of dataframe.

Parameters

dataframe (pandas.DataFrame) – Pandas DataFrame that contains data to visualize.

Returns

table that displays index values of dataframe.

Return type

FigureWidget

pydynpeak.vis.view_tail(dataframe, n=10)

Displays last n rows of the dataframe.

Parameters
  • dataframe (pandas.DataFrame) – Pandas DataFrame that contains data to visualize.

  • n (int, default 10) – number of rows to be shown.

Returns

table that displays last n rows of dataframe.

Return type

FigureWidget