ffrprep.analysis.plot_phase_consistency_masked¶
- ffrprep.analysis.plot_phase_consistency_masked(phasecon, xaxis, yaxis, numsweeps, alpha=0.01, pol_names=None, vmax=0.14, ylim=None, figsize=(12, 8), cmap='viridis')[source]¶
Plot phase consistency with significance masking.
- Parameters:
phasecon (dict) – Dictionary of phase consistency arrays
xaxis (ndarray) – Time axis in ms
yaxis (ndarray) – Frequency axis in Hz
numsweeps (int) – Number of sweeps used in the analysis
alpha (float) – Significance level (default: 0.01)
pol_names (list, optional) – Order of polarities to plot
vmax (float) – Maximum value for colormap
ylim (tuple, optional) – Frequency limits
figsize (tuple) – Figure size
cmap (str or matplotlib colormap, default "viridis") – Colormap used for the per-cell values. Below-threshold cells are coloured black via
set_under.
- Returns:
fig
- Return type: