gastropy.plot_cycle_histogram#
- gastropy.plot_cycle_histogram(durations, normo_range=(15.0, 30.0), ax=None)[source]#
Plot histogram of gastric cycle durations.
- Parameters:
durations (array_like) – Cycle durations in seconds.
normo_range (tuple of float, optional) – (min, max) seconds for the normogastric range. Default is (15.0, 30.0) corresponding to 2-4 cpm.
ax (matplotlib.axes.Axes, optional) – Axes to plot on. If None, creates a new figure.
- Returns:
fig (matplotlib.figure.Figure)
ax (matplotlib.axes.Axes)