gastropy.neuro.fmri.phase_per_volume

gastropy.neuro.fmri.phase_per_volume#

gastropy.neuro.fmri.phase_per_volume(complex_signal, windows)[source]#

Extract mean phase angle for each fMRI volume.

Thin wrapper around gastropy.signal.mean_phase_per_window with fMRI-specific naming.

Parameters:
  • complex_signal (array_like) – Complex analytic signal (from Hilbert transform).

  • windows (list of tuple) – Volume windows from create_volume_windows.

Returns:

phases – Phase angle (radians) per volume.

Return type:

np.ndarray

See also

gastropy.signal.mean_phase_per_window

Generic windowed phase.