Plot TFRs as two-dimensional time-frequency images. Parameters ---------- %(picks_good_data)s %(exclude_spectrum_plot)s %(tmin_tmax_psd)s %(fmin_fmax_tfr)s %(baseline_rescale)s How baseline is computed is determined by the ``mode`
(
self,
picks=None,
*,
exclude=(),
tmin=None,
tmax=None,
fmin=0.0,
fmax=np.inf,
baseline=None,
mode="mean",
dB=False,
combine=None,
layout=None, # TODO deprecate? not used in orig implementation either
yscale="auto",
vlim=(None, None),
cnorm=None,
cmap=None,
colorbar=True,
title=None, # don't deprecate this one; has (useful) option title="auto"
mask=None,
mask_style=None,
mask_cmap="Greys",
mask_alpha=0.1,
axes=None,
show=True,
verbose=None,
)
| 1921 | |
| 1922 | @verbose |
| 1923 | def plot( |
| 1924 | self, |
| 1925 | picks=None, |
| 1926 | *, |
| 1927 | exclude=(), |
| 1928 | tmin=None, |
| 1929 | tmax=None, |
| 1930 | fmin=0.0, |
| 1931 | fmax=np.inf, |
| 1932 | baseline=None, |
| 1933 | mode="mean", |
| 1934 | dB=False, |
| 1935 | combine=None, |
| 1936 | layout=None, # TODO deprecate? not used in orig implementation either |
| 1937 | yscale="auto", |
| 1938 | vlim=(None, None), |
| 1939 | cnorm=None, |
| 1940 | cmap=None, |
| 1941 | colorbar=True, |
| 1942 | title=None, # don't deprecate this one; has (useful) option title="auto" |
| 1943 | mask=None, |
| 1944 | mask_style=None, |
| 1945 | mask_cmap="Greys", |
| 1946 | mask_alpha=0.1, |
| 1947 | axes=None, |
| 1948 | show=True, |
| 1949 | verbose=None, |
| 1950 | ): |
| 1951 | """Plot TFRs as two-dimensional time-frequency images. |
| 1952 | |
| 1953 | Parameters |
| 1954 | ---------- |
| 1955 | %(picks_good_data)s |
| 1956 | %(exclude_spectrum_plot)s |
| 1957 | %(tmin_tmax_psd)s |
| 1958 | %(fmin_fmax_tfr)s |
| 1959 | %(baseline_rescale)s |
| 1960 | |
| 1961 | How baseline is computed is determined by the ``mode`` parameter. |
| 1962 | %(mode_tfr_plot)s |
| 1963 | %(dB_tfr_plot)s |
| 1964 | %(combine_tfr_plot)s |
| 1965 | |
| 1966 | .. versionchanged:: 1.3 |
| 1967 | Added support for ``callable``. |
| 1968 | %(layout_spectrum_plot_topo)s |
| 1969 | %(yscale_tfr_plot)s |
| 1970 | |
| 1971 | .. versionadded:: 0.14.0 |
| 1972 | %(vlim_tfr_plot)s |
| 1973 | %(cnorm)s |
| 1974 | |
| 1975 | .. versionadded:: 0.24 |
| 1976 | %(cmap_topomap)s |
| 1977 | %(colorbar)s |
| 1978 | %(title_tfr_plot)s |
| 1979 | %(mask_tfr_plot)s |
| 1980 |