pybic.BicAn.PlotBispec

BicAn.PlotBispec(*args, normb2=False, plot3d=False, squeezeAxes=True)[source]

Plots bispectrum or bicoherence spectrum.

Parameters:
  • *args (list) – Input Figure and Axes as [fig,ax]. Default behavior creates new figure and axes with subplots().

  • normb2 (bool) – Normalize colorbar limits to [0,1].

  • plot3d (bool) – Plot in 3D with plot_surface() (default behavior uses pcolormesh()).

  • squeezeAxes (bool) – Shrink y-axis to eliminate white space in plot.

Note

The output of PlotBispec() depends on the PlotType attribute! For example, PlotType = 'bicoh' provides the bicoherence spectrum, while PlotType = 'angle' plots the biphase spectrum.