gastropy.plot_volume_phase

gastropy.plot_volume_phase#

gastropy.plot_volume_phase(phase_per_vol, tr=None, cut_start=0, cut_end=0, ax=None)[source]#

Plot per-volume mean phase from fMRI-EGG coupling.

Parameters:
  • phase_per_vol (array_like) – Mean phase angle per fMRI volume (radians).

  • tr (float, optional) – Repetition time in seconds. If provided, x-axis shows time instead of volume index.

  • cut_start (int, optional) – Number of initial volumes to highlight as cut. Default is 0.

  • cut_end (int, optional) – Number of final volumes to highlight as cut. Default is 0.

  • ax (matplotlib.axes.Axes, optional) – Axes to plot on. If None, creates a new figure.

Returns:

  • fig (matplotlib.figure.Figure)

  • ax (matplotlib.axes.Axes)